Select to view content in your preferred language

Why curves get converted to line segments in API?

07-06-2020 06:52 PM
New Contributor III


I'm working with the Python API wherein I update a polygon hosted feature layer. I get the data from a local file geodatabase and iterate the featureclass inside that geodatabase. I'm using the SpatialDataframe module and use from_featureclass() method to do this. 

However, when I try to edit the features (I truncates first the hosted layer) by passing the array of features, all curves get converted to line segments? Is there a way on how I can preserve the curves of my features? Upon checking the coordinates, both were projected in web mercator. Thanks.

This is my features as seen on my desktop.

This is the result when I'm done with editing.


Thank you!

Tags (2)
0 Kudos
1 Reply
MVP Esteemed Contributor

FAQ: Are curves a supported geometry type for hosted feature layers in ArcGIS Online and the REST AP... 

Good chance that the SDF or the SEDF doesn't support them. Densification seems to be the default outside of the file geodatabase

... sort of retired...
0 Kudos