[QGIS-Developer] QGIS 3 Ellipsoid Parameters

Nyall Dawson nyall.dawson at gmail.com
Thu Aug 16 14:35:54 PDT 2018


On Fri, 17 Aug 2018 at 01:24, C Hamilton <adenaculture at gmail.com> wrote:
>
> How do I get access to the ellipsoid parameters, in Python, found in the Project Properties under Measurements->Ellipsoid? -- ie. the ellipsoid name, semi-major, and semi-minor axis.

QgsProject.instance().ellipsoid()

and

QgsEllipsoidUtils.ellipsoidParameters( QgsProject.instance().ellipsoid() )

> Does QGIS 3 still use Vincinty to calculate geodesic distances and position or does it use something else?

Yes.
.
.
.
(Until you port your nice functions to c++ and send in a pull request ;P )

Nyall

>
> Thanks,
>
> Calvin
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list