changeset 6738:baae6cbc1086 double-precision

Geo-Importer: Don not import misc. floodplains as hydraulic boundary.
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 01 Aug 2013 10:02:36 +0200
parents 839f1a889c4a
children 30c4276d09f8
files backend/contrib/shpimporter/boundaries.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/contrib/shpimporter/boundaries.py	Wed Jul 31 14:29:12 2013 +0200
+++ b/backend/contrib/shpimporter/boundaries.py	Thu Aug 01 10:02:36 2013 +0200
@@ -84,7 +84,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