Skip to main content
Question

Getting Errror cannot be converted to esriGeometryPolygon

  • July 1, 2022
  • 1 reply
  • 325 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

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.


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