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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.