Mercurial > dive4elements > river
comparison backend/contrib/shpimporter/run.sh @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-backend/contrib/shpimporter/run.sh@94ce92e73603 |
children |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
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_UESG=0 | |
24 | |
25 exec python shpimporter.py \ | |
26 --directory $RIVER_PATH \ | |
27 --river_id $RIVER_ID \ | |
28 --target_srs $TARGET_SRS \ | |
29 --host $HOST \ | |
30 --user $USER \ | |
31 --password $PASS \ | |
32 --verbose $VERBOSE \ | |
33 --skip_axis $SKIP_AXIS \ | |
34 --skip_kms $SKIP_KMS \ | |
35 --skip_crosssections $SKIP_CROSSSECTIONS \ | |
36 --skip_lines $SKIP_LINES \ | |
37 --skip_fixpoints $SKIP_FIXPOINTS \ | |
38 --skip_buildings $SKIP_BUILDINGS \ | |
39 --skip_floodplains $SKIP_FLOODPLAINS \ | |
40 --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \ | |
41 --skip_hws $SKIP_HWS \ | |
42 --skip_gauge_locations $SKIP_GAUGE_LOCATION \ | |
43 --skip_uesgs $SKIP_UESG | |
44 |