Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
for Irish OS, shift coordinate to center of box, rather than SW
do not shift eastings/northings by half precision, return SW corner of box
Line 158:
-- British OS to Lat+Long
-- first caclulate e,n
-- pushcomputing eastingse and northingsn exactly, to centerget SW corner of box
local err, n, e, pr, T1, T2 = northeast(lett,num,10)
if err ~= nil then
return "GB",err,0.0,0.0
Line 256:
-- Irish OS to Lat+Long
-- first caclulate e,n
-- pushcomputing eastingse and northingsn exactly, to centerget SW corner of box
local err, n, e, pr, T1 = northeast(lett,num,10)
if err ~= nil then
return "IE",err,0.0,0.0