Skip to main content
Question

Writing fme_aggregate as polyline to Arcgis online

  • December 17, 2025
  • 2 replies
  • 36 views

sveinj
Contributor
Forum|alt.badge.img+2

When using the new ESRI ArcGis Feature Service I get this error when trying to write fme_aggregate geometry to AGOL: Python Exception <FMEException>: FMEException: 1: <class 'fmeobjects.FMEAggregate'> cannot be converted to esriGeometryPolyline

With the old writer I did not have this problem. Is there some solution for this? Deaggregating is not the solution i neede. The multi part geometry is only contaning lines. I have tried GeometryCoercer, but without effect. 

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+64

Be aware that there are a lot of possible combinations of aggregates and ESRI only accepts homogenous single level aggregates.

See https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/

I suspect this is the issue. An aggregate of multiple geometry types (points and lines) or a aggregate of multiple levels (aggregate in an aggregate).


sveinj
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • December 18, 2025

I use GeometryFilter before Aggregator so the aggregate is only containing lines.