changeset 5563:673f68bb19a4

Geo-importer: accept river names with white space
author Tom Gottfried <tom@intevation.de>
date Thu, 04 Apr 2013 18:15:35 +0200
parents 7be6785ad7b9
children a2da78fdbec0
files flys-backend/contrib/import_river.sh flys-backend/contrib/run_geo.sh
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/import_river.sh	Thu Apr 04 16:07:55 2013 +0200
+++ b/flys-backend/contrib/import_river.sh	Thu Apr 04 18:15:35 2013 +0200
@@ -328,7 +328,7 @@
 
     exec python $(dirname $0)/geodaesie/shpimporter.py \
     --directory $RIVER_PATH \
-    --river_name $RIVER_NAME \
+    --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
     --host $DBHOST \
     --user $DBUSER \
--- a/flys-backend/contrib/run_geo.sh	Thu Apr 04 16:07:55 2013 +0200
+++ b/flys-backend/contrib/run_geo.sh	Thu Apr 04 18:15:35 2013 +0200
@@ -46,7 +46,7 @@
 
 exec python $DIR/shpimporter/shpimporter.py \
     --directory $RIVER_PATH \
-    --river_name $RIVER_NAME \
+    --river_name "$RIVER_NAME" \
     --ogr_connection "$OGR_CONNECTION" \
     --host $HOST \
     --user $USER \

http://dive4elements.wald.intevation.org