[GraphHopper] On-the-fly parameters
Peter
graphhopper at gmx.de
Mon Apr 6 17:35:08 UTC 2015
Hi,
> Is it possible to pass some parameter for a route request, for example
> weight of vehicle on the fly. Compare this parameter with a column and
> suggest route accordingly? Because I want to implement a system for
> trucks. They should not use every road.
That is already possible. See the weighting documentation where the
createWeigthing method takes a Map filled with all URL parameters (when
using graphhopper web module) or just use ghrequest.hints
> I read some mails about disabling CH. Is this a disadvantage for performance?
Yes, and RAM usage. But for several use cases more than ok.
Regards,
Peter
More information about the GraphHopper
mailing list