OAM: mv symbols folder (img) and correct path for contour
This commit is contained in:
parent
ba14c03705
commit
d8251d5dd7
12
run.sh
12
run.sh
@ -16,19 +16,15 @@ function compileStyle() {
|
||||
cd /data/style/
|
||||
git clone --single-branch --branch master https://github.com/nobohan/OpenArdenneMap.git --depth 1
|
||||
# mv symbols folder
|
||||
# mkdir /data/style/symbols/
|
||||
# mv /data/style/cyclosm-cartocss-style/symbols/* /data/style/symbols/
|
||||
mkdir /data/img/
|
||||
mv /data/style/OpenArdenneMap/img/* /data/img/
|
||||
# change dbname
|
||||
sed -i 's/"dbname": "osmpg_db",/"dbname": "gis",/g' ./OpenArdenneMap/osm2pgsql/project.mml
|
||||
# # remove some deprecated fonts
|
||||
# sed -i 's/, "unifont Medium", "Unifont Upper Medium"//g' ./cyclosm-cartocss-style/fonts.mss
|
||||
# sed -i 's/"Noto Sans Tibetan Regular",//g' ./cyclosm-cartocss-style/fonts.mss
|
||||
# sed -i 's/"Noto Sans Tibetan Bold",//g' ./cyclosm-cartocss-style/fonts.mss
|
||||
# sed -i 's/Noto Sans Syriac Eastern Regular/Noto Sans Syriac Regular/g' ./cyclosm-cartocss-style/fonts.mss
|
||||
# TODO add Alphabet font?
|
||||
# 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.shp,g' ./OpenArdenneMap/osm2pgsql/project.mml
|
||||
# carto build
|
||||
carto OpenArdenneMap/osm2pgsql/project.mml > mapnik.xml
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user