Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
refactor IE Helmert
DRY for params
Line 324:
local N0ir=250000.0
-- semi-major axis (in line to equator) 1.000035 is yer scale @ central meridian
local air=6377340IEglobe.189semimajor*F0ir
--semi-minor axis (in line to poles)
local bir=6356034IEglobe.447semiminor*F0ir
-- flatness=a1-b1/(a1 + b1)
local n1ir=0.001673220384152058651484728058385228837777
-- first eccentricity squared=2*f-f^2 where f=(a1-b1)/a1
local e2ir=0IEglobe.006670540293336110419293763349975612794125ecc
local k=(n-N0ir)/air+lambda0ir/dr
local nextcounter=0