From 302f1042d47fba99cd163158492f543e004fbd3b Mon Sep 17 00:00:00 2001
From: Nikolaus Krismer <nikolaus.krismer@uibk.ac.at>
Date: Sun, 9 Oct 2016 10:59:01 +0200
Subject: [PATCH] changing parameter usage for osmPti2mmds

---
 CHANGELOG.md            | 1 +
 bootstrap/importData.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e9e0378..2e6fcd2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
 Upcoming version:
 -----------------
+  - changing parameter usage for osmPti2mmds (Nikolaus Krismer)
   - updating gradle to version 3.1 (Nikolaus Krismer)
   - fixed minor problems with spaces in deploy directory (Nikolaus Krismer)
   - changes to match new argument naming in isochrone-tools project (Nikolaus Krismer)
diff --git a/bootstrap/importData.sh b/bootstrap/importData.sh
index 568085f..2ecdfdb 100755
--- a/bootstrap/importData.sh
+++ b/bootstrap/importData.sh
@@ -140,7 +140,7 @@ function fn_import_dataset_postgis() {
 	if $AVAILABLE_ISOCHRONE_DATAMODEL && [ ! -f "$DATA_DIR/$SQL_EXPORT_FILE" ]; then
 		fn_echo "  - creating datamodel using isochrone-datamodel"
 		# Create datamodel using isochrone-datamodel project
-		DB_USERNAME="$PG_DB_USER" DB_PASSWORD="$PG_DB_PASSWORD" "$DEPLOY_DIR/isochrone-datamodel/osmPti2mmds.sh" -d -s -b -l -t${SRID} -c${CITY} >> "$WORKING_DIR/create_datamodel_${CITY}_${SRID}.log" 2>&1
+		DB_USERNAME="$PG_DB_USER" DB_PASSWORD="$PG_DB_PASSWORD" "$DEPLOY_DIR/isochrone-datamodel/osmPti2mmds.sh" -d -s -b -l -t ${SRID} -c "${CITY}" >> "$WORKING_DIR/create_datamodel_${CITY}_${SRID}.log" 2>&1
 		if [ $? -ne 0 ]; then
 			fn_echo "An error occurred while creating datamodel using isochrone-datamodel. The process will exit now with status $?" "ERROR"
 			exit $?
-- 
GitLab