diff 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
parents 5f48541cd544
children
line wrap: on
line diff
--- a/backend/contrib/shpimporter/km.py	Wed Oct 16 12:39:33 2013 +0200
+++ b/backend/contrib/shpimporter/km.py	Wed Oct 16 13:03:13 2013 +0200
@@ -25,7 +25,7 @@
 
 
     def isGeometryValid(self, geomType):
-        return geomType == 1
+        return geomType == ogr.wkbPoint or geomType == ogr.wkbPoint25D
 
 
     def isShapeRelevant(self, name, path):

http://dive4elements.wald.intevation.org