comparison backend/contrib/import_river.sh @ 8823:efa52271786b

Fix path to python importer.
author Tom Gottfried <tom@intevation.de>
date Mon, 15 May 2017 18:06:24 +0200
parents 6d25d8f81168
children f7c49975cc15
comparison
equal deleted inserted replaced
8822:cd8fce40f151 8823:efa52271786b
349 349
350 RIVER_PATH=$(grep "WSTDatei:" "$GEW_FILE" | awk '{print $2}') 350 RIVER_PATH=$(grep "WSTDatei:" "$GEW_FILE" | awk '{print $2}')
351 RIVER_PATH=$(dirname "$RIVER_PATH")/../.. 351 RIVER_PATH=$(dirname "$RIVER_PATH")/../..
352 RIVER_PATH=$(readlink -f "$RIVER_PATH") 352 RIVER_PATH=$(readlink -f "$RIVER_PATH")
353 353
354 exec python $(dirname $0)/geodaesie/shpimporter.py \ 354 exec python $(dirname $0)/shpimporter/shpimporter.py \
355 --directory $RIVER_PATH \ 355 --directory $RIVER_PATH \
356 --river_name "$RIVER_NAME" \ 356 --river_name "$RIVER_NAME" \
357 --ogr_connection "$OGR_CONNECTION" \ 357 --ogr_connection "$OGR_CONNECTION" \
358 --host $DBHOST/$BACKEND_NAME \ 358 --host $DBHOST/$BACKEND_NAME \
359 --user $DBUSER \ 359 --user $DBUSER \

http://dive4elements.wald.intevation.org