Skip to content
Snippets Groups Projects
Commit 7d70b413 authored by User expired's avatar User expired
Browse files

fixed indent

parent bd5acd6b
No related branches found
No related tags found
No related merge requests found
Upcoming version:
-----------------
- fixed indent (Nikolaus Krismer)
- not creating nodes density table if was imported from db dump (Nikolaus Krismer)
Version v0.6.0:
......
......@@ -162,7 +162,7 @@ function fn_import_dataset_postgis() {
if $AVAILABLE_POSTGIS && $AVAILABLE_ISOCHRONE_TOOLS; then
local exists_density=$(PGPASSWORD="$PG_DB_PASSWORD" ${EXEC_PSQL} -qAt -U "$PG_DB_USER" -h localhost -d isochrone -c "SELECT EXISTS (SELECT * FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid=C.relnamespace) WHERE nspname = 'public' AND relname='${CITY}_nodes_density')")
if [ "$exists_density" == "t" ]; then
fn_echo " - nodes_density exists... not re-creating table"
fn_echo " - nodes_density exists... not re-creating table"
else
fn_echo " - nodes_densities does not exist... creating table"
${EXEC_JAVA} -cp "${DEPLOY_DIR}/isochrone-tools.jar" "at.uibk.dbis.isochrone.generator.density.DensityGenerator" -t "${CITY}" -d "${DENSITY}" >> "$WORKING_DIR/create_datamodel_${CITY}_${SRID}.log" 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment