Hello,
Have you tried this following code? Using
iface.mapCanvas().mapTool().pointsZM() is good for me with any
digitizing tool, while drawing.
# Measurement object (adapt with crs/transform context/ellipsoid)
da = QgsDistanceArea()
da.setSourceCrs(QgsProject.instance().crs(),
QgsProject.in
Have you considered listening to the featureAdded signal instead?
The digitizing shape (aka rubberband) you see while digitizing is not
really accessible. In fact, it isn't guaranteed to be the geometry of the
feature being created. It could even not exist at all ; this is all
dependent on the curr
When you digitize a shape using the Edit menu in QGIS is the shape accessible?
I am looking to get he area of the shape as it is drawn. I have added an event
filter to my code to capture the coordinates and calculate it by creating a
QgsGeometry, but my code is getting complicated as there are