Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
wrong name
debug
Line 622:
]]
local function LatLon2OSGB36( latlon )
local latitudetm = LatLonOrigin2TM(latlon.lat, latlon.lon)
if not tm then return 'TM failure'..str(latlon.lat)..' '..str(latlon.lon) end
local longitude = latlon.lon
 
local tm = LatLonOrigin2TM(latitude, longitude)
if not tm then return '' end
 
-- fix by Roger W Haworth