Module:Coordinates: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 79: | Line 79: | ||
if isEmpty(long_d) then |
if isEmpty(long_d) then |
||
table.insert(errors, {"parseDMS", "Missing longitude" }) |
table.insert(errors, {"parseDMS", "Missing longitude" }) |
||
end |
|||
if tonumber(lat_d) < 0 then |
|||
table.insert( errors, { 'parseDMS', 'Invalid latitude' } ); |
|||
end |
end |
||