Modul:Coordinates: Ferqê çımraviyarnayışan

Content deleted Content added
No edit summary
mNo edit summary
Line 428:
end
-- formatting for geohack: geohack expects D_N_D_E notation or D;D notation
result.param = table.concat({args[1], 'N', args[2] or '', 'E', args[3] or ''}, '_')
-- wikiminiatlas doesn't support D;D notation
-- #coordinates parserfunction doesn't support negative decimals with NSWE
-- result.param = table.concat({
-- math.abs(tonumber(args[1])),
-- ((tonumber(args[1]) or 0) < 0) and 'S' or 'N',
-- math.abs(tonumber(args[2])),
-- ((tonumber(args[2]) or 0) < 0) and 'W' or 'E',
-- args[3] or ''}, '_')
elseif dmsTest(args[4], args[8]) then
-- dms logic