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

Merged double-precision branch.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 16 Oct 2013 13:03:13 +0200 (2013-10-16)
parents 5f48541cd544
children
comparison
equal deleted inserted replaced
7350:760ea7f08455 7352:c6825778de1f
23 def getName(self): 23 def getName(self):
24 return NAME 24 return NAME
25 25
26 26
27 def isGeometryValid(self, geomType): 27 def isGeometryValid(self, geomType):
28 return geomType == 1 28 return geomType == ogr.wkbPoint or geomType == ogr.wkbPoint25D
29 29
30 30
31 def isShapeRelevant(self, name, path): 31 def isShapeRelevant(self, name, path):
32 return name.lower() == "km" 32 return name.lower() == "km"
33 33

http://dive4elements.wald.intevation.org