1

Is there a way to get more alternative routes in Graphhopper androd, I seem to be getting 2/3 routes at most in a calculation.I have a map containing information about CCTV camera locations, and I am trying to find the route that has maximum number of cameras.

I cannot seem to find any properties to change to get more alternative routes.

Thanks

user2070333
  • 335
  • 2
  • 11

1 Answers1

1

Parameters.AltRoute.MAX_PATH should increase this count but low quality paths are excluded. To force lower quality paths you need to adjust some other parameters, see also the discussion there for more information and keep in mind that those parameters are likely to change in future versions.

Karussell
  • 17,085
  • 16
  • 97
  • 197