Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TurfMisc#nearestPointOnLine does not report distance along the route #1165

Open
LukasPaczos opened this issue Aug 11, 2020 · 0 comments
Open

TurfMisc#nearestPointOnLine does not report distance along the route #1165

LukasPaczos opened this issue Aug 11, 2020 · 0 comments
Labels

Comments

@LukasPaczos
Copy link
Member

@LukasPaczos LukasPaczos commented Aug 11, 2020

Capturing from https://turfjs.org/docs/#nearestPointOnLine, the Feature returned from TurfMisc#nearestPointOnLine should return a location number property that describes the distance along the route of the computed intersection point, next to already available dist number property which describes the distance to the original point. Also would be great to explain those properties in the Javadoc and add public constant instead of relying on raw strings for dist and location.

/cc @cafesilencio

@langsmith langsmith added the Turf label Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants