diff --git a/run.sh b/run.sh index 566e8b1..d47cc4f 100755 --- a/run.sh +++ b/run.sh @@ -14,7 +14,7 @@ function setPostgresPassword() { function compileStyle() { cd /data/style/ - git clone --single-branch --branch master https://github.com/nobohan/OpenArdenneMap.git --depth 1 + git clone --single-branch --branch osm-tile-server https://github.com/nobohan/OpenArdenneMap.git --depth 1 # mv symbols folder mkdir /data/img/ mv /data/style/OpenArdenneMap/img/* /data/img/ @@ -24,7 +24,7 @@ function compileStyle() { # change hillshade sed -i 's,/mnt/tera/ChampsLibres/Projets/OSM/CyclOSM/hillshade/data/dem_be_10x10_hillshade_semi_transparent_3857.tif,/data/hillshade.tif,g' ./OpenArdenneMap/osm2pgsql/project.mml # change contours - sed -i 's,../contour/beautiful_contour_belgium.shp,/data/shp/contours.shp,g' ./OpenArdenneMap/osm2pgsql/project.mml + sed -i 's,../contour/beautiful_contour_belgium.shp,/data/shp/contours_3857.shp,g' ./OpenArdenneMap/osm2pgsql/project.mml # carto build carto OpenArdenneMap/osm2pgsql/project.mml > mapnik.xml }