changeset 1207:6692b3bdc49d

Backout 2f9dfd292ff1 because it reverts d667092cc788. What it intended to fix should have been fixed already with 7f4c473e7856.
author Tom Gottfried <tom@intevation.de>
date Fri, 02 Dec 2016 20:22:56 +0100
parents 4df70458164d
children 9dda1237c756
files db_schema/setup-db.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/db_schema/setup-db.sh	Fri Dec 02 20:13:12 2016 +0100
+++ b/db_schema/setup-db.sh	Fri Dec 02 20:22:56 2016 +0100
@@ -121,12 +121,15 @@
 
     echo downlaod and import german administrative borders
     TS="0101"
+    cd /tmp
     if [ ! -f vg250_${TS}.utm32s.shape.ebenen.zip ]; then
         curl -O \
             http://sg.geodatenzentrum.de/web_download/vg/vg250_${TS}/utm32s/shape/vg250_${TS}.utm32s.shape.ebenen.zip
     fi
     unzip -u vg250_${TS}.utm32s.shape.ebenen.zip "*VG250_GEM*"
+#    cd vg250_${TS}.utm32s.shape.ebenen/vg250_ebenen/
     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
     psql -q $DB_CONNECT_STRING -d $DB_NAME -f $DIR/stammdaten_fill_verwaltungsgrenze.sql
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)