This is also important for traffic lights etc. You can handle this either on import (which is not yet as easy as I want it) and assign the neighboring edges a different weight or you use turn costs to model costs of certain nodes.
See also #75 Regards, Peter On 06.01.2015 18:46, Laurent Bendel wrote: > 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. > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper _______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
