Permalink
Browse files

add it regions

  • Loading branch information...
1 parent 2251dc2 commit 54f40aa855134f179baf53f306fed184e122b46c @geraldb geraldb committed Mar 16, 2013
Showing with 81 additions and 26 deletions.
  1. +14 −14 europe/it/cities.txt
  2. +60 −0 europe/it/regions.txt
  3. +1 −0 setups/all.yml
  4. +1 −0 setups/europe.yml
  5. +1 −0 setups/sport.db.admin.yml
  6. +3 −9 south-america/br/cities.txt
  7. +1 −3 south-america/br/regions.txt
View
@@ -1,17 +1,17 @@
-Milano [Milan], 1_338_436, m:5_232_000
-Roma [Rome], 2_777_979, m:3_799_000
-Napoli [Naples], 1_046_987, m:3_726_000
-Torino [Turin], 921_485, m:1_499_000
-Palermo, 689_349, m:876_000
-Genova [Genoa], 655_704
-Bologna, 385_813
-Firenze [Florence], 381_762, m:821_000
+Milano [Milan], region:lo, 1_338_436, m:5_232_000
+Roma [Rome], region:la, 2_777_979, m:3_799_000
+Napoli [Naples], region:cm, 1_046_987, m:3_726_000
+Torino [Turin], region:pi, 921_485, m:1_499_000
+Palermo, region:si, 689_349, m:876_000
+Genova [Genoa], region:li, 655_704
+Bologna, region:er, 385_813
+Firenze [Florence], region:to, 381_762, m:821_000
-Catania, 341_685
-Bari, 335_647
-Venezia [Venice], 297_743
-Messina, 262_524
-Verona, 254_146
-Trieste, 222_589
+Catania, region:si, 341_685
+Bari, region:pu, 335_647
+Venezia [Venice], region:ve, 297_743
+Messina, region:si, 262_524
+Verona, region:ve, 254_146
+Trieste, region:fv, 222_589
View
@@ -0,0 +1,60 @@
+###################
+# Italy
+# 20 Regions
+# see en.wikipedia.org/wiki/Regions_of_Italy
+
+
+################
+# regions for tags
+# ITC - North West: Aosta Valley, Liguria, Lombardy, Piedmont
+# ITD - North East: Emilia-Romagna, Friuli-Venezia Giulia, Trentino-Alto Adige/Südtirol, Veneto
+# ITE - Centre: Lazio, Marche, Tuscany, Umbria
+# ITF - South: Abruzzo, Apulia, Basilicata, Calabria, Campania, Molise
+# ITG - Islands: Sardinia, Sicily
+#
+# see en.wikipedia.org/wiki/Italian_NUTS_level_1_regions#Italy
+
+
+##
+# NB: no official two-letter codes found (make up our own for now)
+
+
+##########
+# North West
+
+ao, Valle d'Aosta [Aosta Valley], Aosta, 3_263, north_west
+li, Liguria, Genova, 5_422, north_west
+lo, Lombardia [Lombardy], Milano, 23_861, north_west
+pi, Piemonte [Piedmont], Torino, 25_402, north_west
+
+##########
+# North East
+
+er, Emilia-Romagna, Bologna, 22_446, north_east
+fv, Friuli-Venezia Giulia, Trieste, 7_858, north_east
+tr, Trentino-Alto Adige (Südtirol), Trento, 13_607, north_east
+ve, Veneto, Venezia, 18_399, north_east
+
+################
+# Centre
+
+la, Lazio, Roma, 17_236, centre
+ma, Marche, Ancona, 9_366, centre
+to, Toscana [Tuscany], Firenze, 22_994, centre
+um, Umbria, Perugia, 8_456, centre
+
+################
+# South
+
+ab, Abruzzo, L'Aquila, 10_763, south
+pu, Puglia [Apulia], Bari, 19_358, south
+ba, Basilicata, Potenza, 9_995, south
+ca, Calabria, Catanzaro, 15_081, south
+cm, Campania, Napoli, 13_590, south
+mo, Molise, Campobasso, 4_438, south
+
+#################
+# Islands
+
+sa, Sardegna [Sardinia], Cagliari, 24_090, islands
+si, Sicilia [Sicily], Palermo, 25_711, islands
View
@@ -112,6 +112,7 @@ europe:
- europe/hr/cities
- europe/hu/cities
- europe/ie/cities
+- europe/it/regions
- europe/it/cities
- europe/lt/cities
- europe/lv/cities
View
@@ -46,6 +46,7 @@ europe:
- europe/hr/cities
- europe/hu/cities
- europe/ie/cities
+- europe/it/regions
- europe/it/cities
- europe/lt/cities
- europe/lv/cities
@@ -111,6 +111,7 @@ europe:
- europe/hr/cities
- europe/hu/cities
- europe/ie/cities
+- europe/it/regions
- europe/it/cities
- europe/lt/cities
- europe/lv/cities
@@ -16,24 +16,18 @@ Curitiba, region:pr, 1_746_896, m:3_172_357
Recife, region:pe, 1_536_934, m:4_150_004
Porto Alegre, region:rs, 1_409_939, m:4_200_413
Belém, region:pa, 1_392_031, m:2_142_185
-
-
-###### fix: add to accented chars - â from Goiânia
-
-goiania, Goiânia, region:go, 1_301_892, m:2_162_097
+Goiânia, region:go, 1_301_892, m:2_162_097
Guarulhos, region:sp, 1_222_357
Campinas, region:sp, 1_080_999, m:2_633_523
-###### fix: add to accented chars - ç from São Gonçalo
-
-saogoncalo, São Gonçalo, region:rj, 1_016_128
+São Gonçalo, region:rj, 1_016_128
São Luís, region:ma, 1_011_943, m:1_211_270
Maceió, region:al, 1_002_675, m:1_160_393
Duque de Caxias, region:rj, 872_762
-novaiguacu, Nova Iguaçu, region:rj, 865_089
+Nova Iguaçu, region:rj, 865_089
Natal, region:rn, 806_203, m:1_998_123
Teresina, region:pi, 802_537, m:1_116_303
@@ -35,9 +35,7 @@ se, Sergipe, Aracaju, 21_910, northeast
df, Distrito Federal (Brasil), Brasília, 5_822, center_west
-#### fix: Goiânia - â convert to a for autokey
-
-go, Goiás, 340_087, center_west # Goiânia
+go, Goiás, Goiânia, 340_087, center_west
mt, Mato Grosso, Cuiabá, 903_358, center_west
ms, Mato Grosso do Sul, Campo Grande, 357_125, center_west

0 comments on commit 54f40aa

Please sign in to comment.