Skip to main content
Question

How to edit writer to write to FGDB instead of SHP

  • December 18, 2023
  • 1 reply
  • 16 views

boomer87
Contributor
Forum|alt.badge.img+5

Hi all,

I've created a series of FME scripts that translate geometries in a source DWG file into ESRI consumable SHPs. However, now that I want to change the Writer source to write to the FGDB I created, the scripts won't run properly and say this.

image2imageIs it a matter of adjusting the attributes viewable in the end FC in the FGDB? I was able to set it to manual/automatic with the SHP writer, and everything translated through with no errors.

In my initial transformation from DWG to SHP, the SHP writer geometry enabled the shapefile_first_feature option and dimension from first feature.

image3In the FGDB writer option, I don't see the same option, rather selecting a sepcific type of geometry only (polyline, polygon, point, etc)

image4Would this be where it is going wrong in teh sense that the shp writer enabled for the merging of line/arc/polyline geometries?

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+50

ESRI formats are not able to handle multiple types of geometry per feature type, which is why e.g. the FGDB writer forces you to pick a geometry type. The quick solution is to have one feature type for lines and one for areas.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings