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

Resolving the Costing Method Error in VROOM When Using Valhalla for Routing #1168

Open
AlirezaAzizi14 opened this issue Oct 14, 2024 · 1 comment
Labels

Comments

@AlirezaAzizi14
Copy link

Hello, good day!

I have compiled and built VROOM, and I'm using the following command to send a request to VROOM:
./bin/vroom -r valhalla -a valhalla1.openstreetmap.de/isochrone -p 80 -i dataUser.json

I want to use Valhalla for routing. However, when I send the request to VROOM, I encounter this error:
[Error] Valhalla matrix error (No costing method found: 'car'). {"code":3,"error":"Valhalla matrix error (No costing method found: 'car')."}

From what I understand, it seems like a costing method is not being sent to Valhalla, which is why this error occurs.

What solution would you suggest for this issue?
How can I specify a costing method for Valhalla in the input data?

@jcoupey
Copy link
Collaborator

jcoupey commented Oct 15, 2024

You're hitting valhalla1.openstreetmap.de/isochrone which is intended to compute isochrones, not matrices. Probably we simply can't make sense of the response because we expect to retrieve matrices from Valhalla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants