comparison flys-backend/contrib/shpimporter/run.sh @ 3654:59ca5dab2782

Shape importer: use python's OptionParse to read user specific configuration from command line. flys-backend/trunk@5231 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 22 Aug 2012 11:55:55 +0000
parents
children 6603aeeda6e3
comparison
equal deleted inserted replaced
3653:20d249e1589f 3654:59ca5dab2782
1 #!/bin/sh
2
3 RIVER_PATH="/path/to/rivers/river"
4 RIVER_ID=1
5 TARGET_SRS=31466
6 HOST=localhost
7 USER=the_user
8 PASS=the_pass
9
10 exec python shpimporter.py \
11 --directory $RIVER_PATH \
12 --river_id $RIVER_ID \
13 --target_srs $TARGET_SRS \
14 --host $HOST \
15 --user $USER \
16 --password $PASS \
17 --verbose 1 \
18 --skip_axis 0 \
19 --skip_kms 0 \
20 --skip_crosssections 0 \
21 --skip_lines 0 \
22 --skip_fixpoints 0 \
23 --skip_buildings 0 \
24 --skip_floodplains 0 \
25 --skip_hydr_boundaries 0 \
26 --skip_hws 0 \
27 --skip_gauge_locations 0 \
28 --skip_catchments 0 \
29 --skip_uesgs 0
30

http://dive4elements.wald.intevation.org