comparison backend/contrib/run_geo.sh @ 6658:89f856e24d27 double-precision

Importer scripts: shpimporter needs backend name to play with Oracle.
author Tom Gottfried <tom@intevation.de>
date Thu, 25 Jul 2013 09:30:39 +0200
parents 8782ba5cb222
children 0b2c9de5e681
comparison
equal deleted inserted replaced
6652:765944ca6df0 6658:89f856e24d27
4 RIVER_PATH="/vol1/projects/Geospatial/flys-3.0/testdaten/Gewaesser/Saar" 4 RIVER_PATH="/vol1/projects/Geospatial/flys-3.0/testdaten/Gewaesser/Saar"
5 RIVER_NAME="Saar" 5 RIVER_NAME="Saar"
6 6
7 # Set this to your target database for Oracle 7 # Set this to your target database for Oracle
8 HOST=localhost 8 HOST=localhost
9 BACKEND_NAME="XE"
9 USER=flys28 10 USER=flys28
10 PASS=flys28 11 PASS=flys28
11 # Alternatively you can provide a direct connection string: 12 # Alternatively you can provide a direct connection string:
12 # OGR_CONNECTION="PG:dbname=flys host=localhost port=5432 user=flys password=flys" 13 # OGR_CONNECTION="PG:dbname=flys host=localhost port=5432 user=flys password=flys"
13 14
49 50
50 exec python $DIR/shpimporter/shpimporter.py \ 51 exec python $DIR/shpimporter/shpimporter.py \
51 --directory $RIVER_PATH \ 52 --directory $RIVER_PATH \
52 --river_name "$RIVER_NAME" \ 53 --river_name "$RIVER_NAME" \
53 --ogr_connection "$OGR_CONNECTION" \ 54 --ogr_connection "$OGR_CONNECTION" \
54 --host $HOST \ 55 --host $HOST/$BACKEND_NAME \
55 --user $USER \ 56 --user $USER \
56 --password $PASS \ 57 --password $PASS \
57 --verbose $VERBOSE \ 58 --verbose $VERBOSE \
58 --skip_axis $SKIP_AXIS \ 59 --skip_axis $SKIP_AXIS \
59 --skip_kms $SKIP_KMS \ 60 --skip_kms $SKIP_KMS \

http://dive4elements.wald.intevation.org