Hi everybody, Christoffer's expression indicates he expects a string as result, because he concatenates 'ha' @Christoffer: I would strongly recommend to use a numeric attribute. For display purposes you can still concatenate 'ha' later on.
Bernhard > Phil Wyatt via QGIS-User <[email protected]> hat am 18.12.2025 08:39 > CET geschrieben: > > > Hi Christoffer, > > > > Make sure the field is Decimal with a precision of 3. It may be that the > field is using integer and the area of the polygon is less than 1 hectare in > which case you need the precision of 3 to get square metres. > > > > Cheers - Phil > > > > From: QGIS-User <[email protected]> On Behalf Of Christoffer > Toft Hviid Jensen via QGIS-User > Sent: Thursday, 18 December 2025 6:23 PM > To: [email protected] > Subject: Re: [Qgis-user] Assistance with Calculating Polygon Area in > Hectares (EPSG:25832) > > > > Hi Andrea > > Oh sorry, i thought this was the support email. > > I hope you might be able to answer my question, and if not would be so kind > to point me toward where i find the support email? > > I am using the 3.44 version. > > the CRS is EPSG:25832 - ETRS89 / UTM zone 32N > > I use this expression round( $area / 10000, 2) || ' ha' in the calculator > box through the attributtable. > > When i click enter, i just get a 0 in the ha field. Could it have something > to do with the background i'm using coming from web-quickmapservice- google > satellite? > > Best regards > > > > Christoffer Hviid > > > > _____ > > Fra: Andrea Giudiceandrea <[email protected] > <mailto:[email protected]> > > Sendt: 17. december 2025 20:55 > Til: [email protected] <mailto:[email protected]> > <[email protected] <mailto:[email protected]> > > Cc: Christoffer Toft Hviid Jensen <[email protected] > <mailto:[email protected]> > > Emne: Re: [Qgis-user] Assistance with Calculating Polygon Area in Hectares > (EPSG:25832) > > > > Hi Christoffer, > this is the QGIS users' mailing list, not the "QGIS Support Team". > > Not sure I understood correctly your issues and why you correlate the > downloading issue to the area calculation issue. > > Anyway, regarding the area calculation issue, please specify the QGIS > version that you are using, the CRS of the layer which the features > geometries are stored in, and what expression you are using (and where > you are using it exactly) in order to obtain the measure of the area in > hectares. > > Obtaining the value in hectares of the area of a feature's geometry in a > ESPG:25832 layer is as simple as using the expression: area(@geometry)/10000 > > See the documentation of the function 'area()' for more info: > https://docs.qgis.org/latest/en/docs/user_manual/expressions/functions_list. > html#id25 > > Regards. > > Andrea > > > Christoffer Toft Hviid Jensen cth at patriotisk.dk > > Wed Dec 17 06:35:44 PST 2025 > > > I am writing to request assistance with a workflow issue in QGIS. > > _______________________________________________ > QGIS-User mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ QGIS-User mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
