[GraphHopper] Add duration/weight to a node
Laurent Bendel
asianrider at gmail.com
Tue Jan 6 17:46:06 UTC 2015
I’m still exploring how the routing algorithm works. Would it be possible to take in account certain nodes (not ways) in the duration calculations ? e.g., a lift gate takes time to raise and close, a speed bump forces you to slow down, a border post can take a long time to cross, traffic lights take time, etc..
Is it something that the general algorithm can take in account ? and if so, can somebody hint to how it works and where to look in the code ?
Laurent
PS: background: a shortcut through a country can take longer than a detour that stays in the same country, if the border procedures take a long time. Not relevant in Europe, but very important in South America, e.g., or in Central Asia.
More information about the GraphHopper
mailing list