Hi @tsurveyor,
When you are writing the data to shapefile, are you handling both 2D and 3D geometry types at the same time? If you are wanting to convert the solids to 2D, I think you'll want to use a 2DForcer and/or GeometryCoercer to coerce the solids to 2D (lines?).
The Shapefile writer has a parameter "Output Dimension" that defines the dimension of the features which is by default set to "Dimension From First Feature" so if you are handling 2D data at the same time, I suspect the 3D solids are getting rejected because of this parameter. Perhaps if you have multiple geometries this is parameter is affecting writing out the 3D data. Regardless, if you are wanting to have the solids represented in 2D, you'll need to force/coerce the 3D data into 2D prior to write.
Would be good to see the workspace too, if you are able to share it here. If not, please submit a report via report a problem.
As for the igds_type and fme_geometry not matching, what version of FME are you using? If you are using the latest FME 2019.1, and this is occurring, we'll want to look into this further. If you can share a sample DGN file of this happening that would be great (either on the forum or via the report a problem page).
- Andrea
Hi @tsurveyor,
When you are writing the data to shapefile, are you handling both 2D and 3D geometry types at the same time? If you are wanting to convert the solids to 2D, I think you'll want to use a 2DForcer and/or GeometryCoercer to coerce the solids to 2D (lines?).
The Shapefile writer has a parameter "Output Dimension" that defines the dimension of the features which is by default set to "Dimension From First Feature" so if you are handling 2D data at the same time, I suspect the 3D solids are getting rejected because of this parameter. Perhaps if you have multiple geometries this is parameter is affecting writing out the 3D data. Regardless, if you are wanting to have the solids represented in 2D, you'll need to force/coerce the 3D data into 2D prior to write.
Would be good to see the workspace too, if you are able to share it here. If not, please submit a report via report a problem.
As for the igds_type and fme_geometry not matching, what version of FME are you using? If you are using the latest FME 2019.1, and this is occurring, we'll want to look into this further. If you can share a sample DGN file of this happening that would be great (either on the forum or via the report a problem page).
- Andrea
Thanks Andrea. I can't post the workbench here but will send the files. The transformers I tried are 3DForcer, 2DForcer, GeometryValidator, SurfaceNormalExtractor, GeommetryCoercer.