<div dir="ltr"><div>This is one of the reasons why I wrote Geodesic Measure tool that is part of Shape Tools. It is based on geographiclib's distance measures and is relative accurate. I never knew whether I had the default QGIS measure tool set correctly or not to give accurate measurements. More accurate measurements could be obtained using geographiclib's gravity models such as EGM2008, but that would require shipping the associated data which is large.</div><div><br></div><div>By the way I found out that the latest versions of proj.4 integrated geographiclib. Is there a way to call these routines from a python plugin in QGIS. I would assume the C code would be faster than the python library which is what I use.</div><div><br></div><div>All the best.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 4, 2018 at 3:07 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Il 04/05/2018 01:18, Nyall Dawson ha scritto:<br>
<br>
> It's not a bug as much as very confusing 2.x behavior. The obscure<br>
> link between a "rendering" setting (OTF projection) and ellipsoidal<br>
> calculations (area/distance) is extremely confusing for users. We<br>
> couldn't change this in 2.x because of the API freeze and how embedded<br>
> this logic was in many areas of QGIS code and API.<br>
<br>
</span>I understand, thanks for the explanation. Then why not disabling<br>
measurements when OTF is off? giving a totally false measurement does<br>
not seem a good idea.<br>
I believe 2.18 will be around for a good while, and I hate sending<br>
around wrong results of which the user has no clue whatsoever.<br>
Still unclear to me why the lack of ellipsoid would lead to 40% error,<br>
but that's my ignorance.<br>
All the best.<br>
<span class="im HOEnZb">-- <br>
Paolo Cavallini - <a href="http://www.faunalia.eu" target="_blank" rel="noreferrer">www.faunalia.eu</a><br>
QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" target="_blank" rel="noreferrer">http://www.faunalia.eu/<wbr>training.html</a><br>
<a href="https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis" target="_blank" rel="noreferrer">https://www.google.com/trends/<wbr>explore?date=all&geo=IT&q=<wbr>qgis,arcgis</a><br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noreferrer">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noreferrer">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></div></div></blockquote></div><br></div>