[PATCH] Importer scripts: shpimporter needs backend name to play with Oracle
Wald Commits
scm-commit at wald.intevation.org
Thu Jul 25 09:30:43 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1374737439 -7200
# Branch double-precision
# Node ID 89f856e24d27108dfb55d4ad95e75692f8006005
# Parent 765944ca6df0cc8df840becf076c5f16bcb3599c
Importer scripts: shpimporter needs backend name to play with Oracle.
diff -r 765944ca6df0 -r 89f856e24d27 backend/contrib/import_river.sh
--- a/backend/contrib/import_river.sh Wed Jul 24 18:41:22 2013 +0200
+++ b/backend/contrib/import_river.sh Thu Jul 25 09:30:39 2013 +0200
@@ -336,7 +336,7 @@
--directory $RIVER_PATH \
--river_name "$RIVER_NAME" \
--ogr_connection "$OGR_CONNECTION" \
- --host $DBHOST \
+ --host $DBHOST/$BACKEND_NAME \
--user $DBUSER \
--password $DBPASS \
--verbose 1 \
diff -r 765944ca6df0 -r 89f856e24d27 backend/contrib/run_geo.sh
--- a/backend/contrib/run_geo.sh Wed Jul 24 18:41:22 2013 +0200
+++ b/backend/contrib/run_geo.sh Thu Jul 25 09:30:39 2013 +0200
@@ -6,6 +6,7 @@
# Set this to your target database for Oracle
HOST=localhost
+BACKEND_NAME="XE"
USER=flys28
PASS=flys28
# Alternatively you can provide a direct connection string:
@@ -51,7 +52,7 @@
--directory $RIVER_PATH \
--river_name "$RIVER_NAME" \
--ogr_connection "$OGR_CONNECTION" \
- --host $HOST \
+ --host $HOST/$BACKEND_NAME \
--user $USER \
--password $PASS \
--verbose $VERBOSE \
More information about the Dive4elements-commits
mailing list