Replace curve rings by vertices

3088
12
Jump to solution
08-31-2021 06:57 AM
MaximeDemers
Frequent Contributor

Hi,

 

Is there a way to replace curve rings in polygon geometries with vertices along the curve using arcpy?

I need to output a specific json of a featureSet but curveRings are not allowed.

Is there a mathematical function that can be used?

 

Thank you for the info!

Maxime Demers

Tags (3)
0 Kudos
12 Replies
David_Brooks
MVP Regular Contributor

@MaximeDemers , ah i see your problem. No this will densify the whole lot.

Next solution: Shapefiles don't support true curves. If you export to shapefile, any curves will be converted into straight line segments, and you can then convert back into JSON.

Hopefully that will set you on the right track 👍


David
..Maps with no limits..
0 Kudos
MaximeDemers
Frequent Contributor

@David_Brooks yes that could be a solution, but converting from geodatabase to shapefile brings a lot of side effects that I am trying to get around.

0 Kudos
David_Brooks
MVP Regular Contributor

What about exporting to a Geopackage instead? All the functionality of a FGDB except it doesn't support true curves, which are replaced by vertices on export.


David
..Maps with no limits..
0 Kudos