Mercurial > dive4elements > river
view flys-backend/contrib/shpimporter/run.sh @ 3655:8654e4480fc6
Shape importer: added command line option dry_run to supress database transactions.
flys-backend/trunk@5235 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 22 Aug 2012 13:04:05 +0000 |
parents | 59ca5dab2782 |
children | 6603aeeda6e3 |
line wrap: on
line source
#!/bin/sh RIVER_PATH="/path/to/rivers/river" RIVER_ID=1 TARGET_SRS=31466 HOST=localhost USER=the_user PASS=the_pass exec python shpimporter.py \ --directory $RIVER_PATH \ --river_id $RIVER_ID \ --target_srs $TARGET_SRS \ --host $HOST \ --user $USER \ --password $PASS \ --verbose 1 \ --skip_axis 0 \ --skip_kms 0 \ --skip_crosssections 0 \ --skip_lines 0 \ --skip_fixpoints 0 \ --skip_buildings 0 \ --skip_floodplains 0 \ --skip_hydr_boundaries 0 \ --skip_hws 0 \ --skip_gauge_locations 0 \ --skip_catchments 0 \ --skip_uesgs 0