changeset 5511:4e166c514940

Do not import floodplains as hydr boundaries again
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 28 Mar 2013 15:28:05 +0100
parents d4bee6d5c866
children b91ffd97edc8
files flys-backend/contrib/shpimporter/boundaries.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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

http://dive4elements.wald.intevation.org