cyclosm: add downloaded shp

This commit is contained in:
nobohan
2023-06-25 22:29:33 +02:00
parent c2b79805a0
commit 0bbebc0f4a
4 changed files with 20 additions and 1 deletions

5
run.sh
View File

@@ -131,7 +131,10 @@ if [ "$1" == "run" ]; then
cd /data/style/
git clone --single-branch --branch v0.6 https://github.com/cyclosm/cyclosm-cartocss-style.git --depth 1
# carto build
# change shp paths
sed -i "s,file: http://osmdata.openstreetmap.de/download,file: /data/shp,g" ./cyclosm-cartocss-style/project.mml
sed -i "s/.zip/.shp/g" ./cyclosm-cartocss-style/project.mml
# carto build
carto cyclosm-cartocss-style/project.mml > mapnik.xml