<div dir="ltr"><div><div>Hi Nyall (and list)<br><br></div>A small projecto with UTM and GEO layers can be downloaded from dropbox:<br><br><a href="https://www.dropbox.com/s/c4cfb48r5326vrk/Cajamarca.zip?dl=0">https://www.dropbox.com/s/c4cfb48r5326vrk/Cajamarca.zip?dl=0</a><br><br>Attribute table has the correct area in AreaKm2 field (and in these unities). "AreaOTFoff" is the area given by field calculator when "On The Fly transformation" is deactivated. "AreaOTF_on" is the area with it activated.<br><br></div><div>So: when I have a GEO layer, I can't calculate correct area directly in that layer: I've to reproject to UTM and deactivate automatic transformation of SRCs, to use field calculator expecting correct values.<br><br></div><div>OS : Ubuntu 16.04<br>QGIS : 2.16.3<br>SRC settings: by default (ellipsoide WGS84 for measures)<br><br></div>Thank you for your interest<br><div><div><br></div><div>Carlos Cerdán<br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-14 15:14 GMT-05:00 Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr"></p>
<p dir="ltr">On 15 Oct 2016 12:51 AM, "Carlos Cerdán" <<a href="mailto:sig.upagu@gmail.com" target="_blank">sig.upagu@gmail.com</a>> wrote:<br>
><br>
> Hi Nyall<br>
><br>
> 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>
><br>
> 1. SRC was seted in UTM<br>
><br>
> 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>
><br>
> 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>
><br>
> What about a general option to set the prefered SRC to calculate areas and lengths with OTF active?</p>
</span><p dir="ltr">Hi Carlos,</p>
<p dir="ltr">Can you please share your file? Cut it down to just a few polygons and let me know what area you expect to see. Email direct to myself.</p>
<p dir="ltr">Thanks!</p><span class="HOEnZb"><font color="#888888">
</font></span><p dir="ltr"><span class="HOEnZb"><font color="#888888">Nyall</font></span></p><div><div class="h5"><br>
><br>
> Regards from Peru<br>
><br>
> Carlos<br>
><br>
><br>
><br>
> 2016-10-12 18:06 GMT-05:00 Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>>:<br>
>><br>
>> On 12 Oct 2016 11:56 PM, "Carlos Cerdán" <<a href="mailto:sig.upagu@gmail.com" target="_blank">sig.upagu@gmail.com</a>> wrote:<br>
>> ><br>
>> > 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>
>><br>
>> Everything should be fixed in recent versions, and I very (VERY) much want to know if any issues are still encountered.<br>
>><br>
>> 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>
>><br>
>> Nyall<br>
>><br>
>><br>
>> ><br>
>> > If you can't get correct area values, check out about it....<br>
>> ><br>
>> ><br>
>> > 2016-10-12 7:40 GMT-05:00 DelazJ <<a href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>>:<br>
>> >><br>
>> >> Hi,<br>
>> >> To complete Nicolas answer, you should check what are the measurements options set in Project --> Project Properties --> General tab.<br>
>> >> See also <a href="http://docs.qgis.org/2.14/en/docs/user_manual/introduction/general_tools.html#measuring" target="_blank">http://docs.qgis.org/2.14/en/<wbr>docs/user_manual/introduction/<wbr>general_tools.html#measuring</a><br>
>> >><br>
>> >> 2016-10-12 14:07 GMT+02:00 Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca" target="_blank">nicolas.cadieux@archeotec.ca</a>><wbr>:<br>
>> >>><br>
>> >>> Hi,<br>
>> >>> You may be calculating square degrees and not metres. It can depend on the crs depending on the tools you are using.<br>
>> >>> Nicolas<br>
>> >>><br>
>> >>> Le 11 oct. 2016 à 08:54, Martina Schäfer [via OSGeo.org] <[hidden email]> a écrit :<br>
>> >>><br>
>> >>>> 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>
>> >>>><br>
>> >>>> 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>
>> >>>><br>
>> >>>> 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>
>> >>>><br>
>> >>>> I need to rely on the area-calculations thus I really hope someone here can explain to me what is happening! <br>
>> >>>><br>
>> >>>> Thanks in advance, <br>
>> >>>> Martina <br>
>> >>>><br>
>> >>>><br>
>> >>>><br>
>> >>>><br>
>> >>>> ______________________________<wbr>__<br>
>> >>>> If you reply to this email, your message will be added to the discussion below:<br>
>> >>>> <a href="http://osgeo-org.1560.x6.nabble.com/inconsistenty-when-calculating-area-depending-on-file-type-or-projection-tp5290228.html" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/inconsistenty-when-<wbr>calculating-area-depending-on-<wbr>file-type-or-projection-<wbr>tp5290228.html</a><br>
>> >>>> To start a new topic under Quantum GIS - User, email [hidden email] <br>
>> >>>> To unsubscribe from Quantum GIS - User, click here.<br>
>> >>>> NAML<br>
>> >>><br>
>> >>><br>
>> >>> ______________________________<wbr>__<br>
>> >>> View this message in context: Re: inconsistenty when calculating area depending on file type or projection?<br>
>> >>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
>> >>><br>
>> >>> ______________________________<wbr>_________________<br>
>> >>> Qgis-user mailing list<br>
>> >>> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
>> >>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>> >>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >> ______________________________<wbr>_________________<br>
>> >> Qgis-user mailing list<br>
>> >> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
>> >> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>> >> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > Qgis-user mailing list<br>
>> > <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
>> > List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
>> > Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
><br>
></div></div><p></p>
</blockquote></div><br></div>