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

magerlin MAP at ramboll.dk
Thu Jul 6 07:38:33 PDT 2017


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.



More information about the Qgis-user mailing list