Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/axis.py @ 3677:c37effda3655
Added 'path' attribute to each geo relation; adapted the shape importer to set the path for each feature.
flys-backend/trunk@5309 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 30 Aug 2012 09:51:04 +0000 |
parents | 8654e4480fc6 |
children | 23a090b41543 |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/axis.py Thu Aug 30 08:59:50 2012 +0000 +++ b/flys-backend/contrib/shpimporter/axis.py Thu Aug 30 09:51:04 2012 +0000 @@ -27,7 +27,7 @@ def isShapeRelevant(self, name, path): - return name == "achse" + return name == "achse" or name.find("achse") >= 0 def createNewFeature(self, featureDef, feat, **args):