[Qgis-developer] [Qgis-user] ShapeTools XY to Line

C Hamilton adenaculture at gmail.com
Fri Mar 17 12:00:00 PDT 2017


I can implement Vincenty as I have some of that code as well - at least for
WGS84. I am not an expert on projections so I am not sure how to change the
code to make it work for any ellipsoid.

On Fri, Mar 17, 2017 at 2:47 PM, Tobias Wendorff <
tobias.wendorff at tu-dortmund.de> wrote:

> Am Fr, 17.03.2017, 19:21 schrieb C Hamilton:
> > How important would it be to implement other geodetic line types ie
> > GEODESIC , RHUMB_LINE, and NORMAL_SECTION.
> > I > had the code for Great Circle so it was easy to implement,
> > but I don't know how to implement the others.
>
> Try to implement "Vincenty's formulae". It's very easy and much more
> accurate than "Great Circle":
>
> https://en.wikipedia.org/wiki/Vincenty's_formulae
>
> Perhaps I can give it a try. Did something equal in the past, but
> without a GUI :)
>
> "Great Circle" and "Vincenty" work with any ellipsoid. Projecting the
> current CRS to WGS84 first might be faulty. To get more accurate results,
> it might be better to use the current ellipsoid.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170317/b42b722f/attachment.html>


More information about the Qgis-developer mailing list