diff flys-backend/contrib/shpimporter/boundaries.py @ 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 71a24278322c
children b91ffd97edc8
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