Cyclosm: Add cyclosm SQL views

This commit is contained in:
nobohan 2023-06-26 09:22:40 +02:00
parent 0fca85665f
commit 6488beaf79

3
run.sh
View File

@ -124,6 +124,9 @@ if [ "$1" == "import" ]; then
sudo -u postgres psql -d gis -f /data/style/${NAME_SQL:-indexes.sql}
fi
# Create cyclosm special views
sudo -u renderer psql -d gis -f "/data/style/cyclosm-cartocss-style/views.sql"
#Import external data TODO cyclosm: change this
# chown -R renderer: /home/renderer/src/ /data/style/
# if [ -f /data/style/scripts/get-external-data.py ] && [ -f /data/style/external-data.yml ]; then