Select to view content in your preferred language

CurveRings in Polygon missing geodesic property

297
2
03-10-2025 02:51 AM
ConstantinG
New Contributor

Hello, 

I've been trying to use the new curveRings property exposed in the Polygon class. Specifically, I've been playing with the circular arcs, the ones defined by the "a" property. This curve object is essentially a "pizza slice" of a circle, where you define an end point, and a center point.

In normal esri circles, we are allowed to set the geodesic property, to stop circles from looking oval. However, that is not possible in the "a" style of curve objects. Can we have that option added? 

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

Version 4.32 does not fully support curves. While we can read true curves, editing them is not yet possible. It seems like you're asking if there's a way to prevent circles from appearing as ovals. Unfortunately, this isn't supported by the REST API. The appearance of your circles will depend on the map projection used.

If you would like to share more about your intent then we may be able to give a better suggestion.

0 Kudos
ConstantinG
New Contributor

Hello, 

I'm trying to create a feature layer that displays a circle, or a slice of a circle ( an arc) for each feature. The arc angle and radius are data driven. I tried using a SimpleRenderer and UniqueValueRenderer, together with various 2D symbols ( SimpleFillSymbol and similar). I am trying to build the polygon using the Polygon with curves instructions - curveRings property, but had some issues with the geodesic part. I ended up manually calculating the circle and using rings

With all that being said, I am planning to give CIMSymbol a try, as those seem to have a lot of supported features. 

0 Kudos