Created
June 18, 2016 16:39
-
-
Save max2320/60fe63d96e6f0ed94b1906248059de4f to your computer and use it in GitHub Desktop.
Brazilian States Coordinates (in deg)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
State.find_or_create_by(id: 1, name: 'Acre', acronym: 'AC', latitude: -9.11, longitude: -70.52, zoom: 6) | |
State.find_or_create_by(id: 2, name: 'Alagoas', acronym: 'AL', latitude: -9.57, longitude: -36.55, zoom: 6) | |
State.find_or_create_by(id: 3, name: 'Amapá', acronym: 'AP', latitude: 1, longitude: -52, zoom: 6) | |
State.find_or_create_by(id: 4, name: 'Amazonas', acronym: 'AM', latitude: -5, longitude: -63, zoom: 6) | |
State.find_or_create_by(id: 5, name: 'Bahia', acronym: 'BA', latitude: -12.52, longitude: -41.69, zoom: 6) | |
State.find_or_create_by(id: 6, name: 'Ceará', acronym: 'CE', latitude: -5.08, longitude: -39.65, zoom: 6) | |
State.find_or_create_by(id: 7, name: 'Distrito Federal', acronym: 'DF', latitude: -15.795, longitude: -47.757778, zoom: 6) | |
State.find_or_create_by(id: 8, name: 'Espírito Santo', acronym: 'ES', latitude: -20.318889, longitude: -40.337778, zoom: 6) | |
State.find_or_create_by(id: 9, name: 'Goiás', acronym: 'GO', latitude: -15.933333, longitude: -50.133333, zoom: 6) | |
State.find_or_create_by(id: 10, name: 'Maranhão', acronym: 'MA', latitude: -6.183333, longitude: -45.616667, zoom: 6) | |
State.find_or_create_by(id: 11, name: 'Mato Grosso', acronym: 'MT', latitude: -15.566667, longitude: -56.066667, zoom: 6) | |
State.find_or_create_by(id: 12, name: 'Mato Grosso do Sul', acronym: 'MS', latitude: -20.442778, longitude: -54.645833, zoom: 6) | |
State.find_or_create_by(id: 13, name: 'Minas Gerais', acronym: 'MG', latitude: -19.816667, longitude: -43.95, zoom: 6) | |
State.find_or_create_by(id: 14, name: 'Pará', acronym: 'PA', latitude: -5.666667, longitude: -52.733333, zoom: 6) | |
State.find_or_create_by(id: 15, name: 'Paraíba', acronym: 'PB', latitude: -7.166667, longitude: -36.833333, zoom: 6) | |
State.find_or_create_by(id: 16, name: 'Paraná', acronym: 'PR', latitude: -24, longitude: -51, zoom: 6) | |
State.find_or_create_by(id: 17, name: 'Pernambuco', acronym: 'PE', latitude: -8.34, longitude: -37.81, zoom: 6) | |
State.find_or_create_by(id: 18, name: 'Piauí', acronym: 'PI', latitude: -8.233333, longitude: -43.1, zoom: 6) | |
State.find_or_create_by(id: 19, name: 'Rio de Janeiro', acronym: 'RJ', latitude: -22.9, longitude: -43.2, zoom: 6) | |
State.find_or_create_by(id: 20, name: 'Rio Grande do Norte', acronym: 'RN', latitude: -5.74, longitude: -36.55, zoom: 6) | |
State.find_or_create_by(id: 21, name: 'Rio Grande do Sul', acronym: 'RS', latitude: -30, longitude: -53, zoom: 6) | |
State.find_or_create_by(id: 22, name: 'Rondônia', acronym: 'RO', latitude: -10.9, longitude: -62.76, zoom: 6) | |
State.find_or_create_by(id: 23, name: 'Roraima', acronym: 'RR', latitude: 2.05, longitude: -61.4, zoom: 6) | |
State.find_or_create_by(id: 24, name: 'Santa Catarina', acronym: 'SC', latitude: -27.25, longitude: -50.333333, zoom: 6) | |
State.find_or_create_by(id: 25, name: 'São Paulo', acronym: 'SP', latitude: -23.533333, longitude: -46.633333, zoom: 6) | |
State.find_or_create_by(id: 26, name: 'Sergipe', acronym: 'SE', latitude: -10.59, longitude: -37.38, zoom: 6) | |
State.find_or_create_by(id: 27, name:'Tocantins', acronym: 'TO', latitude: -10.183333, longitude: -48.333333, zoom: 6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment