comparison backend/contrib/shpimporter/boundaries.py @ 7352:c6825778de1f

Merged double-precision branch.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 16 Oct 2013 13:03:13 +0200
parents baae6cbc1086
children
comparison
equal deleted inserted replaced
7350:760ea7f08455 7352:c6825778de1f
82 return geomType == ogr.wkbPolygon or geomType == ogr.wkbMultiPolygon 82 return geomType == ogr.wkbPolygon or geomType == ogr.wkbMultiPolygon
83 83
84 def isShapeRelevant(self, name, path): 84 def isShapeRelevant(self, name, path):
85 shp = ogr.Open(path) 85 shp = ogr.Open(path)
86 if self.isGeometryValid(shp.GetLayerByName(name).GetGeomType()) and \ 86 if self.isGeometryValid(shp.GetLayerByName(name).GetGeomType()) and \
87 self.getKind(path) > 0: 87 self.getKind(path) > 0 and not "talaue" in path.lower():
88 return True 88 return True
89 else: 89 else:
90 return False 90 return False
91 91
92 def createNewFeature(self, featureDef, feat, **args): 92 def createNewFeature(self, featureDef, feat, **args):

http://dive4elements.wald.intevation.org