Hi, There is a CalcArea2 plugin whose description mentions it should be doing that for polygons. You might want to take ispiration from their code.
Regards, Harrissou Le mar. 11 mars 2025 à 15:55, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer <[email protected]> a écrit : > I need to calculate these values on the fly while I am in an edit session > resizing a polygon or a line. I need the user to see this calculation > while they are editing not after the edits are committed. I already have > the UI set up to capture after commit, but I need to capture while they are > moving vertices and update the values in the UI, so they don’t keep editing > and then committing just to see if they are close. I want them to know > before they commit. > > > > Any idea how to achieve this? > > > > Luke Catania > > US Army ERDC-GRL > > JCMS Site Planning Developer > > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
