Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hgv=delivery-tags not considered properly #1743

Closed
1 task done
koebi opened this issue Mar 11, 2024 · 1 comment · Fixed by #1748
Closed
1 task done

hgv=delivery-tags not considered properly #1743

koebi opened this issue Mar 11, 2024 · 1 comment · Fixed by #1748
Assignees
Labels
bug 🐞 Erroneous behavior of the backend routing network ⛔

Comments

@koebi
Copy link
Collaborator

koebi commented Mar 11, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Where did you encounter this issue?

live API

Request URL

https://api.openrouteservice.org/v2/pdirections/driving-hgv/geojson

POST Request Body

{
"preference":"recommended",
"geometry":true,
"options":{"vehicle_type":"delivery"},
"coordinates":[[10.857732,48.415395],[10.893041,48.369262]]
}

Response

Response
{"error":{"code":2009,"message":"Route could not be found - Unable to find a route between points 1 (10.8577320 48.4153950) and 2 (10.8930410 48.3692620)."},"info":{"engine":{"build_date":"2024-01-29T14:41:12Z","version":"7.1.1"},"timestamp":1710158524932}}

Current behavior

The whole inner city of Augsburg is tagged with hgv:delivery.
Currently, a regular hgv vehicle (no vehicle type) is able to enter the city, but a vehicle with vehicle type delivery is not.

Expected behavior

A regular hgv vehicle (no vehicle type) should not be able to enter the city, but a vehicle with vehicle type delivery should be.

Openrouteservice Version

7.1.1

Build date

2024-01-29T14:41:12Z

Graph date

No response

Forum Topic Link

No response

@koebi koebi added bug 🐞 Erroneous behavior of the backend api labels Mar 11, 2024
@aoles
Copy link
Member

aoles commented Mar 11, 2024

Actually, the issue can be reproduced as well with the test graph on Alstater Straße in HD-Kirchheim.

Route for vehicle_type set to hgv:

image

vs. delivery:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Erroneous behavior of the backend routing network ⛔
Projects
No open projects
Status: Awaiting release
Development

Successfully merging a pull request may close this issue.

2 participants