[Qgis-developer] Vincenty's Formulae
Martin Dobias
wonder.sk at gmail.com
Thu Dec 12 04:24:30 PST 2013
On Thu, Dec 12, 2013 at 2:36 PM, Jorge Tornero - Listas
<jtorlistas at gmail.com> wrote:
> Dear all.
>
> I'm currently working on a python plugin for QGIS which deploys points along
> lines on a given distance basis. The lines, say transects, are created
> placing an initial point and then providing a bearing for the line. Then, n
> stations/smapling points are deployed in its place.
>
> I'm using Vincenty's Formula to get the coordinates for the points. So far,
> I've found an python implementation for this, but I haven't been able to
> know under which license is released the code, as far as I have found the
> code in a forum
> (https://isis.astrogeology.usgs.gov/IsisSupport/index.php?topic=408.0) but
> the link provided in the message for the original code can't be followed.
>
> As far as I know, in QGIS API there is no direct Vincenty's formula to
> compute in this way (point, azimuth/bearing + distance to destiny), and I
> want to make the plugin dependence-free as possible, so my questions are:
>
> 1) Do you know if, in QGIS API, is there and usable implementation of
> Vincenty's direct formula?
Hi Jorge
What about QgsDistanceArea class? It does the calculation of distance
/ bearing on ellipsoid.
Regards
Martin
More information about the Qgis-developer
mailing list