<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px">It would be nice if QGIS generally gave spherical (or spheroidal) areas - pretty much anything else is questionable.<br><div id="yui_3_16_0_ym19_1_1476477964343_18901"><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1476477964343_19110">Brent<br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1476477964343_19114" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1476477964343_19113"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1476477964343_19112"> <div dir="ltr" id="yui_3_16_0_ym19_1_1476477964343_19111"> <font id="yui_3_16_0_ym19_1_1476477964343_19115" size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> "Blumentrath, Stefan" <Stefan.Blumentrath@nina.no><br> <b><span style="font-weight: bold;">To:</span></b> Nyall Dawson <nyall.dawson@gmail.com>; Andrew <amcaninch@gmail.com> <br><b><span style="font-weight: bold;">Cc:</span></b> qgis-user <qgis-user@lists.osgeo.org><br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, October 15, 2016 9:34 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Qgis-user] inconsistenty when calculating area depending on file type or projection?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1476477964343_19116"><br><div id="yiv6854155846"><style>#yiv6854155846 #yiv6854155846 --
_filtered #yiv6854155846 {panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered #yiv6854155846 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv6854155846
#yiv6854155846 p.yiv6854155846MsoNormal, #yiv6854155846 li.yiv6854155846MsoNormal, #yiv6854155846 div.yiv6854155846MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv6854155846 a:link, #yiv6854155846 span.yiv6854155846MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv6854155846 a:visited, #yiv6854155846 span.yiv6854155846MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv6854155846 p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}
#yiv6854155846 span.yiv6854155846EmailStyle18
{color:#1F497D;}
#yiv6854155846 .yiv6854155846MsoChpDefault
{font-size:10.0pt;}
_filtered #yiv6854155846 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
#yiv6854155846 div.yiv6854155846WordSection1
{}
#yiv6854155846 </style><div id="yui_3_16_0_ym19_1_1476477964343_19119">
<div class="yiv6854155846WordSection1" id="yui_3_16_0_ym19_1_1476477964343_19118">
<div class="yiv6854155846MsoNormal"><span style="font-size:11.0pt;" lang="EN-US">Hi,</span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19117"><span style="font-size:11.0pt;" lang="EN-US"> </span></div>
<div class="yiv6854155846MsoNormal"><span style="font-size:11.0pt;" lang="EN-US">As far as I know, Webmercator (EPSG:3857) is not suitable for area measurements at all. So no surprise that you get “wrong”
results with that CRS.</span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19120"><span style="font-size:11.0pt;" lang="EN-US">See for example:
<a rel="nofollow" shape="rect" target="_blank" href="http://blog.geogarage.com/2014/09/advisory-notice-on-web-mercator.html">
http://blog.geogarage.com/2014/09/advisory-notice-on-web-mercator.html</a></span></div>
<div class="yiv6854155846MsoNormal"><span style="font-size:11.0pt;" lang="EN-US"> </span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19121"><span style="font-size:11.0pt;" lang="EN-US">Cheers</span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19122"><span style="font-size:11.0pt;" lang="EN-US">Stefan</span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19123"><span style="font-size:11.0pt;" lang="EN-US"> </span></div>
<div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19124"><span style="font-size:11.0pt;" lang="EN-US"> </span></div>
<div class="yiv6854155846yqt9239573199" id="yiv6854155846yqt17324"><div class="yiv6854155846MsoNormal" id="yui_3_16_0_ym19_1_1476477964343_19125"><b><span style="font-size:11.0pt;" lang="EN-US">From:</span></b><span style="font-size:11.0pt;" id="yui_3_16_0_ym19_1_1476477964343_19126" lang="EN-US"> Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Nyall Dawson<br clear="none">
<b>Sent:</b> 14. oktober 2016 22:16<br clear="none">
<b>To:</b> Andrew <amcaninch@gmail.com><br clear="none">
<b>Cc:</b> qgis-user <qgis-user@lists.osgeo.org><br clear="none">
<b>Subject:</b> Re: [Qgis-user] inconsistenty when calculating area depending on file type or projection?</span></div>
<div class="yiv6854155846MsoNormal"><span lang="EN-US"> </span></div>
<div><span lang="EN-US">On 15 Oct 2016 1:50 AM, "Andrew" <</span><a rel="nofollow" shape="rect" ymailto="mailto:amcaninch@gmail.com" target="_blank" href="mailto:amcaninch@gmail.com"><span lang="EN-US">amcaninch@gmail.com</span></a><span lang="EN-US">> wrote:<br clear="none">
><br clear="none">
> Nyall,<br clear="none">
><br clear="none">
> in 2.14.6 I get incorrect areas in a layer with CRS 3857 but not with a layer CRS 26910(UTM 10N).
<br clear="none">
><br clear="none">
> With the UTM layer I get different areas with OTR on and off, but the difference is small and I assume it is just due to the different ellipsoids.<br clear="none">
><br clear="none">
> When calculating area in the field calculator with a layer whose CRS is 3857 I get the correct area in these cases: 1) OTR is turned off or 2)ellipsiod is set to None/planimetric.
<br clear="none">
><br clear="none">
> If the default ellipsoid for the project CRS is kept I get incorrect area values with 2 different project CRS': 3857 and 26910(UTM 10N).
<br clear="none">
><br clear="none">
> the difference in values is large and variable, for instance:<br clear="none">
> correct vs incorrect<br clear="none">
> 20243 sqm vs 612695 sqm <br clear="none">
> 1333 sqm vs 721 sqm</span></div>
<div><span lang="EN-US">Hi Andrew,</span></div>
<div><span lang="EN-US">Can you please share your file? Cut it down to just a few polygons and let me know what area you expect to see for each. Email direct to myself.</span></div>
<div><span lang="EN-US">Thanks!</span></div>
<div><span lang="EN-US">Nyall</span></div>
<div><span lang="EN-US">><br clear="none">
> Andrew<br clear="none">
><br clear="none">
> On Fri, Oct 14, 2016 at 7:51 AM, Carlos Cerdán <</span><a rel="nofollow" shape="rect" ymailto="mailto:sig.upagu@gmail.com" target="_blank" href="mailto:sig.upagu@gmail.com"><span lang="EN-US">sig.upagu@gmail.com</span></a><span lang="EN-US">> wrote:<br clear="none">
>><br clear="none">
>> Hi Nyall<br clear="none">
>><br clear="none">
>> I'm afraid that 2.16 has still this issue. I've loaded an UTM-17 south layer (my zone) and a Lat-long layer and:<br clear="none">
>><br clear="none">
>> 1. SRC was seted in UTM<br clear="none">
>><br clear="none">
>> 2. In UTM layer, if OTF SRC transformation is active, I get different area than if it's deactivated. Correct value is the last one.<br clear="none">
>><br clear="none">
>> 3. In Lat-long layer, if OTF SRC transformation is active, calculated area is same as the wrong value of first layer. I can't get the correct value in this layer, so I have to reproject into a new one and do step 2 (with OTF deactivated).<br clear="none">
>><br clear="none">
>> What about a general option to set the prefered SRC to calculate areas and lengths with OTF active?<br clear="none">
>><br clear="none">
>> Regards from Peru<br clear="none">
>><br clear="none">
>> Carlos<br clear="none">
>><br clear="none">
>><br clear="none">
>><br clear="none">
>> 2016-10-12 18:06 GMT-05:00 Nyall Dawson <</span><a rel="nofollow" shape="rect" ymailto="mailto:nyall.dawson@gmail.com" target="_blank" href="mailto:nyall.dawson@gmail.com"><span lang="EN-US">nyall.dawson@gmail.com</span></a><span lang="EN-US">>:<br clear="none">
>>><br clear="none">
>>> On 12 Oct 2016 11:56 PM, "Carlos Cerdán" <</span><a rel="nofollow" shape="rect" ymailto="mailto:sig.upagu@gmail.com" target="_blank" href="mailto:sig.upagu@gmail.com"><span lang="EN-US">sig.upagu@gmail.com</span></a><span lang="EN-US">> wrote:<br clear="none">
>>> ><br clear="none">
>>> > AFAIK, It also is needed to turn off "on the fly SRC transformation" to get correct area values.... Or QGIS has fixed this point?<br clear="none">
>>><br clear="none">
>>> Everything should be fixed in recent versions, and I very (VERY) much want to know if any issues are still encountered.<br clear="none">
>>><br clear="none">
>>> Calculating area/length is a core task for a GIS and we need to make sure it's rock solid. (Which it should be since 2.16!)<br clear="none">
>>><br clear="none">
>>> Nyall<br clear="none">
>>><br clear="none">
>>><br clear="none">
>>> ><br clear="none">
>>> > If you can't get correct area values, check out about it....<br clear="none">
>>> ><br clear="none">
>>> ><br clear="none">
>>> > 2016-10-12 7:40 GMT-05:00 DelazJ <</span><a rel="nofollow" shape="rect" ymailto="mailto:delazj@gmail.com" target="_blank" href="mailto:delazj@gmail.com"><span lang="EN-US">delazj@gmail.com</span></a><span lang="EN-US">>:<br clear="none">
>>> >><br clear="none">
>>> >> Hi,<br clear="none">
>>> >> To complete Nicolas answer, you should check what are the measurements options set in Project --> Project Properties --> General tab.<br clear="none">
>>> >> See also </span><a rel="nofollow" shape="rect" target="_blank" href="http://docs.qgis.org/2.14/en/docs/user_manual/introduction/general_tools.html#measuring"><span lang="EN-US">http://docs.qgis.org/2.14/en/docs/user_manual/introduction/general_tools.html#measuring</span></a><span lang="EN-US"><br clear="none">
>>> >><br clear="none">
>>> >> 2016-10-12 14:07 GMT+02:00 Nicolas Cadieux <</span><a rel="nofollow" shape="rect" ymailto="mailto:nicolas.cadieux@archeotec.ca" target="_blank" href="mailto:nicolas.cadieux@archeotec.ca"><span lang="EN-US">nicolas.cadieux@archeotec.ca</span></a><span lang="EN-US">>:<br clear="none">
>>> >>><br clear="none">
>>> >>> Hi,<br clear="none">
>>> >>> You may be calculating square degrees and not metres. It can depend on the crs depending on the tools you are using.<br clear="none">
>>> >>> Nicolas<br clear="none">
>>> >>><br clear="none">
>>> >>> Le 11 oct. 2016 à 08:54, Martina Schäfer [via OSGeo.org] <[hidden email]> a écrit :<br clear="none">
>>> >>><br clear="none">
>>> >>>> I experienced some confusion with calculation of area using the field calculator in QGIS version 2.16.3. Since I'm using MapInfo Professional as well, I mainly use tab-files that I can open in both programmes, but occasionally I save as shapefile since
this used to be the default in QGIS. <br clear="none">
>>> >>>><br clear="none">
>>> >>>> When comparing files, I coincidently realized that there was a mismatch in calculated area for the shapefile and the tab-file for exactly the same polygons! I used the field calculator in the attribute table in both cases, but for the shapefile the
resulting areas were almost doubled in area compared to the tab-file. Any idea why this is happening?
<br clear="none">
>>> >>>><br clear="none">
>>> >>>> I also realized similar differences when calculating area in a file where projection has been converted from SWEREF99TM (a Swedish national projection) to WGS84. There differences occurred in both the tab and shapefile compared to the area calculated
for the same tab-file in MapInfo. Again I find this very confusing! <br clear="none">
>>> >>>><br clear="none">
>>> >>>> I need to rely on the area-calculations thus I really hope someone here can explain to me what is happening!
<br clear="none">
>>> >>>><br clear="none">
>>> >>>> Thanks in advance, <br clear="none">
>>> >>>> Martina <br clear="none">
>>> >>>><br clear="none">
>>> >>>><br clear="none">
>>> >>>><br clear="none">
>>> >>>><br clear="none">
>>> >>>> ________________________________<br clear="none">
>>> >>>> If you reply to this email, your message will be added to the discussion below:<br clear="none">
>>> >>>> </span><a rel="nofollow" shape="rect" target="_blank" href="http://osgeo-org.1560.x6.nabble.com/inconsistenty-when-calculating-area-depending-on-file-type-or-projection-tp5290228.html"><span lang="EN-US">http://osgeo-org.1560.x6.nabble.com/inconsistenty-when-calculating-area-depending-on-file-type-or-projection-tp5290228.html</span></a><span lang="EN-US"><br clear="none">
>>> >>>> To start a new topic under Quantum GIS - User, email [hidden email] <br clear="none">
>>> >>>> To unsubscribe from Quantum GIS - User, click here.<br clear="none">
>>> >>>> NAML<br clear="none">
>>> >>><br clear="none">
>>> >>><br clear="none">
>>> >>> ________________________________<br clear="none">
>>> >>> View this message in context: Re: inconsistenty when calculating area depending on file type or projection?<br clear="none">
>>> >>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br clear="none">
>>> >>><br clear="none">
>>> >>> _______________________________________________<br clear="none">
>>> >>> Qgis-user mailing list<br clear="none">
>>> >>> </span><a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org"><span lang="EN-US">Qgis-user@lists.osgeo.org</span></a><span lang="EN-US"><br clear="none">
>>> >>> List info: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>>> >>> Unsubscribe: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>>> >><br clear="none">
>>> >><br clear="none">
>>> >><br clear="none">
>>> >> _______________________________________________<br clear="none">
>>> >> Qgis-user mailing list<br clear="none">
>>> >> </span><a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org"><span lang="EN-US">Qgis-user@lists.osgeo.org</span></a><span lang="EN-US"><br clear="none">
>>> >> List info: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>>> >> Unsubscribe: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>>> ><br clear="none">
>>> ><br clear="none">
>>> ><br clear="none">
>>> > _______________________________________________<br clear="none">
>>> > Qgis-user mailing list<br clear="none">
>>> > </span><a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org"><span lang="EN-US">Qgis-user@lists.osgeo.org</span></a><span lang="EN-US"><br clear="none">
>>> > List info: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>>> > Unsubscribe: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>><br clear="none">
>><br clear="none">
>><br clear="none">
>> _______________________________________________<br clear="none">
>> Qgis-user mailing list<br clear="none">
>> </span><a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org"><span lang="EN-US">Qgis-user@lists.osgeo.org</span></a><span lang="EN-US"><br clear="none">
>> List info: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
>> Unsubscribe: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
><br clear="none">
><br clear="none">
><br clear="none">
> _______________________________________________<br clear="none">
> Qgis-user mailing list<br clear="none">
> </span><a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org"><span lang="EN-US">Qgis-user@lists.osgeo.org</span></a><span lang="EN-US"><br clear="none">
> List info: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"><br clear="none">
> Unsubscribe: </span><a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user"><span lang="EN-US">http://lists.osgeo.org/mailman/listinfo/qgis-user</span></a><span lang="EN-US"></span></div></div>
</div>
</div></div><br><div class="yqt9239573199" id="yqt60732">_______________________________________________<br clear="none">Qgis-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br clear="none">List info: <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br clear="none">Unsubscribe: <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div><br><br></div> </div> </div> </div></div></body></html>