ORS 8.0.0 Docker cannot use custom pbf

Hello,

I am new with OpenRouteService I want to use it for a personal project but I am struggling really hard to get a route in Ontario, I have just configurated my docker-compose.yml, and my ors-config.yml, but I am getting an annoying:

{
“error”: {
“code”: 2099,
“message”: “Unable to get an appropriate route profile for RoutePreference = driving-car”
},
“info”: {
“engine”: {
“build_date”: “2024-03-21T13:55:54Z”,
“version”: “8.0.0”
},
“timestamp”: 1725720209181
}
}

And after several attemps I am stucked, can anyone help me please?

Nevermind, I solved the issue, I was trying to use it almost immediately without waiting time till cache elevation and Graph were created.

2 Likes

For those out there struggling with this scenario, considering I’ve been there much like Baycode, take a look at this sample repo I’ve forked - GitHub - rjsvieira/openrouteservice: 🌍 The open source route planner api with plenty of features.