perliedman/geojson-path-finder

Do not "simplify" returned route

HarelM opened this issue · 2 comments

Thanks for this awesome tool!
I'm looking into integrating it in order to allow small offline routing using vector data that is on the device.
Beside the issue I opened recently (#86), the following is also problematic in terms of results:
Green is that start point, red is the end point, and the blue line is the routing.
As can be seen the route itself is not using the original data points but probably the post process points (if I need to guess).
image
An expected results would be to get all the points on the original data set.

Try to lower the tolerance option

Yup, Thanks! I was planning on doing so. It does solve the problem.
I guess my main concern is how to create a route between any two points - i.e. #86