OAM: use of a alternate branch for OAM cartoCss style for missing proj4 support in new version of mapnik
This commit is contained in:
parent
4895e86c55
commit
ed9a401409
4
run.sh
4
run.sh
@ -14,7 +14,7 @@ function setPostgresPassword() {
|
|||||||
|
|
||||||
function compileStyle() {
|
function compileStyle() {
|
||||||
cd /data/style/
|
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
|
# mv symbols folder
|
||||||
mkdir /data/img/
|
mkdir /data/img/
|
||||||
mv /data/style/OpenArdenneMap/img/* /data/img/
|
mv /data/style/OpenArdenneMap/img/* /data/img/
|
||||||
@ -24,7 +24,7 @@ function compileStyle() {
|
|||||||
# change hillshade
|
# 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
|
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
|
# 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 build
|
||||||
carto OpenArdenneMap/osm2pgsql/project.mml > mapnik.xml
|
carto OpenArdenneMap/osm2pgsql/project.mml > mapnik.xml
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user