comparison flys-backend/contrib/run_geo.sh @ 3683:4298ef9bd4a6

Added run scripts for both importers. flys-backend/trunk@5315 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 30 Aug 2012 11:06:12 +0000
parents
children 2b371e42a9af
comparison
equal deleted inserted replaced
3682:16498764fca5 3683:4298ef9bd4a6
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

http://dive4elements.wald.intevation.org