get the coordinates of polyline

394
2
Jump to solution
07-20-2018 08:25 AM
MRReddy
Occasional Contributor

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

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

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 

View solution in original post

2 Replies
ReneRubalcava
Frequent Contributor

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 

View solution in original post

MRReddy
Occasional Contributor

i'm particularly looking for selecting polylines based on color and calculating centerpoint

0 Kudos