changeset 1193:00323d9e642c

Import german administrative borders using EPSG:4326.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 29 Nov 2016 15:54:48 +0100
parents d667092cc788
children 289edf060550
files db_schema/setup-db.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/db_schema/setup-db.sh	Tue Nov 29 15:51:17 2016 +0100
+++ b/db_schema/setup-db.sh	Tue Nov 29 15:54:48 2016 +0100
@@ -93,7 +93,7 @@
     fi
     unzip -u vg250_${TS}.utm32s.shape.ebenen.zip "*VG250_GEM*"
 #    cd vg250_${TS}.utm32s.shape.ebenen/vg250_ebenen/
-    shp2pgsql vg250_${TS}.utm32s.shape.ebenen/vg250_ebenen/VG250_GEM geo.gem_utm | psql -q $DB_CONNECT_STRING -d $DB_NAME
+    shp2pgsql -s 25832:4326 vg250_${TS}.utm32s.shape.ebenen/vg250_ebenen/VG250_GEM geo.gem_utm | psql -q $DB_CONNECT_STRING -d $DB_NAME
 #   rm -rf vg250_${TS}.utm32s.shape.ebenen
 
     echo fille stammdaten.verwaltungsgrenze
@@ -104,3 +104,5 @@
         psql -q $DB_CONNECT_STRING -d $DB_NAME -f $DIR/lada_auth.sql
     fi
 fi
+
+exec /opt/lada_sql/alter_owner.sh
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)