comparison flys-backend/contrib/shpimporter/run.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 6603aeeda6e3
children 94ce92e73603
comparison
equal deleted inserted replaced
3786:4adc35aa655c 3800:69d19995bc3c
1 #!/bin/sh
2
3 # Required
4 RIVER_PATH="/path/to/rivers/river"
5 RIVER_ID=1
6 TARGET_SRS=31466
7 HOST=localhost
8 USER=the_user
9 PASS=the_pass
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 exec python shpimporter.py \
27 --directory $RIVER_PATH \
28 --river_id $RIVER_ID \
29 --target_srs $TARGET_SRS \
30 --host $HOST \
31 --user $USER \
32 --password $PASS \
33 --verbose $VERBOSE \
34 --skip_axis $SKIP_AXIS \
35 --skip_kms $SKIP_KMS \
36 --skip_crosssections $SKIP_CROSSSECTIONS \
37 --skip_lines $SKIP_LINES \
38 --skip_fixpoints $SKIP_FIXPOINTS \
39 --skip_buildings $SKIP_BUILDINGS \
40 --skip_floodplains $SKIP_FLOODPLAINS \
41 --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \
42 --skip_hws $SKIP_HWS \
43 --skip_gauge_locations $SKIP_GAUGE_LOCATION \
44 --skip_catchments $SKIP_CATCHMENTS \
45 --skip_uesgs $SKIP_UESG
46

http://dive4elements.wald.intevation.org