It would be helpful if ESRI could add a hasCurve geometry property to Arcade.
When using Calculation Attribute Rules to update the shape column of features, it would be helpful if we could check if polylines or polygons have true curves or not.
Since curves come into the active language pre-densified AND that conversion is sometimes done server side, it is difficult to provide this capability. This is a valid request for when curve support comes to the language with the caveat that some draw cases leveraging server-side caches may be pre-densified.
Thanks! In the meantime, I wonder if this might be a valid workaround:
Compare $feature.shape_length, which is the true length, including true curves...
Length($feature), which is the pre-densified length, where true curves have been converted to straight segments.
If there is a difference between those two values, then that tells us that the line has curves.
What do you think? Do you see any issues with that approach?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.