changeset 7440:e10bfd2d2a5d

Geoimporter: be case-insensitive when looking for floodplains.
author Tom Gottfried <tom@intevation.de>
date Fri, 25 Oct 2013 15:39:59 +0200
parents f3b2aeb27e4b
children e0a806803fcf
files backend/contrib/shpimporter/floodplains.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/contrib/shpimporter/floodplains.py	Fri Oct 25 15:02:08 2013 +0200
+++ b/backend/contrib/shpimporter/floodplains.py	Fri Oct 25 15:39:59 2013 +0200
@@ -29,7 +29,7 @@
 
 
     def isShapeRelevant(self, name, path):
-        return name.find("talaue") >= 0
+        return name.lower().find("talaue") >= 0
 
 
     def createNewFeature(self, featureDef, feat, **args):

http://dive4elements.wald.intevation.org