How to find vertex of LineString nearest to a coordinate? #711
Unanswered
marcellangmaier
asked this question in
Q&A
Replies: 1 comment
-
Perhaps you can calculate the distance between a given point and each vertex on the LineString, and then find the smallest one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If I have a LineString with several vertices, how can I find the vertex nearest to a given coordinate?
The DistanceOp NearestPoints method returns calculated coordinates of points on the line but not only vertices.
Beta Was this translation helpful? Give feedback.
All reactions