on map i have different color polylines, how can i write a code to get a center-point of red lines in particular.
1. writing condition for getting red line geometries
2.getting centerpoint from geometries
Got stuck here
Any help Appreciated
Thanks
This thread had a similar issue with a solution that might prove useful.
Instead of needing to union the lines, you can use the geometry engine to get the center of a single line.
How to Calculate a centerpoint between different lines
i'm particularly looking for selecting polylines based on color and calculating centerpoint
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.