Re: [Qgis-user] Different values for $area and 'Add Geometry Attributes'

2025-03-15 Thread Andrea Giudiceandrea via QGIS-User
Hi Jochen, I forgot to mention that the "Add geometry attributes" processing algorithm can calculate length, perimeter and area values either planimetric in the layer's CRS (as the "length", "perimeter", and "area" functions) or planimetric in the project's CRS or ellipsoidal (as the "$length"

Re: [Qgis-user] Different values for $area and 'Add Geometry Attributes'

2025-03-15 Thread Nigel Berjak - General via QGIS-User
Hi Jochen The alternative to $area is to use area($geometry), which then applies the area based upon the CRS of the layer and the specific geometry, instead of the project. Perhaps this is what you are needing to apply. --- Regards, Nigel Berjak Please consider the environment before printin

Re: [Qgis-user] Different values for $area and 'Add Geometry Attributes'

2025-03-14 Thread Andrea Giudiceandrea via QGIS-User
Il 14/03/2025 15:38, Jochen Albrecht ha scritto: Thank you, Andrea. But let me reiterate that the layer is projected, so the default should in either case be to apply the algorithm. $area does not allow me to specify projection parameters. But by playing with that option for the other tool, I fo

Re: [Qgis-user] Different values for $area and 'Add Geometry Attributes'

2025-03-13 Thread Andrea Giudiceandrea via QGIS-User
Hi Jochen, as described in the user manual, the "Add geometry attributes" processing algorithm [1] "generates a new vector layer ... containing geometric measurements based on a selected CRS.", i.e. it measures Cartesian planimetric length and area on the CRS's cartographic plane. The "$area"

[Qgis-user] Different values for $area and 'Add Geometry Attributes'

2025-03-13 Thread Jochen Albrecht via QGIS-User
I am working with a projected vector layer (EPSG:31287) that, after dissolving polygons, has just two areas with no more than 20 vertices each. The total area should be exactly one million square meters. When I use the Add Geometry Attributes function, the sum of the calculated areas is less than a