How to Calculate a centerpoint between different lines

554
1
Jump to solution
07-10-2018 07:19 AM
MRReddy
Occasional Contributor

How to Calculate a centerpoint between different lines as in image,

lines can be multiple and uneven structures

Any help greatly appreciated

Thank you

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

This might help.

geom-engine-center-multi-lines 

You can get the extent of each line, use the GeometryEngine to union the lines and then get the center of that unioned results extent.

View solution in original post

1 Reply
ReneRubalcava
Frequent Contributor

This might help.

geom-engine-center-multi-lines 

You can get the extent of each line, use the GeometryEngine to union the lines and then get the center of that unioned results extent.