GraphHopper.com | Forum | GitHub | Maps | Blog

Temporal varying speeds for trucks


#1

Hello folks,

first I’m quite new to GH but I’m looking for a solution to implement a truck routing profile in GH. An issue i’m stumbling upon is how to implement varying speeds for trucks in a temporal sense. This Issue continues for temoral restricted roads for trucks.

For example OSM provides the maxspeed:hgv:conditional=30@(22:00-06:00) tag for a highway. This restricts the allowed truck speed between 10pm and 6 am to 30 km/h. Is there a possibility to implement a solution for this in the routing engine?

I have found this topic so far: Set edge speed per time range.

But as far as my understanding goes this only works for all edges. Would I would need is to make it work only on the edges that have that specific tag - before creating the edges.

Any Help out there is very appreciated!


#2

Hi,
Time dependent routing (aka Traffic considerations) are not currently supported.
I am also hot on that topic and will be happy to have it.


#3

Me too! :slight_smile: