diff --git a/run.sh b/run.sh index 759a2e7..2473ad1 100755 --- a/run.sh +++ b/run.sh @@ -22,7 +22,6 @@ function compileStyle() { cp /data/style/OpenArdenneMap/fonts/* /usr/share/fonts/ # change dbname sed -i 's/"dbname": "osmpg_db",/"dbname": "gis",/g' ./OpenArdenneMap/osm2pgsql/project.mml - # 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 @@ -129,6 +128,8 @@ if [ "$1" == "import" ]; then sudo -u postgres psql -d gis -f /data/style/${NAME_SQL:-indexes.sql} fi + sudo -u postgres psql -d gis -f /data/style/OpenArdenneMap/create_views.sql + # Register that data has changed for mod_tile caching purposes sudo -u renderer touch /data/database/planet-import-complete