Skip to main content
Question

Getting Errror cannot be converted to esriGeometryPolygon

  • July 1, 2022
  • 1 reply
  • 376 views

Forum|alt.badge.img+5

I m trying to get the data from KMZ and push it to the ArcGIS portal everything is fine but getting errors in the writer

<class 'FMEobjects.FMEAggregate'> cannot be converted to esriGeometryPolygon

anyone knows where I'm wrong

1 reply

rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • 359 replies
  • July 4, 2022

Hi @asadamjad​ 

The reason that you are experiencing the errors is due to the fact that ArcGIS Portal Writer does not handle Aggregates geometry, as the FeatureService needs to be only a single geometry feature see documentation here

If you look under Geometry Type Aggregate.

To be clear, FME can only support Homogeneous aggregates so any input features with fme_aggregate  can’t have fme_collection as a fme_type.

WORKAROUND:

The workaround is to convert those geometries into Homogenous aggregate using Deaggregator and Aggregator (in succession). See the sample workspace attached.