GraphHopper.com | Forum | GitHub | Maps | Blog

New feature: limit the driving time of your drivers


#1

One can now limit the driving time as follows:

"vehicles": [
    {
      "vehicle_id": "my_vehicle",
      "start_address": {
        "location_id": "berlin",
        "lon": 13.406,
        "lat": 52.537
      },
      "max_driving_time":3600
}

#2

is “max_driving_time” an element of the vehicle object AND the break object? The former to specify the maximum time the driver can be out and the latter to specify the maximum time continuous driving time before a break is required?


#3

is “max_driving_time” an element of the vehicle object AND the break object?

Yes, exactly.

The former to specify the maximum time the driver can be out and the latter to specify the maximum time continuous driving time before a break is required?

Yes, exactly.


#4

The former to specify the maximum time the driver can be out

To be more precise, it means the maximum drive time of the driver. For example, if max. drive time is 5 hours, the driver can still be out for 8 hours. However, he is not allowed to drive more than 5 hours.