We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7e6d6 commit fb942e6Copy full SHA for fb942e6
python/plugins/fTools/tools/doGeometry.py
@@ -558,14 +558,14 @@ def layer_extent( self ):
558
return True
559
560
def simpleMeasure( self, inGeom ):
561
- if inGeom.wkbType() == QGis.WKBPoint:
+ if inGeom.wkbType() in (QGis.WKBPoint, QGis.WKBPoint25D):
562
pt = QgsPoint()
563
pt = inGeom.asPoint()
564
attr1 = pt.x()
565
attr2 = pt.y()
566
else:
567
measure = QgsDistanceArea()
568
- attr1 = measure.measure(inGeom)
+ attr1 = measure.measure(inGeom)
569
if inGeom.type() == QGis.Polygon:
570
attr2 = self.perimMeasure( inGeom, measure )
571
0 commit comments