<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Dear Nyall,</p>
<p>Thank you so much for analyzing the issue and also thank you in advance for porting the fix to 2.18!</p>
<p>I opened the sample project with 2.14 and I can confirm that the area values of both planimetric and ellipsoidic area calculations are very close for all features.</p>
<p>It is very much appreciated!</p>
<p>Thanks,</p>
<p>Andreas</p>
<p>On 2017-02-03 01:36, Nyall Dawson wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 1 February 2017 at 19:55, Neumann, Andreas <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> Hi Nyall,<br /><br /> Thanks for the explanations. I should have read the explanations of the help text more closely. It explains it all.<br /><br /> However, there still seem to be issues. Consider the following results below. First column is the result of $area, second column is area($geometry).<br /><br /> Sometimes the results are very close, in other cases the difference is massive. Like in the very first row. 32'087 vs 190'605'589 square meters. This can't be explained with ellipsoidical vs. planimetric. In this first row, the result of area($geometry) (planimetric) seems correct, while the ellipsoidical result ($area) is massively wrong.<br /><br /> How can this huge difference be explained?</blockquote>
<br /> Ok - I've looked into this. It's not an issue in 2.14 or 3.0, just 2.18.<br /><br /> It was most likely fixed by:<br /><a href="https://github.com/qgis/QGIS/commit/abc0919">https://github.com/qgis/QGIS/commit/abc0919</a> "Fix area calculation of<br /> compoundcurve rings if they contain a 2-vertex linestring"<br /><br /> Committed to 2.14 (with unit tests), I forward ported to 3.0, but it<br /> hasn't been applied to 2.18. I'll do this.<br /><br /> Nyall</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>