ingo@3654: #!/bin/sh ingo@3654: ingo@3656: # Required ingo@3654: RIVER_PATH="/path/to/rivers/river" ingo@3654: RIVER_ID=1 ingo@3654: TARGET_SRS=31466 ingo@3654: HOST=localhost ingo@3654: USER=the_user ingo@3654: PASS=the_pass ingo@3654: ingo@3656: # Optional ingo@3656: VERBOSE=1 ingo@3656: SKIP_AXIS=0 ingo@3656: SKIP_KMS=0 ingo@3656: SKIP_CROSSSECTIONS=0 ingo@3656: SKIP_LINES=0 ingo@3656: SKIP_FIXPOINTS=0 ingo@3656: SKIP_BUILDINGS=0 ingo@3656: SKIP_FLOODPLAINS=0 ingo@3656: SKIP_HYDR_BOUNDARIES=0 ingo@3656: SKIP_HWS=0 ingo@3656: SKIP_GAUGE_LOCATION=0 ingo@3656: SKIP_CATCHMENTS=0 ingo@3656: SKIP_UESG=0 ingo@3656: ingo@3654: exec python shpimporter.py \ ingo@3654: --directory $RIVER_PATH \ ingo@3654: --river_id $RIVER_ID \ ingo@3654: --target_srs $TARGET_SRS \ ingo@3654: --host $HOST \ ingo@3654: --user $USER \ ingo@3654: --password $PASS \ ingo@3656: --verbose $VERBOSE \ ingo@3656: --skip_axis $SKIP_AXIS \ ingo@3656: --skip_kms $SKIP_KMS \ ingo@3656: --skip_crosssections $SKIP_CROSSSECTIONS \ ingo@3656: --skip_lines $SKIP_LINES \ ingo@3656: --skip_fixpoints $SKIP_FIXPOINTS \ ingo@3656: --skip_buildings $SKIP_BUILDINGS \ ingo@3656: --skip_floodplains $SKIP_FLOODPLAINS \ ingo@3656: --skip_hydr_boundaries $SKIP_HYDR_BOUNDARIES \ ingo@3656: --skip_hws $SKIP_HWS \ ingo@3656: --skip_gauge_locations $SKIP_GAUGE_LOCATION \ ingo@3656: --skip_catchments $SKIP_CATCHMENTS \ ingo@3656: --skip_uesgs $SKIP_UESG ingo@3654: