[Qgis-user] [Modeller] How to calculate area in the graphical modeler of QGIS

Stefan Giese (WhereGroup) stefan.giese at wheregroup.com
Mon Jan 30 05:27:25 PST 2023


Hi,

may be it will be easier to use thhis algorithm: "Add geometry 
attributes" -> 
https://docs.qgis.org/3.10/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html?highlight=exportaddgeometrycolumns#add-geometry-attributes

best regards

Stefan

Am 30.01.2023 um 14:13 schrieb Igor Oliveira Ribeiro via QGIS-User:
> Hi community,
> I need your help. I'm using QGIS 3.10.11 with Grass 7.8.4. I'm 
> building a QGIS modeler and I want to calculate the area of an input 
> polygon.
>
> So, my input polygon is a vector feature. I tried using a field 
> calculator ($area) and Advanced Python Field Calculator (Field 
> "Formula", I used "value = $geom.area() ).
>
> However, nothing is working. When I run the modeler, there is no error 
> message. But, I'dont have the area calculated either.
>
> Thanks for your help.
>
> -- 
>
> See our last paper: <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Impact of biomass burning on a metropolitan area in the Amazon during 
> the 2015 El Niño: The enhancement of carbon monoxide and levoglucosan 
> concentrations. <https://doi.org/10.1016/j.envpol.2020.114029>
>
> 	
>
> Igor Oliveira Ribeiro
>
> Post-Doc on Regional Climate Change, Vulnerability, Impacts and 
> Adaptation - Cuomo Foundation/UEA
>
>
> +55 92 98103 7136 | skype: igorflorestal
>
>
> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas 
> da Amazônia
>
>
> Visite: www.geoescrita.com.br <http://www.geoescrita.com.br>
>
>
> <https://www.linkedin.com/in/igoroliveiraribeiro/><https://www.instagram.com/geoescrita/><https://www.researchgate.net/profile/Igor_Oliveira_Ribeiro><http://lattes.cnpq.br/3909691804095045><https://orcid.org/0000-0002-3529-0525><https://www.geoescrita.com.br/>
>
> Think globally, act locally!
>
>
> _______________________________________________
> 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

-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
**********************************************
FOSSGIS Konferenz
15.-18. März 2023 in Berlin
https://fossgis-konferenz.de/2023/

WhereGroup-Beiträge auf der FOSSGIS
https://wheregroup.com/unternehmen/aktuelles/
**********************************************
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230130/4bbc14d2/attachment.htm>


More information about the QGIS-User mailing list