Replies: 1 comment
-
|
There is already a change in master that allows getting any of the nodes in a way as point. That's not exactly what you are asking for, but in most cases I have seen the only issue is really to get any point on the line as a "representative" of that line, no matter which point it is exactly. So this might already solve your problem. A LineInterpolatePoint function might still be useful though. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes I simplify lines to just points (for minimal QA/debug info) or add points as well as the lines (for labels)
Right now I use the
:centorid()for this.However, when the lines are non-straight, those points don't end up on the line.
It would be nice if there where a pendant to
:centorid()for lines or an along (Turf) helper to set it 50% of the way.Beta Was this translation helpful? Give feedback.
All reactions