Running customised OSM

Hi,

I am trying to replace the default Heidelberg OSM with my own, after trying a few hours still not succeeded, would be great if I can get some help.

So the steps that I took is git clone the repo, manually
mkdir -p ors-docker/config ors-docker/elevation_cache ors-docker/graphs ors-docker/files ors-docker/logs,

then place my osm in files. Then I changed docker-compose.yml
REBUILD_GRAPHS: True
ors.engine.profile_default.build.source_file: /Users/user/Documents/openrouteservice/ors-docker/my.pbf.

Then I run the docker compose up -d, and try to call the endpoint using Python, but still having the error of Could not find routable point within a radius of 400.0 meters of specified coordinate, despite having checked the coordinates are within the boundary…

I wonder if someone can help me with this and provide a simple guide on how to make it work with customised OSM using docker.

Apologies if the question may be too trival as I am battling with this the whole night.

Thanks!

I think my brain was not working properly last night, after reading Running with Docker | openrouteservice backend documentation, and only downloading the
docker-compose.yml rather than cloning the whole repo as suggested, adding my own OSM in the file directory and changing it accordingly in ors-config.yml, I have successfully managed to run it!

Thanks the team for the amazing work!

2 Likes