Skip to main content
Question

How to resolve failed to write error for writing aggregates to line feature class in Esri Geodatabase (File Geodb Open API) writer

  • August 3, 2022
  • 1 reply
  • 131 views

Forum|alt.badge.img+1

Hello, I've got an FME workspace which uses the LineBuilder then aggregates the lines using the Aggregator which grouping the line features into aggregates grouping by an attribute. However, I'm getting the following error message:

FileGDB Writer: Failed to write Geometry to feature class 'BUS_ROUTE' with geometry type 'esriGeometryPolyline'. Dropping containing feature.

I've tried using GeometryCoercer after the Aggregator but this doesn't work as the GeometryCoercer cannot coerce IFMEAggregate features into lines. Any help would be much appreciated, thank you.

1 reply

Forum|alt.badge.img+2

@Daniel Tait​ This should work. If you're using the File Geodb (API) writer then geodb_polyline should be set as the Geometry on the Writer Feature Type.

Make sure you are either overwriting the old File Geodb or the Feature type Table Handling = Drop & Create so you're not writing to an old feature class definition


Reply


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