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

add rounting services via open source routing machine #1

Open
tobi238 opened this issue Feb 20, 2018 · 0 comments
Open

add rounting services via open source routing machine #1

tobi238 opened this issue Feb 20, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tobi238
Copy link
Owner

tobi238 commented Feb 20, 2018

the service can be used with docker (see https://hub.docker.com/r/osrm/osrm-backend/). build routing data from osm data and start server in a batch file:

:: prepare osm downloaded data:
:: run commands in same folder as karlsruhe-regbez-latest.osm.pbf
docker run -t -v C:/docker/osrm/data:/data osrm/osrm-backend osrm-extract -p /opt/car.lua /data/karlsruhe-regbez-latest.osm.pbf
docker run -t -v C:/docker/osrm/data:/data osrm/osrm-backend osrm-partition /data/karlsruhe-regbez-latest.osrm
docker run -t -v C:/docker/osrm/data:/data osrm/osrm-backend osrm-customize /data/karlsruhe-regbez-latest.osrm

:: start server from same folder
docker run -t -i -p 5000:5000 -v C:/docker/osrm/data/:/data osrm/osrm-backend osrm-routed --algorithm mld /data/karlsruhe-regbez-latest.osrm
@tobi238 tobi238 self-assigned this Feb 20, 2018
@tobi238 tobi238 added the enhancement New feature or request label Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant