diff --git a/import/docker-startup.sh b/import/docker-startup.sh index 35aaf2cb..b5a11cbe 100755 --- a/import/docker-startup.sh +++ b/import/docker-startup.sh @@ -74,6 +74,11 @@ update) esac +# Clear all tags from the Osm2Psql tables +psql -d gis -c "update planet_osm_nodes set tags = null where tags is not null;" +psql -d gis -c "update planet_osm_ways set tags = null where tags is not null;" +psql -d gis -c "update planet_osm_rels set tags = null where tags is not null;" + echo "Post processing imported data" psql -d gis -f sql/functions.sql psql -d gis -f sql/get_station_importance.sql