The PointList of the best path only contains 2 snapped points without point(0.001,0.001)
I would like to know that how I could set the graphhopper to make sure to get all the nodes on the path without using the lower api.
There is a per request setting way_point_max_distance and an import setting: routing.way_point_max_distance that can be set to 0 if you want to disable it (it is 1 per default which is 1 meter and the max deviation used for the ramer-douglas-peucker simplification)
and still, the pointlist of GHResponse which hopper.route returned to me only contained 2 points.
Do I also have to set the GHResponse?
and I forgot to mention before that I’m using the graphhopper 7.0
That’s what I’m thinking of earlier. I cleaned my cache and set both parameters in config and request to -1, but it still return the 2 snapped point of starting point and ending point only.
I just had a deeper look and this quick hack cannot work as the maximum distance is always normalized (RamerDouglasPeucker → setMaxDistance → calcNormalizedDist) and so the value is always positive and there is no inbuilt way to completely disable the path simplification except if you remove the code.