[Qgis-developer] QGIS API Distance, Azimuth/Bearing - API Documentation
adenaculture at gmail.com
Mon Apr 3 08:00:22 PDT 2017
I had been wondering what algorithm is being used for the methods azimuth,
distance, and project in the QgsPoint class, but in looking at the code it
is simply cartesian plane math. It looks like the qgsdistancearea class is
using vincinty math if I am examining the code correctly.
Vincinty is more accurate than the great circle, but fails in some cases
and there are more accurate methods. I apologize if I have failed to find
the right classes and methods in the API, but why doesn't the API provide
the more accurate geodesic calculations that are in geographiclib. It also
seems like it would be good to also provide great circle math as an option.
Am I missing it in the API or is it simply not there? If it is not there is
anyone working on adding it?
Are there any efforts going on to flesh out the QGIS API a little more.
Generally, the methods and parameters are not well documented if it is not
obvious from the name.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer