mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
ton of available area units (eg m2, km2, mi2, ft2, yd2, ha, ac, etc) Adds a new option in both the QGIS setting and project properties to set the units used for area measurements. Just like the distance setting, this defaults to the units set in QGIS options, but can then be overridden for specific projects. The setting is respected for area calculations in: - Attribute table field update bar - Field calculator calculations - Identify tool derived length and perimeter values Also adds unit tests to ensure that area calculated by attribute table update bar, field calculator and identify tool are consistent wrt ellipsoidal calculations and area units. TODO: make measure tool respect area setting (refs #13209, #4252 and fixes #12939, #2402, #4857)