mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
osrm startup helpers added
This commit is contained in:
parent
d9f83425f6
commit
eb091cc1a4
14 changed files with 1928 additions and 0 deletions
9
osrm/prepare_maps.sh
Executable file
9
osrm/prepare_maps.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
REGION="russia";
|
||||
DISTRICT="siberian-fed-district-latest";
|
||||
|
||||
mkdir pbf
|
||||
wget "https://download.geofabrik.de/$REGION/$DISTRICT.osm.pbf" -O "pbf/$DISTRICT.osm.pbf"
|
||||
|
||||
osrm-extract "./pbf/$DISTRICT.osm.pbf" -p ./rules.lua
|
||||
osrm-contract "./pbf/$DISTRICT.osrm"
|
Loading…
Add table
Add a link
Reference in a new issue