Saltar para o conteúdo

Módulo:Mapa/dados/estados unidos

Origem: Wikipédia, a enciclopédia livre.

return {
    y = function(lat, long)
        if (long > - 128) then return -- mainland
            -204.30107526881 +
          (
              1 - (lat- 38.58) *
                (0.0139228 + 0.00000141371 * (lat- 38.58) ^2 )
            ) *
            (
                254.301075269 - 0.015062412956989 * (long+ 96.5) ^2
            )
        elseif (lat < 40) then return-- Hawai
            (-6.9 * lat + 313.6) * 0.53763440860215
        else -- Alaska
            return    (-2.69 * lat + 332 - 0.009 * (long + 141) ^2 ) * 0.53763440860215
       end
    end,
    x = function(lat, long)
        if long > -128 then return -- mainland
            50 +
            (1 - (lat- 38.58) *
                (0.0139228 + 0.00000141371 * (lat- 38.58) ^2 )
            ) *
              (long+ 96.5) *
             ( 1.800044688601 - 0.00003553926 * (long+ 96.5) ^2 )
        elseif lat < 40 then return -- Hawai
            (6.46 * long + 1105.1)/2.86
        else return -- Alaska
            (0.044 * (90 - (lat)) * (long + 141) + 47)/2.86
        end
    end,
    images = {
        default = 'US Locator Blank2.svg',
        relief = '800x520-USA-EDCP-A-H-R.jpg',
        },
    iwidth = 286,
    iheight = 186,
    name = 'Estados Unidos',
    zone = 'país',
    genre = 'mp',
    centrallat = 38.58,
    centrallong = -96.5,
    left = -126,
    right = -61,
    top = 52.65,
    bottom = 24.51,
    x0 = 143,
    y0 = -380,
    s = 0.62360675659941,
    t = 0.79771815770222,
    projection = '(mapa composto)',
    wikidata = 'Q30'
}