Can't find directions when using "driving-hgv" profile around Augsburg

I’m trying to get directions from a Point in Central Augsburg to $somewhereElse, but when I’m using the “driving-hgv” profile, it wouldn’t produce results. I guess that it might have to do with Augsburg low-emission zone (see on OSM), but I can’t be too sure. When requesting with “driving-car”, I get expected results.

Is there public documentation on which relations/zones are blocked for which profiles? In other threads here, I’ve seen pedestrian zones to be blocked, but I have tried setting the coordinates to Augsburg Central’s Bus Station which should be available for busses/hgv?

While we’re here, is there a way to distinguish between HGVs and coach busses? I understand that busses can usually travel at 100km/h on the Autobahn, but is there a preset by any chance?

Thanks for this awesome project!

Hey,

could you please provide the full routing request in question?

Best regards

Hi,

this is my request:

POST /v2/directions/driving-hgv/json

{
  "coordinates": [
    [
      10.8932222,
      48.3724445
    ],
    [
      8.1102459,
      50.5934287
    ]
  ],
  "preference": "recommended",
  "units": "m",
  "language": "en",
  "geometry": true,
  "instructions": true,
  "instructions_format": "text",
  "roundabout_exits": false,
  "maneuvers": false,
  "continue_straight": false,
  "geometry_simplify": false,
  "schedule": false,
  "ignore_transfers": false
}

It seems that my openapi-to-code-generator is adding more flags that should just be the default (at least according to the documentation).

This is the result that I’ve got:

{
  "error": {
    "code": 2009,
    "message": "Route could not be found - Unable to find a route between points 1 (10.8932222 48.3724445) and 2 (8.1102459 50.5934287)."
  },
  "info": {
    "engine": {
      "build_date": "2026-04-20T10:23:42Z",
      "graph_version": "4",
      "graph_date": "2026-05-05T08:21:37Z",
      "osm_date": "2026-04-26T23:59:57Z",
      "version": "9.9.0"
    },
    "timestamp": 1781465044742
  }
}

Hey,

it seems like a lot of streets in Augsburg are marked with hgv=delivery:
Here is a query for this tag in Augsburg on OSM

I guess that this might cause your issue.

Best regards

1 Like

ORS does not support low-emission zones. The issue is due to access restriction as explained by @jschnell .
In your request you can choose vehicle type “delivery”, then you can route into the restricted area.

{“coordinates”:[[10.8932222,48.3724445],[8.1102459,50.5934287]],“options”:{“vehicle_type”:“delivery”}}

1 Like

Nice, thanks for finding that out for me. Could I have done more to debug the requests? I feel like there should have been more information why the start location was unavailable.. Especially since I only looked for a general location around Augsburg and got into the deliveries-only city center by chance (I think that’s where the city name is pinned in OSM?).

Hey,

if you are talking about getting more information from openrouteservice, yeah, that’d be great, but that’s also quite hard to do. I do not expect changes in this direction to come anytime soon.

As for if you could have done more, I do not think so.
This is mostly based on experience around openrouteservice - once you’ve seen enough requests fail, you develop a bit of intuition on what might be going on.

Best regards

1 Like