Mercurial > dive4elements > river
comparison flys-backend/contrib/import_river.sh @ 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 | 7c646d4d5103 |
children |
comparison
equal
deleted
inserted
replaced
5562:7be6785ad7b9 | 5563:673f68bb19a4 |
---|---|
326 RIVER_PATH=$(dirname "$RIVER_PATH")/../.. | 326 RIVER_PATH=$(dirname "$RIVER_PATH")/../.. |
327 RIVER_PATH=$(readlink -f "$RIVER_PATH") | 327 RIVER_PATH=$(readlink -f "$RIVER_PATH") |
328 | 328 |
329 exec python $(dirname $0)/geodaesie/shpimporter.py \ | 329 exec python $(dirname $0)/geodaesie/shpimporter.py \ |
330 --directory $RIVER_PATH \ | 330 --directory $RIVER_PATH \ |
331 --river_name $RIVER_NAME \ | 331 --river_name "$RIVER_NAME" \ |
332 --ogr_connection "$OGR_CONNECTION" \ | 332 --ogr_connection "$OGR_CONNECTION" \ |
333 --host $DBHOST \ | 333 --host $DBHOST \ |
334 --user $DBUSER \ | 334 --user $DBUSER \ |
335 --password $DBPASS \ | 335 --password $DBPASS \ |
336 --verbose 1 \ | 336 --verbose 1 \ |