@@ -150,6 +153,16 @@ function fn_import_dataset_postgis() {
...
@@ -150,6 +153,16 @@ function fn_import_dataset_postgis() {
# If working with multiple TARGET_SRIDs we have to delete an eventually existing nodes_density table here, so on import later a DROP TABLE ${CITY}_nodes works wihtout CASCADE (${EXEC_PGDUMP} does not use CASCADE)
# If working with multiple TARGET_SRIDs we have to delete an eventually existing nodes_density table here, so on import later a DROP TABLE ${CITY}_nodes works wihtout CASCADE (${EXEC_PGDUMP} does not use CASCADE)
PGPASSWORD="$PG_DB_PASSWORD"${EXEC_PSQL}-qAt-U"$PG_DB_USER"-h localhost -d isochrone -c"DROP TABLE IF EXISTS ${CITY}_nodes_density">>"$WORKING_DIR/create_datamodel_${CITY}_${SRID}.log" 2>&1
PGPASSWORD="$PG_DB_PASSWORD"${EXEC_PSQL}-qAt-U"$PG_DB_USER"-h localhost -d isochrone -c"DROP TABLE IF EXISTS ${CITY}_nodes_density">>"$WORKING_DIR/create_datamodel_${CITY}_${SRID}.log" 2>&1