[Dive4elements-commits] [PATCH 1 of 8] Do not import floodplains as hydr boundaries again

Wald Commits scm-commit at wald.intevation.org
Thu Mar 28 17:15:21 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1364480885 -3600
# Node ID 4e166c514940c38f4fcd360d8666026b6fa81f80
# Parent  d4bee6d5c86660e448e0ac5793ee91c3753d6735
Do not import floodplains as hydr boundaries again

diff -r d4bee6d5c866 -r 4e166c514940 flys-backend/contrib/shpimporter/boundaries.py
--- a/flys-backend/contrib/shpimporter/boundaries.py	Thu Mar 28 16:51:32 2013 +0100
+++ b/flys-backend/contrib/shpimporter/boundaries.py	Thu Mar 28 15:28:05 2013 +0100
@@ -32,7 +32,7 @@
     def isShapeRelevant(self, name, path):
         shp = ogr.Open(path)
         if self.isGeometryValid(shp.GetLayerByName(name).GetGeomType()) and \
-                self.getKind(path) > 0:
+                self.getKind(path) > 0 and not "talaue" in path.lower():
             return True
         else:
             return False


More information about the Dive4elements-commits mailing list