Mercurial > dive4elements > river
comparison flys-backend/contrib/run_geo.sh @ 3800:69d19995bc3c 2.9.1
merged flys-backend/2.9.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:48 +0200 |
parents | 4298ef9bd4a6 |
children | 2b371e42a9af |
comparison
equal
deleted
inserted
replaced
3786:4adc35aa655c | 3800:69d19995bc3c |
---|---|
1 #!/bin/sh | |
2 | |
3 # Required | |
4 RIVER_PATH="/vol1/projects/Geospatial/flys-3.0/testdaten/Gewaesser/Saar" | |
5 RIVER_ID=1 | |
6 TARGET_SRS=31467 | |
7 HOST=localhost | |
8 USER=flys28 | |
9 PASS=flys28 | |
10 | |
11 # Optional | |
12 VERBOSE=1 | |
13 SKIP_AXIS=0 | |
14 SKIP_KMS=0 | |
15 SKIP_CROSSSECTIONS=0 | |
16 SKIP_LINES=0 | |
17 SKIP_FIXPOINTS=0 | |
18 SKIP_BUILDINGS=0 | |
19 SKIP_FLOODPLAINS=0 | |
20 SKIP_HYDR_BOUNDARIES=0 | |
21 SKIP_HWS=0 | |
22 SKIP_GAUGE_LOCATION=0 | |
23 SKIP_CATCHMENTS=0 | |
24 SKIP_UESG=0 | |
25 | |
26 | |
27 DIR=`dirname $0` | |
28 DIR=`readlink -f "$DIR"` | |
29 | |
30 exec python $DIR/shpimporter/shpimporter.py \ | |
31 --directory $RIVER_PATH \ | |
32 --river_id $RIVER_ID \ | |
33 --target_srs $TARGET_SRS \ | |
34 --host $HOST \ | |
35 --user $USER \ | |
36 --password $PASS \ | |
37 --verbose $VERBOSE \ | |
38 --skip_axis $SKIP_AXIS \ | |
39 --skip_kms $SKIP_KMS \ | |
40 --skip_crosssections $SKIP_CROSSSECTIONS \ | |
41 --skip_lines $SKIP_LINES \ | |
42 --skip_fixpoints $SKIP_FIXPOINTS \ | |
43 --skip_buildings $SKIP_BUILDINGS \ | |
44 --skip_floodplains $SKIP_FLOODPLAINS \ | |
45 --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \ | |
46 --skip_hws $SKIP_HWS \ | |
47 --skip_gauge_locations $SKIP_GAUGE_LOCATION \ | |
48 --skip_catchments $SKIP_CATCHMENTS \ | |
49 --skip_uesgs $SKIP_UESG | |
50 |