Re: [Qgis-user] about some ellipsoïdal distances

G. Allegri giohappy at gmail.com
Fri Apr 6 03:17:10 PDT 2012


Pull request done:  https://github.com/qgis/Quantum-GIS/pull/115

giovanni

2012/4/6 Paolo Cavallini <cavallini at faunalia.it>

> Il 06/04/2012 12:01, G. Allegri ha scritto:
> > Probably I've found the bug.
> > In Qgis the semi-minor axis of the ellipsoid is calculated with:
> >
> > b = a - (f/a)
> >
> > where
> > b = semi-minor axis
> > a = semi-majot axis
> > f = inverse flattening
> >
> > while it should be:
> >
> > b = a - (a/f)
> >
> >
> > In Qgis the WGS84 semi-minor axis is 6378136,xxx
> > while it should be 6356752.xxx
>
> nice shot, thanks a lot!
> could you please fill up a ticket, or change the code yourself and send a
> pull request?
> all the best.
>
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120406/7ffc1bc2/attachment.html>


More information about the Qgis-user mailing list