Hey all,
I often receive multiple AutoCAD drawings which I need to convert to ArcGIS feature classes. I configured my reader as 'Single Merged Feature Type' to read all the features in one input port. At the end of my workflow I want to save the features by dividing them over the feature classes of the unique combination of autocad file name (fme_basename) and GIS geometry type. I tried to use the geometryfilter to filter on point, line & polygon features followed by a string concatenator to then create a new attribute that contains the combination of fme_basename and geometry (point, line, polygon). I then tried to use a fanout by setting the feature class or table name in the writer to the created attribute and ticked the dynamic schema option and set the fme_feature_type as schema definition name. The result is however not completely what I wanted because I end up with for example different feature classes for arcs and lines while in arcgis these are both considered lines.
Example:
Consider I have 3 AutoCAD files (A, B, C)
I would like to end up with maximally the following feature classes in my esri geodatabase:
- A_point
- A_lines
- A_polygons
- B_point
- B_lines
- B_polygons
- C_point
- C_lines
- C_polygons
If someone could help me I would be very thankfull :)
Thanks,
Valentin