Re: Building polygon feature and transfer attributes

Geospatial Desktop Products

This is where you can find and contribute to discussions, ideas, and other information about Bentley Geospatial Desktop products.

Building polygon feature and transfer attributes

  • rated by 0 members
  • This post has 10 Replies |
  • 1 Follower
  • Jeff,

    I overlayed two polygon layer (with intersection) and polygon layer with point feature. Transfer attributes works in both ways. Yesterday I did something wrong..

    I just want to check something. When I overlay two layers and "join&copy" (or transfer) attributes from both feature, BMap create in new feature new name of Bussines Properties (attribute name). Of course that this way of giving names is nothing like I allreay defined in my schema. I solve this in way that I export new features into .shp file, delete all new features in MapModel and import back .shp file. When Importing I choose feature name from my schema and choose attribute name from my schema for every attribute name in .shp file. In that way I import all of my new fetures into my schema.

    Promote command do not give me the way how to define attribute names between new polygon feature and schema feature. I assume because of that Promote command give me empty attribute values.

    Do you know different technique for that issue?

     Regards,

    Mladen 

  • Mladen,

    Using the described Spatial Overlay technique, you should be able to perform both of the following:

    • Assign attributes of a single centroid to a surrounding polygon.
    • Assign attributes of a polygon to an enclosed centroid (or multiple point features such as customer locations)..

    To assign attributes of centroids to new polygon instances, choose to "Keep" the polygon feature class which defines the geometry type used for the created spatial overlay. To assign attributes of polygon feature instances to one or more point feature instances, choose to "Keep" the point feature class.

    Regards,

    Jeff Bielefeld [Bentley]

  • Next thing on higher level of Topology analysis.

    Situation: I have polygons with attributes (they contain values) and newly created centroids (Create Centroid command). There are more than one centroid in one polygon. When I do Overlay, Keep: centroids and Option: Inside, new layer is created with new centroids but attributes are not copied.  Same thing happens when I overlay and intersect two polygon layers.

    As I think, in different situation (as Jeff explained before) when do overlay with same options but I want to keep polygons, overlay copy's all attributes from centroid to polygon. Vice versa does not work.

    Do you have solution for this problem? or different approach?

    tnx in advance

    Mladen

  • Jeff, your approach works... but only if I have simple XFM feature. Without external database. Well, maybe not but the problem exist when I Promote my new polygon XFM feature with correct attributes into external database (Access), all of my attributes values are empty.

    I think that problem is in Promote command or my schema is not well defined. How do you solve problem when you want to Promote simple XFM feature into external database (attributes only, of course) and keep your attribute values?

     thank Jeff and you all... I'm still trying different approaches :)) Jeff's approach is very simple and efficent.

    Mladen

  • Thank you all. You gave me many approach how to solve a problem. But I need to find one solution which work. Now I'm using external database (Access) and simple XFM schema (database defined in schema).

    Approach with Associate Linkage I understood. When I create new polygons (Shapes) and Associate Linkage from centroids to new Shapes, in this point everything is ok. Now I must "push" (transfer) attributes from centroids to shapes with regard to linkage(centroid to shape). How to do that?

    Update: I've tried to create new Shapes and Associate Linkage from centroids to shapes. In Analyze window I see attribute of Shape same as centroid but when I change Level of Shape to level definied in XFM schema (something like Promote into feature) same attribute value is erased or empty. How to promote feature without loosing attribute value? Maybe value from XFM fragment can't be written to external database?...

    help appreciate... tnx in advance.

    Mladen

  • Mladen,

    Another approach would be to use the "Overlay..." functionality available in the "Map Manager" application to perform a spatial overlay of your new polygon features with your centroid (point) features. When performing the overlay between your polygons and centroids, you can choose to keep the polygon geometry, select "Inside" option and the XFM business properties of your centroids will be copied to new polygon feature instances created during the overlay process.

    Regards,

    Jeff Bielefeld [Bentley]

  • Hi,

    In both solutions propose by Jerry, you should be connected to the Access database.

    After shapes are created by Create Shape tool, you can use Associate Linkages tool from Topology Creation toolbar by using the Centroid -> Shape; that mode will copies the database linkages from centroid elements to shape elements.

    You can also define a join, but for that you need to join the properties of selected features through a common attribute.

    A third solution is to add database properties to defined features in your schema. Again, in that case, you should still connect to external database.

    Finally, fourth and more heretic solution is to edit properties column in Data Browser by insert values by key-in or by copy/paste manually from database grid. This functionality still in progress and it will be improved in nearly future regarding ideas and issues revealed by customer like you. We are appreciating that report and feedback we found though discussion in the forum.

    Thank you and Best Regards,

    Sébastien Lefrançois
    Associate Software Quality Analyst - Geospatial Products
    Bentley Systems Inc.

  • Have you tried doing the feature joins in SelectSeries1 with this data set ???

     HTH

    Jerry

  • ... only if I have external database, isn't it?. I'll try with Access...

     Mladen

     

  • After you create the shapes, can you use the Topology Creation tool to associate linakges ?

     HTH

    Jerry

  • Hi all,

     I have typical situation where linestrings are boundary and cells inside are centroids (with attributes). Now I wanna build polygon features with "Create Shapes" and as final result I want to transfer my centroid attributes into new polygon feature. I allready define in Geospatial Administrator XFM polygon feature with same attributes (e.g. Properties) as centroids. When I start Create Shape command, Map will build polygon feature. With Data browser I can Promote new polygon into new feature but attributes (value of Properties fields) are empty.

    My qustion is how You solve this issue? I think that my approach to this problem is wrong.

    Same issue is solved in ArcGIS with Transfer attributes or with Spatial Join but in Map I really don't know how to solve this.

    I'll appreciate any help and thanks in advance.

    Mladen

    P.S. I'm running latest version Bentley Map v8i (SS1), not connected to external database (simply XFM feature).

Page 1 of 1 (11 items)