I have a question regarding the area() and $area function in QGIS and St_Area in PostGIS.
I am trying to calculate the exact area of Polygons stored in a Shapefile in UTM 25832 and do not know which functions are the correct ones to use. I know that the difference between area() and $area in QGIS 3.10 is that the first is calculated planar and the second with ellipsoid.
I have also tried to calculate the area with ST_Area in PostGIS and get the same result as in QGIS with the area function or with ArcMap.
When my data is projected as UTM 32N (EPSG:25832) isn’t it already planar and can be calculated with the simple area() function instead of $area? Or do I have to use the $area function even if it is in UTM32?
$areaexpression will return the ellipsoidal area, no matter what system the layer is in. If you want the planimetric area in your projected CRS, usearea($geometry). Both areas may be considered as exact, they are just different areas. That said, I can't understand your question. – Gabriel De Luca Jan 25 '20 at 03:34area($geometry)function in QGIS. Applied to a geography, I think that it is like convert the geography to a UTM geometry and perform the planimetric area, but I'm not sure. About ArcMap, I don't know how the areas are calculated. – Gabriel De Luca Jan 30 '20 at 04:45