[GraphHopper] best aproach for multiples ways routes
Laura Barroso
laura at entumovil.cu
Fri Jan 23 12:48:56 UTC 2015
Hello everyone:
I being searching about the possibility of put several ways of routes on
my app so the user can choose what type of route he wants at certain point
when running the app.
Yesterday I saw a few things about it:
The first approach was to put osmreader.acceptWay with all the types I
want and then play with GraphStorage...however there were a few comments
about the performance, because it is not as quickly as other options on
generating the route.
The second approach I came out with was generating the routes
individually. Yes: maybe this is not a clean solution, but prevents me
from all the performance issues...the only bad thing is that I have to
load the route every time that the user wants to change the option and of
course there is more disk consumption because of the files.
So my question is, what is the best approach for multiples types of
routes(foot, car, bike)? Are there any example available?
More information about the GraphHopper
mailing list