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

Extract returns wrong line in case of narrow angles in line #32

Open
sookoll opened this issue Mar 22, 2016 · 1 comment
Open

Extract returns wrong line in case of narrow angles in line #32

sookoll opened this issue Mar 22, 2016 · 1 comment

Comments

@sookoll
Copy link

sookoll commented Mar 22, 2016

I had situation where I need to find line segment from start to certain point along line (with snapping along line). It works fine with wide angles but with smaller than 90 degrees it will "jump" to previous line segment. I got fraction from locateOnLine.

Turf for example, handles it correctly. Also input as starting and ending point is better approach than blurry fraction.

@mdartic
Copy link
Member

mdartic commented Aug 25, 2016

Hello @sookoll

Do you have a jsfiddle to test this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants