Problem promoting multiple features

Hi all,

I'm trying to bring in data from an AutoCad  file. I set up my project in the GSA and now I've cleaned up some of the linework and created shapes. If I promote a shape, I can post it and all is well.

Since there are a lot of elements to promote, post, and attribute, I'd like to select all of my buildings and promote them at once. When I do this I get a message like Converted 213 element(s) into 1 feature(s) and then when I post I get an error that the geometry is invalid. It appears that all of these elements are really being promoted to a single, multipolygon feature.

About my feature setup: I have a structure_existing_area_collection, and I'm trying to promote the to the structure_existing_area subfeature. I have "Created associative regions" disabled under Symbology -> Fill Type.

Any idea what I might be doing wrong here? I thought I'd tested promoted multiple elements before without issue. FWIW, I just upgraded to the latest Map.

thanks,
-Rob

Parents
  • Hi Rob,

    For now, only non-collection feature can be promote to a multiple single feature in the same time. As you reported, for a collection feature, it will promote all selected/fenced elements to a single collection feature with multiple sub-features.

    For now, what I can suggest to you, if it is a possibility in your project to make that change, is to change feature type from collection-polygon feature to polygon feature. Then, we will be able to promote all these in one click.

    Sorry for that weak option, I will try to find you a better solution by consulting colleagues.

    I hope that will help you.

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

     


    This is a test

Reply
  • Hi Rob,

    For now, only non-collection feature can be promote to a multiple single feature in the same time. As you reported, for a collection feature, it will promote all selected/fenced elements to a single collection feature with multiple sub-features.

    For now, what I can suggest to you, if it is a possibility in your project to make that change, is to change feature type from collection-polygon feature to polygon feature. Then, we will be able to promote all these in one click.

    Sorry for that weak option, I will try to find you a better solution by consulting colleagues.

    I hope that will help you.

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

     


    This is a test

Children
  • Thanks Sébastien,

    Is there a way to do that by updating the features in the GSA or do I need to create new features? I tried changing the type for my collection feature to polygon- so now I have a polygon feature with a polygon subfeaure. I updated the placement commands and the command manager after the change. I can now promote multiple features correctly and view/edit their individual attributes, but I can't post them to Oracle- no errors, just 'Post Complete (0 features)'. Also, the polygons don't get the feature symbology.

    These are Oracle Spatial features, so the polygon-collection with a subfeature is automatic when I register features from the database.

    I guess there are three possible paths forward:

    - register polygon features from Oracle without creating collections (I don't see an option to allow this)
    - change the collection features to normal polygons after registration (unless I've got something wrong this doesn't seem to work, as above)
    - manually create polygon features without subfeatures and register them as Oracle Spatial features (not aware of a way to do this)

    If you have any thoughts or advice, I'd definitely appreciate it.

    -Rob

  • Rob,

    To convert the shapes you've created into individual structure_existing_area_collection feature instances, you should be able to use the following workflow:

    1. Use your originally defined schema that contains the structure_existing_area_collection feature class definition, including the structure_existing_area subfeature.
    2. Process your linework and create your shape elements on the structure_existing_area level which matches the level defined for your structure_existing_area subfeature. This allows the Bentley Map DFS (Dynamic Feature Scoring) functionality to infer the feature class of your shapes based upon their level.
    3. Using the fence option, perform a "Tools > Geospatial > Utilities > Reset Feature" command to convert the inferred feature instances to native feature instances with any defined business properties. In your case, the result should be individual structure_existing_area_collection feature instances.

    After performing the FEATURE RESET command, you should be able to edit and post your structure_existing_area_collection feature instances into Oracle Spatial as desired. If this process does not produce the desired result, please let me know.

    Regards,

    Jeff Bielefeld [Bentley]

    Regards,

    Jeff Bielefeld [Bentley]



  • Followup to this: We've been able to promote and post some elements but are seeing some converted into shapes and associative regions, which won't post and can't be attributed.

    I've been trying to create a consistent reproduction of the problem but haven't had much luck. I can fence some buildings, use Reset Feature, use ctrl-z if they aren't converted to real shape features, then Reset Features again without re-placing the fence, and it will work properly (sometimes).

     Any thoughts? I'm guessing that something I do is affecting the scoring mechanism, but I'm at a loss to explain it.

     See attached screenshots.

  • followup #2: For lines/linestrings it appears the XFM promote methods for each line feature are the way to go. I haven't had any luck using Reset Feature to turn lines into features. Is that correct?