[Qgis-user] about some ellipsoïdal distances

Paolo Cavallini cavallini at faunalia.it
Fri Apr 6 03:01:06 PDT 2012


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



More information about the Qgis-user mailing list