Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chneau/uk-osrm-backend
https://github.com/chneau/uk-osrm-backend
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/chneau/uk-osrm-backend
- Owner: chneau
- License: mit
- Created: 2021-07-06T11:17:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T14:24:38.000Z (9 months ago)
- Last Synced: 2024-04-16T00:20:56.852Z (7 months ago)
- Language: Lua
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uk-osrm-backend
## OSMR truck profile
Profile modified and taken from https://github.com/Project-OSRM/osrm-profiles-contrib
## OSRM docker
- [Docker hub page](https://hub.docker.com/r/osrm/osrm-backend/)
- UK pbf file [(1.3gb)](https://download.geofabrik.de/europe/great-britain-latest.osm.pbf)
- Scotland pdf file [(186mb)](https://download.geofabrik.de/europe/great-britain/scotland-latest.osm.pbf)```sh
# example with the scotland map# download the file
curl https://download.geofabrik.de/europe/great-britain/scotland-latest.osm.pbf -o map.osm.pbf# pre process it, this will create a bunch of files
docker run --rm -it -v `pwd`:/data osrm/osrm-backend osrm-extract -p /opt/car.lua /data/map.osm.pbf
docker run --rm -it -v `pwd`:/data osrm/osrm-backend osrm-partition /data/map.osm.pbf
docker run --rm -it -v `pwd`:/data osrm/osrm-backend osrm-customize /data/map.osm.pbf# start server
docker run --rm -it -v `pwd`:/data -p 5000:5000 osrm/osrm-backend osrm-routed --algorithm mld /data/map.osrm
```