printf"%s\n""[ERROR] An error occurred while creating the node_density table for 'grid_s100' using isochrone-tools. The process will exit now with status $?"
printf"%s\n""[ERROR] An error occurred while creating the node_density table for 'spirder_l1000' using isochrone-tools. The process will exit now with status $?"
exit$?
fi
fi
}
function fn_import_dataset(){
local NAME="$1"
local SRID="$2"
...
...
@@ -78,6 +108,10 @@ function fn_import_dataset_neo4j_spatial() {
# We copy data from postgis for specified dataset (after postgis data import)
printf"%s\n""[ERROR] An error occurred while creating datamodel using isochrone-datamodel. The process will exit now with status $?"
exit$?
fi
echo" - copying tables to isochrone database"
# 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 (pg_dump does not use CASCADE)
...
...
@@ -123,6 +161,10 @@ function fn_import_dataset_postgis() {
printf"%s\n""[ERROR] An error occurred while creating the node_density table for '${CITY}' using isochrone-tools. The process will exit now with status $?"
exit$?
fi
fi
if$AVAILABLE_ISOCHRONE_DATAMODEL;then
...
...
@@ -256,57 +298,49 @@ function fn_filter_osm_data() {