GraphHopper.com | Forum | GitHub | Maps | Blog

New feature: disallow vehicles


#1

One can now specify vehicles that are prohibited for services/shipments. Much like one defines allowed vehicles, one can define disallowed vehicles as follows:

 {
      "id": "hamburg",
      "name": "visit_hamburg",
      "address": {
        "location_id": "hamburg",
        "lon": 9.999,
        "lat": 53.552
      },
      "disallowed_vehicles":["vehicle_1", "vehicle_2"]
}

#2

Very useful feature, will you also make this available in jsprit?

I was thinking of emulating this feature by pre-processing all vehicles that could serve a job and tagging them with auto-generated skills, one for each group of vehicles that can serve a job with the same exclusion policy.

Best regards