[Qgis-user] Area Calculations - what the h... is going on?

Neumann, Andreas a.neumann at carto.net
Thu Jul 6 08:16:49 PDT 2017


Hi Morten, 

Sounds familiar - see
http://osgeo-org.1560.x6.nabble.com/Area-calculation-issues-td5305669.html


Perhaps you have an older version of 2.18 without the bug fix? Note that
there is now version 2.8.10 with numerous bug fixes since 2.18.3 (which
you seem to use). 

Andreas 

On 2017-07-06 16:38, magerlin wrote:

> I normally use $area in the field calculator to calculate areas of polygon
> but now this is really weird.
> 
> I have 5 polygons in the same shape file and tries to calculate the areas -
> but two of the polygon get areas of about 100 times as big as they should be
> while the 3 remaining polygons get ok areas. If I use area($geometry)
> instead I get OK areas:
> 
> <http://osgeo-org.1560.x6.nabble.com/file/n5326908/Area_Calc.png> 
> 
> According to the field calculator:
> $area: The area calculated by this function respects both the current
> project's ellipsoid setting and area unit settings
> 
> Area($geometry):  Calculations are always planimetric in the Spatial
> Reference System (SRS) of this geometry, and the units of the returned area
> will match the units for the SRS.
> 
> According to the "Topology Checker" the topology of the polygons are OK.
> 
> The file is here (EPSG: 32634): 
> Test_Area.zip
> <http://osgeo-org.1560.x6.nabble.com/file/n5326908/Test_Area.zip>  
> 
> -----
> Regards Morten
> 
> Currently using Qgis 2.18.3 (OSGeo4),
> Windows 7, 64bit
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Area-Calculations-what-the-h-is-going-on-tp5326908.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170706/7deb4911/attachment.html>


More information about the Qgis-user mailing list