Skip to main content

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)

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.


@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.


Reply