You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use this on a GPX track, substituting X & Y with lat & lng co-ordinates. I used a tolerance of 0.001 in this example.
This is a small section that's been "optimized":
Original:
For some reason, when it travels in a certain direction, it ends up being a straight line and unmodified in the other direction. The GPX went from 4699 points to 2778 points, but if tolerance value is increased, all it does is have more straight lines, and other areas still appear untouched.
My guess is that the code assumes points are "travelling" from left to right, like a graph, and not any random direction?
The text was updated successfully, but these errors were encountered:
Hi!
I tried to use this on a GPX track, substituting X & Y with lat & lng co-ordinates. I used a tolerance of 0.001 in this example.
This is a small section that's been "optimized":
Original:
For some reason, when it travels in a certain direction, it ends up being a straight line and unmodified in the other direction. The GPX went from 4699 points to 2778 points, but if tolerance value is increased, all it does is have more straight lines, and other areas still appear untouched.
My guess is that the code assumes points are "travelling" from left to right, like a graph, and not any random direction?
The text was updated successfully, but these errors were encountered: