comparison flys-backend/contrib/run_geo.sh @ 4971:fc7ebf104779 dami

Update documentation and example run script
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 13 Feb 2013 12:07:10 +0100
parents 2b371e42a9af
children d19c07c10986
comparison
equal deleted inserted replaced
4970:174fbaa3d344 4971:fc7ebf104779
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Required 3 # Required
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_ID=1 5 RIVER_NAME="Saar"
6 TARGET_SRS=31467
7 6
8 # Set this to your target database for Oracle 7 # Set this to your target database for Oracle
9 HOST=localhost 8 HOST=localhost
10 USER=flys28 9 USER=flys28
11 PASS=flys28 10 PASS=flys28
32 DIR=`dirname $0` 31 DIR=`dirname $0`
33 DIR=`readlink -f "$DIR"` 32 DIR=`readlink -f "$DIR"`
34 33
35 exec python $DIR/shpimporter/shpimporter.py \ 34 exec python $DIR/shpimporter/shpimporter.py \
36 --directory $RIVER_PATH \ 35 --directory $RIVER_PATH \
37 --river_id $RIVER_ID \ 36 --river_name $RIVER_NAME \
38 --target_srs $TARGET_SRS \
39 --ogr_connection "$OGR_CONNECTION" \ 37 --ogr_connection "$OGR_CONNECTION" \
40 --host $HOST \ 38 --host $HOST \
41 --user $USER \ 39 --user $USER \
42 --password $PASS \ 40 --password $PASS \
43 --verbose $VERBOSE \ 41 --verbose $VERBOSE \

http://dive4elements.wald.intevation.org