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

line_string#simplify only returns two points #43

Open
mklnz opened this issue Jun 2, 2016 · 1 comment
Open

line_string#simplify only returns two points #43

mklnz opened this issue Jun 2, 2016 · 1 comment

Comments

@mklnz
Copy link

mklnz commented Jun 2, 2016

I haven't dug down deep in the code yet but no matter what epsilon I choose the simplify method returns a line_string object with only two points starting from about 2000 points.

Are there certain limitations on line_string#simplify?

This is the gpx file I'm testing:
https://gist.github.com/mklnz/0415d8bcf20c0cbf8456c97d18d929dc

@nofxx
Copy link
Owner

nofxx commented Jun 3, 2016

Hello @mklnz !
Gonna check it, also, have in mind this is a very old library, has it uses but isn't receiving much love.
There's something more robust, and also more maintained: https://github.com/rgeo/rgeo

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