comparison flys-backend/contrib/run_geo.sh @ 4873:2b371e42a9af

Add HWS Lines parameters and ogr_connection example
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Jan 2013 10:34:47 +0100
parents 4298ef9bd4a6
children fc7ebf104779
comparison
equal deleted inserted replaced
4872:a563e9f58f93 4873:2b371e42a9af
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_ID=1
6 TARGET_SRS=31467 6 TARGET_SRS=31467
7
8 # Set this to your target database for Oracle
7 HOST=localhost 9 HOST=localhost
8 USER=flys28 10 USER=flys28
9 PASS=flys28 11 PASS=flys28
12 # Alternatively you can provide a direct connection string:
13 # OGR_CONNECTION="PG:dbname=flys host=localhost port=5432 user=flys password=flys"
10 14
11 # Optional 15 # Optional
12 VERBOSE=1 16 VERBOSE=1
13 SKIP_AXIS=0 17 SKIP_AXIS=0
14 SKIP_KMS=0 18 SKIP_KMS=0
16 SKIP_LINES=0 20 SKIP_LINES=0
17 SKIP_FIXPOINTS=0 21 SKIP_FIXPOINTS=0
18 SKIP_BUILDINGS=0 22 SKIP_BUILDINGS=0
19 SKIP_FLOODPLAINS=0 23 SKIP_FLOODPLAINS=0
20 SKIP_HYDR_BOUNDARIES=0 24 SKIP_HYDR_BOUNDARIES=0
21 SKIP_HWS=0 25 SKIP_HWS_LINES=0
26 SKIP_HWS_POINTS=0
22 SKIP_GAUGE_LOCATION=0 27 SKIP_GAUGE_LOCATION=0
23 SKIP_CATCHMENTS=0 28 SKIP_CATCHMENTS=0
24 SKIP_UESG=0 29 SKIP_UESG=0
25 30
26 31
29 34
30 exec python $DIR/shpimporter/shpimporter.py \ 35 exec python $DIR/shpimporter/shpimporter.py \
31 --directory $RIVER_PATH \ 36 --directory $RIVER_PATH \
32 --river_id $RIVER_ID \ 37 --river_id $RIVER_ID \
33 --target_srs $TARGET_SRS \ 38 --target_srs $TARGET_SRS \
39 --ogr_connection "$OGR_CONNECTION" \
34 --host $HOST \ 40 --host $HOST \
35 --user $USER \ 41 --user $USER \
36 --password $PASS \ 42 --password $PASS \
37 --verbose $VERBOSE \ 43 --verbose $VERBOSE \
38 --skip_axis $SKIP_AXIS \ 44 --skip_axis $SKIP_AXIS \
41 --skip_lines $SKIP_LINES \ 47 --skip_lines $SKIP_LINES \
42 --skip_fixpoints $SKIP_FIXPOINTS \ 48 --skip_fixpoints $SKIP_FIXPOINTS \
43 --skip_buildings $SKIP_BUILDINGS \ 49 --skip_buildings $SKIP_BUILDINGS \
44 --skip_floodplains $SKIP_FLOODPLAINS \ 50 --skip_floodplains $SKIP_FLOODPLAINS \
45 --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \ 51 --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \
46 --skip_hws $SKIP_HWS \
47 --skip_gauge_locations $SKIP_GAUGE_LOCATION \ 52 --skip_gauge_locations $SKIP_GAUGE_LOCATION \
48 --skip_catchments $SKIP_CATCHMENTS \ 53 --skip_catchments $SKIP_CATCHMENTS \
49 --skip_uesgs $SKIP_UESG 54 --skip_uesgs $SKIP_UESG \
50 55 --skip_hws_lines $SKIP_HWS_LINES \
56 --skip_hws_points $SKIP_HWS_POINTS

http://dive4elements.wald.intevation.org