Skip to main content
Solved

Error on writing Aggregator results to Writer


Forum|alt.badge.img

The Netherlands contain 12 regions (provinces) from which I clipped the bigger urban areas, so to have the remaining rural areas and smaller villages. After the clipping I had to group the areas into 12 provinces again by means of an Aggregator transformer. The weird thing is that I can see all the 12 provinces in the Data inspector, but whenever I try to write them to output, e.g. a shapefile or Geodatabase I get errors .

Shapefile errors:

Dropping heterogeneous aggregate feature for the ESRISHAPE Writer, due to feature type allowed geometries restriction

The result is only 8 provinces. In the Data Inspector I can see that missing 4 differ from the other 8 in the fme_type which is fme_collection, where the other 8 have fme_multiarea:

FileGDB Writer errors:

Failed to write Geometry to feature class 'FeatureClass1' with geometry type 'esriGeometryPolygon'. Dropping containing feature

The result is no feature at all

Any hints or solutions are very welcome. I am so close!

Pim Verver

@redgeographics, Hans, alleen als je tijd en zin hebt, kan ik je de template sturen (= 19 MB)

Best answer by ebygomm

fme_collection indicates that your clipping has resulted in some areas being defined by an area and a line geometry. You probably need to remove the line part of the collection to be able to write successfully.

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • Best Answer
  • June 7, 2016

fme_collection indicates that your clipping has resulted in some areas being defined by an area and a line geometry. You probably need to remove the line part of the collection to be able to write successfully.


Forum|alt.badge.img
  • Author
  • June 10, 2016

@egomm, thanx. Your suggestion led to using a DonutHoleExtractor, which filtered the Donutholes from the input shapefile and I used a Deaggregator before aggregating it all back. That worked somehow. Still have to find out exactly what parameter or what transformer did the trick.


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