[Qgis-user] Assistance with Calculating Polygon Area in Hectares (EPSG:25832)
Bernhard Ströbl
nospam at stroweb.de
Thu Dec 18 00:37:38 PST 2025
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 <qgis-user at lists.osgeo.org> 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 <qgis-user-bounces at lists.osgeo.org> On Behalf Of Christoffer
> Toft Hviid Jensen via QGIS-User
> Sent: Thursday, 18 December 2025 6:23 PM
> To: qgis-user at lists.osgeo.org
> 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 <andreaerdna at libero.it
> <mailto:andreaerdna at libero.it> >
> Sendt: 17. december 2025 20:55
> Til: qgis-user at lists.osgeo.org <mailto:qgis-user at lists.osgeo.org>
> <qgis-user at lists.osgeo.org <mailto:qgis-user at lists.osgeo.org> >
> Cc: Christoffer Toft Hviid Jensen <cth at patriotisk.dk
> <mailto:cth at patriotisk.dk> >
> 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
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the QGIS-User
mailing list