mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
quick fix for exporting the geometry of 2.5D features, fixes #3149
git-svn-id: http://svn.osgeo.org/qgis/trunk@14536 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1c7e6d6317
commit
fb942e6a53
@ -558,7 +558,7 @@ class geometryThread( QThread ):
|
||||
return True
|
||||
|
||||
def simpleMeasure( self, inGeom ):
|
||||
if inGeom.wkbType() == QGis.WKBPoint:
|
||||
if inGeom.wkbType() in (QGis.WKBPoint, QGis.WKBPoint25D):
|
||||
pt = QgsPoint()
|
||||
pt = inGeom.asPoint()
|
||||
attr1 = pt.x()
|
||||
|
Loading…
x
Reference in New Issue
Block a user