<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>+1 for getting these improvements in QGIS core, rather than in a plugin.</p>
<p>fyi: <a href="https://map.geo.admin.ch/">https://map.geo.admin.ch/</a> has an interesting "all-in-one" measure tool, which could server as an inspiration for QGIS.</p>
<p>If you start with a new measure line, you first get a circle with distance and bearing. It also shows markers with labels along the line with round distances (e.g. 500m, 1000m, etc.). If you close the polygon by going back to the first vertex, it autosnaps and shows the area. So it is really just one single tool, but it helps to show distances, bearings and areas - along with an elevation profile.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2017-06-12 10:27, 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 10 June 2017 at 02:30, C Hamilton <<a href="mailto:adenaculture@gmail.com">adenaculture@gmail.com</a>> wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Several weeks ago I had proposed a geodesic measure tool that also includes<br /> the bearing from point A to B and bearing from B to A. Nyall suggested that<br /> this capability be added to the QGIS measure tool. The question is would you<br /> want this with the QGIS measure tool or should it be a separate plugin?</blockquote>
<br /> My strong vote would be towards extending the QGIS measure tool. To me<br /> that's a better solution then requiring users to download a plugin,<br /> and having to reimplement all the (complex) logic of the measure tool<br /> again in a python plugin.<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> 1. Where the current measure tool has 'Segments' there would be two more<br /> columns with 'Bearing to' and 'Bearing from'.</blockquote>
<br /> Sounds good!<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> 2. I would like to see a check box or selection widget of some sort that<br /> chooses between using Geodesic math or the current method of calculating the<br /> distances which I am still unsure on how it is doing its calculations.</blockquote>
<br /> If you expand down the info box you'll get a detailed description of<br /> exactly how QGIS is calculating the distances. Is there something<br /> missing there?<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Right now it could use the Vincinty algorithms in QGIS to calculate the<br /> distances, but eventually I would like to see the geographiclib algorithms<br /> used.</blockquote>
<br /> I'd start with the bearing changes (since they are self contained, and<br /> the methods for calculating bearing are already present in the QGIS<br /> api). Then using geographiclib could be discussed as a separate set of<br /> changes, to be decided on its own merit. If you mix these two changes<br /> it's likely to get bogged down as one or other part of the changes are<br /> debated.<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">If this is of interest then I will attempt to get a QGIS development<br /> environment running to help make the changes to the core measure tool;<br /> otherwise, I will just create a plugin to do this. If I create a plugin I<br /> will use the geographiclib python library to do the calculations.<br /><br /> Thoughts?</blockquote>
<br /> Go the core! Let us know if you need help setting up a dev<br /> environment. It's actually much easier for 3.0 then it was for 2.x<br /> (especially on windows).<br /><br /> Nyall<br /> _______________________________________________<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">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>