worlddb 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +18 -0
- data/db/america/ca/cities.txt +40 -7
- data/db/america/ca/regions.txt +28 -10
- data/db/america/mx/cities.txt +32 -15
- data/db/america/mx/regions.txt +54 -0
- data/db/america/us/cities.txt +46 -16
- data/db/america/us/regions.txt +64 -10
- data/db/europe/at/cities.txt +30 -17
- data/db/europe/at/regions.txt +19 -10
- data/db/europe/be/cities.txt +19 -1
- data/db/europe/be/regions.txt +21 -0
- data/db/europe/bg/cities.txt +4 -0
- data/db/europe/by/cities.txt +3 -0
- data/db/europe/ch/cities.txt +3 -0
- data/db/europe/countries.txt +62 -39
- data/db/europe/cz/cities.txt +26 -0
- data/db/europe/cz/regions.txt +32 -0
- data/db/europe/de/cities.txt +44 -18
- data/db/europe/de/regions.txt +16 -16
- data/db/europe/dk/cities.txt +5 -0
- data/db/europe/ee/cities.txt +2 -0
- data/db/europe/en/cities.txt +36 -13
- data/db/europe/en/regions.txt +21 -0
- data/db/europe/es/cities.txt +17 -5
- data/db/europe/es/regions.txt +26 -0
- data/db/europe/fi/cities.txt +2 -0
- data/db/europe/fr/cities.txt +15 -4
- data/db/europe/fr/regions.txt +32 -0
- data/db/europe/gr/cities.txt +5 -0
- data/db/europe/hu/cities.txt +2 -0
- data/db/europe/ie/cities.txt +3 -0
- data/db/europe/it/cities.txt +16 -3
- data/db/europe/lt/cities.txt +4 -0
- data/db/europe/lv/cities.txt +3 -0
- data/db/europe/nl/cities.txt +11 -2
- data/db/europe/no/cities.txt +3 -0
- data/db/europe/pl/cities.txt +12 -0
- data/db/europe/pt/cities.txt +5 -2
- data/db/europe/ro/cities.txt +3 -0
- data/db/europe/rs/cities.txt +3 -0
- data/db/europe/ru/cities.txt +14 -2
- data/db/europe/sc/cities.txt +3 -1
- data/db/europe/se/cities.txt +3 -0
- data/db/europe/tr/cities.txt +3 -1
- data/db/europe/ua/cities.txt +9 -3
- data/lib/worlddb/console.rb +11 -9
- data/lib/worlddb/reader.rb +40 -3
- data/lib/worlddb/readers/values_reader.rb +12 -4
- data/lib/worlddb/schema.rb +18 -3
- data/lib/worlddb/version.rb +1 -1
- data/lib/worlddb.rb +23 -3
- metadata +40 -4
data/Manifest.txt
CHANGED
@@ -14,6 +14,7 @@ db/america/countries.txt
|
|
14
14
|
db/america/de.countries.yml
|
15
15
|
db/america/es.countries.yml
|
16
16
|
db/america/mx/cities.txt
|
17
|
+
db/america/mx/regions.txt
|
17
18
|
db/america/us/cities.txt
|
18
19
|
db/america/us/regions.txt
|
19
20
|
db/america/ve/cities.txt
|
@@ -24,26 +25,43 @@ db/asia/jp/cities.txt
|
|
24
25
|
db/europe/at/cities.txt
|
25
26
|
db/europe/at/regions.txt
|
26
27
|
db/europe/be/cities.txt
|
28
|
+
db/europe/be/regions.txt
|
29
|
+
db/europe/bg/cities.txt
|
27
30
|
db/europe/by/cities.txt
|
28
31
|
db/europe/ch/cities.txt
|
29
32
|
db/europe/countries.txt
|
30
33
|
db/europe/cy/cities.txt
|
34
|
+
db/europe/cz/cities.txt
|
35
|
+
db/europe/cz/regions.txt
|
31
36
|
db/europe/de.countries.yml
|
32
37
|
db/europe/de/cities.txt
|
33
38
|
db/europe/de/regions.txt
|
34
39
|
db/europe/dk/cities.txt
|
40
|
+
db/europe/ee/cities.txt
|
35
41
|
db/europe/en/cities.txt
|
42
|
+
db/europe/en/regions.txt
|
36
43
|
db/europe/es.countries.yml
|
37
44
|
db/europe/es/cities.txt
|
45
|
+
db/europe/es/regions.txt
|
46
|
+
db/europe/fi/cities.txt
|
38
47
|
db/europe/fr/cities.txt
|
48
|
+
db/europe/fr/regions.txt
|
39
49
|
db/europe/gr/cities.txt
|
40
50
|
db/europe/hr/cities.txt
|
51
|
+
db/europe/hu/cities.txt
|
52
|
+
db/europe/ie/cities.txt
|
41
53
|
db/europe/it/cities.txt
|
54
|
+
db/europe/lt/cities.txt
|
55
|
+
db/europe/lv/cities.txt
|
42
56
|
db/europe/nl/cities.txt
|
57
|
+
db/europe/no/cities.txt
|
58
|
+
db/europe/pl/cities.txt
|
43
59
|
db/europe/pt/cities.txt
|
44
60
|
db/europe/ro/cities.txt
|
61
|
+
db/europe/rs/cities.txt
|
45
62
|
db/europe/ru/cities.txt
|
46
63
|
db/europe/sc/cities.txt
|
64
|
+
db/europe/se/cities.txt
|
47
65
|
db/europe/tr/cities.txt
|
48
66
|
db/europe/ua/cities.txt
|
49
67
|
db/oceania/au/cities.txt
|
data/db/america/ca/cities.txt
CHANGED
@@ -1,7 +1,40 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
###
|
2
|
+
## todo/fix: add parser check for region (e.g. lets you use Ontario instead of region:on) why? why not?
|
3
|
+
##
|
4
|
+
|
5
|
+
# top 10 cities
|
6
|
+
|
7
|
+
toronto, Toronto, region:on, 5_583_064
|
8
|
+
montreal, Montreal, region:qc, 3_824_221
|
9
|
+
vancouver, Vancouver, region:bc, 2_313_328
|
10
|
+
ottawa, Ottawa, region:on, 1_236_324
|
11
|
+
calgary, Calgary, region:ab, 1_214_839
|
12
|
+
edmonton, Edmonton, region:ab, 1_159_869
|
13
|
+
quebec, Québec, region:qc, 765_706
|
14
|
+
winnipeg, Winnipeg, region:mb, 730_018
|
15
|
+
hamilton, Hamilton, region:on, 721_053
|
16
|
+
kitchener, Kitchener, region:on, 477_160
|
17
|
+
london, London, region:on, 474_786
|
18
|
+
|
19
|
+
# more cities
|
20
|
+
|
21
|
+
|
22
|
+
stcatharines, St Catharines-Niagara, region:on, 372_000
|
23
|
+
halifax, Halifax, region:ns, 333_000
|
24
|
+
victoria, Victoria, region:bc, 304_000
|
25
|
+
windsor, Windsor, region:on, 279_000
|
26
|
+
oshawa, Oshawa, region:on, 269_000
|
27
|
+
saskatoon, Saskatoon, region:sk, 219_000
|
28
|
+
regina, Regina, region:sk, 194_000
|
29
|
+
stjohns, St John's, region:nl, 174_000
|
30
|
+
sudbury, Sudbury, region:on, 160_000
|
31
|
+
chicoutimi, Chicoutimi, region:qc, 160_000
|
32
|
+
sherbrooke, Sherbrooke, region:qc, 147_000
|
33
|
+
kingston, Kingston, region:on, 143_000
|
34
|
+
troisrivieres, Trois-Rivières, region:qc, 140_000
|
35
|
+
kelowna, Kelowna, region:bc, 137_000
|
36
|
+
abbotsford, Abbotsford, region:bc, 136_000
|
37
|
+
saintjohn, Saint John, region:nb, 126_000
|
38
|
+
thunderbay, Thunder Bay, region:on, 126_000
|
39
|
+
barrie, Barrie, region:on, 119_000
|
40
|
+
sydney, Sydney, region:ns, 118_000
|
data/db/america/ca/regions.txt
CHANGED
@@ -1,10 +1,28 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
###########################
|
2
|
+
# Oh, Canada! 10 provinces and 3 territories
|
3
|
+
#
|
4
|
+
# see http://en.wikipedia.org/wiki/Provinces_and_territories_of_Canada
|
5
|
+
#
|
6
|
+
# nb: key is two-letter canadian postal code
|
7
|
+
#
|
8
|
+
# for regions tags see
|
9
|
+
# http://en.wikipedia.org/wiki/List_of_regions_of_Canada
|
10
|
+
|
11
|
+
|
12
|
+
bc, British Columbia, 922509, western canada
|
13
|
+
|
14
|
+
ab, Alberta, 640082, western canada|prairies
|
15
|
+
mb, Manitoba, 552330, western canada|prairies
|
16
|
+
sk, Saskatchewan, 588239, western canada|prairies
|
17
|
+
|
18
|
+
nb, New Brunswick, 71377, eastern canada|atlantic canada|maritimes
|
19
|
+
ns, Nova Scotia, 52939, eastern canada|atlantic canada|maritimes
|
20
|
+
pe, Prince Edward Island, 5686, eastern canada|atlantic canada|maritimes
|
21
|
+
nl, Newfoundland and Labrador, 370511, eastern canada|atlantic canada
|
22
|
+
|
23
|
+
on, Ontario, 908608, eastern canada|central canada
|
24
|
+
qc, Québec 1356547, eastern canada|central canada
|
25
|
+
|
26
|
+
nt, Northwest Territories, 1143793, northern canada|territories
|
27
|
+
yt, Yukon, 474713, northern canada|territories
|
28
|
+
nu, Nunavut, 1877788, northern canada|territories
|
data/db/america/mx/cities.txt
CHANGED
@@ -1,15 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
puebla, Puebla
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
# top cities
|
2
|
+
|
3
|
+
#####
|
4
|
+
# see http://en.wikipedia.org/wiki/Metropolitan_areas_of_Mexico
|
5
|
+
|
6
|
+
mexico, México, region:df, 20137152
|
7
|
+
guadalajara, Guadalajara, region:ja, 4434252
|
8
|
+
monterrey, Monterrey, region:nl, 4080329
|
9
|
+
puebla, Puebla, region:pb, 2668347
|
10
|
+
toluca, Toluca|Toluca de Lerdo, region:me, 1846602
|
11
|
+
tijuana, Tijuana, region:bc, 1751302
|
12
|
+
leon, León, region:gt, 1609717
|
13
|
+
juarez, Juárez|Ciudad Juárez, region:ch, 1495094
|
14
|
+
torreon, Torreón, region:co, 1275993
|
15
|
+
queretaro, Querétaro, region:qe, 1097028
|
16
|
+
sanluispotosi, San Luis Potosì, region:sl, 1040822
|
17
|
+
|
18
|
+
|
19
|
+
# more cities
|
20
|
+
|
21
|
+
merida, Mérida, region:yu, 973046
|
22
|
+
|
23
|
+
chihuahua, Chihuahua, region:ch, 809232
|
24
|
+
|
25
|
+
morelia, Morelia, region:mi, 729757
|
26
|
+
|
27
|
+
cancun, Cancún, region:qr, 628306
|
28
|
+
|
29
|
+
tuxtla, Tuxtla Gutiérrez, region:cs, 503320
|
30
|
+
|
31
|
+
pachuca, Pachuca, region:hg, 275578
|
32
|
+
sannicolas, San Nicolás de los Garza, region:nl, 476761
|
@@ -0,0 +1,54 @@
|
|
1
|
+
####
|
2
|
+
##
|
3
|
+
## using ISO 3166 two letter codes
|
4
|
+
## see -> http://en.wikipedia.org/wiki/Political_divisions_of_Mexico
|
5
|
+
|
6
|
+
|
7
|
+
ag, Ags.|Aguascalientes, 5471
|
8
|
+
|
9
|
+
bc, B.C.|Baja California, 69921
|
10
|
+
bs, B.C.S.|Baja California Sur, 73475
|
11
|
+
|
12
|
+
cm, Camp.|Campeche, 50812
|
13
|
+
cs, Chis.|Chiapas, 74211
|
14
|
+
ch, Chih.|Chihuahua, 247938
|
15
|
+
co, Coah.|Coahuila, 151571
|
16
|
+
cl, Col.|Colima, 5191
|
17
|
+
|
18
|
+
df, D.F.|Distrito Federal, 1479
|
19
|
+
dg, Dgo.|Durango, 123181
|
20
|
+
|
21
|
+
gt, Gto.|Guanajuato, 30491
|
22
|
+
gr, Gro.|Guerrero, 64281
|
23
|
+
|
24
|
+
hg, Hgo.|Hidalgo, 20813
|
25
|
+
|
26
|
+
ja, Jal.|Jalisco, 80386
|
27
|
+
|
28
|
+
me, Edomex.|México, 21355
|
29
|
+
mi, Mich.|Michoacán, 59928
|
30
|
+
mo, Mor.|Morelos, 4950
|
31
|
+
|
32
|
+
na, Nay.|Nayarit, 26979
|
33
|
+
nl, N.L.|Nuevo León, 64924
|
34
|
+
|
35
|
+
oa, Oax.|Oaxaca, 93952
|
36
|
+
|
37
|
+
pb, Pue.|Puebla, 33902
|
38
|
+
|
39
|
+
qe, Qro.|Querétaro, 11499
|
40
|
+
qr, Q. Roo.|Quintana Roo, 50212
|
41
|
+
|
42
|
+
sl, S.L.P.|San Luis Potosí, 63068
|
43
|
+
si, Sin.|Sinaloa, 58328
|
44
|
+
so, Son.|Sonora, 182052
|
45
|
+
|
46
|
+
tb, Tab.|Tabasco, 25267
|
47
|
+
tm, Tamps.|Tamaulipas, 79384
|
48
|
+
tl, Tlax.|Tlaxcala, 4016
|
49
|
+
|
50
|
+
ve, Ver.|Veracruz, 71699
|
51
|
+
|
52
|
+
yu, Yuc.|Yucatán, 38402
|
53
|
+
|
54
|
+
za, Zac.|Zacatecas, 73252
|
data/db/america/us/cities.txt
CHANGED
@@ -1,16 +1,46 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
1
|
+
|
2
|
+
### top 10 cities
|
3
|
+
|
4
|
+
newyork, New York, region:ny, 8175133
|
5
|
+
losangeles, Los Angeles, region:ca, 3792621
|
6
|
+
chicago, Chicago, region:il, 2695598
|
7
|
+
houston, Houston, region:tx, 2099451
|
8
|
+
philadelphia, Philadelphia, region:pa, 1526006
|
9
|
+
phoenix, Phoenix, region:az, 1445632
|
10
|
+
sanantonio, San Antonio, region:tx, 1327407
|
11
|
+
sandiego, San Diego, region:ca, 1307402
|
12
|
+
dallas, Dallas, region:tx, 1197816
|
13
|
+
sanjose, San Jose, region:ca, 945942
|
14
|
+
|
15
|
+
|
16
|
+
## more cities
|
17
|
+
|
18
|
+
buffalo, Buffalo, region:ny, 261310
|
19
|
+
boston, Boston, region:ma, 617594
|
20
|
+
columbus, Columbus, region:oh, 787033
|
21
|
+
detroit, Detroit, region:mi, 713777
|
22
|
+
nashville, Nashville, region:tn, 601222
|
23
|
+
anaheim, Anaheim, region:ca, 336265
|
24
|
+
stlouis, St. Louis, region:mo, 319294
|
25
|
+
pittsburgh, Pittsburgh, region:pa, 305704
|
26
|
+
washington, Washington, region:dc, 601723
|
27
|
+
newark, Newark, region:nj, 277140
|
28
|
+
raleigh, Raleigh, region:nc, 403892
|
29
|
+
miami, Miami, region:fl, 399457
|
30
|
+
tampa, Tampa, region:fl, 335709
|
31
|
+
denver, Denver, region:co, 600158
|
32
|
+
stpaul, St. Paul, region:mn, 285068
|
33
|
+
baltimore, Baltimore, region:md, 620961
|
34
|
+
cincinnati, Cincinnati, region:oh, 296943
|
35
|
+
cleveland, Cleveland, region:oh, 396815
|
36
|
+
indianapolis, Indianapolis, region:in, 820445
|
37
|
+
jacksonville, Jacksonville, region:fl, 821784
|
38
|
+
oakland, Oakland, region:ca, 390724
|
39
|
+
sanfrancisco, San Francisco, region:ca, 805235
|
40
|
+
kansascity, Kansas City, region:mo, 459787
|
41
|
+
greenbay, Green Bay, region:wi, 104057
|
42
|
+
minneapolis, Minneapolis, region:mn, 382578
|
43
|
+
atlanta, Atlanta, region:ga, 420003
|
44
|
+
neworleans, New Orleans, region:la, 343829
|
45
|
+
charlotte, Charlotte, region:nc, 731424
|
46
|
+
seattle, Seattle, region:wa, 608660
|
data/db/america/us/regions.txt
CHANGED
@@ -1,10 +1,64 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
## 50 states plus one federal district (district of columbia, d.c.)
|
2
|
+
|
3
|
+
# for census regions (northeast,etc.)
|
4
|
+
# see http://en.wikipedia.org/wiki/List_of_regions_of_the_United_States
|
5
|
+
|
6
|
+
me, Maine, 79924, northeast|new england
|
7
|
+
nh, New Hampshire, 23225, northeast|new england
|
8
|
+
vt, Vermont, 23954, northeast|new england
|
9
|
+
ma, Massachusetts, 20304, northeast|new england
|
10
|
+
ri, Rhode Island, 2706, northeast|new england
|
11
|
+
ct, Connecticut, 12547, northeast|new england
|
12
|
+
|
13
|
+
ny, New York, 122272, northeast|mid atlantic
|
14
|
+
pa, Pennsylvania, 116064, northeast|mid atlantic
|
15
|
+
nj, New Jersey, 19209, northeast|mid atlantic
|
16
|
+
|
17
|
+
wi, Wisconsin, 140649, midwest|east north central
|
18
|
+
mi, Michigan, 147108, midwest|east north central
|
19
|
+
il, Illinois, 143947, midwest|east north central
|
20
|
+
in, Indiana, 92886, midwest|east north central
|
21
|
+
oh, Ohio, 106046, midwest|east north central
|
22
|
+
|
23
|
+
mo, Missouri, 178397, midwest|west north central
|
24
|
+
nd, North Dakota, 178630, midwest|west north central
|
25
|
+
sd, South Dakota, 196522, midwest|west north central
|
26
|
+
ne, Nebraska, 199080, midwest|west north central
|
27
|
+
ks, Kansas, 211880, midwest|west north central
|
28
|
+
mn, Minnesota, 206170, midwest|west north central
|
29
|
+
ia, Iowa, 144688, midwest|west north central
|
30
|
+
|
31
|
+
de, Delaware, 5059, south|south atlantic
|
32
|
+
md, Maryland, 25312, south|south atlantic
|
33
|
+
dc, District of Columbia, 159, south|south atlantic
|
34
|
+
va, Virginia, 102539, south|south atlantic
|
35
|
+
wv, West Virginia, 62355, south|south atlantic
|
36
|
+
nc, North Carolina, 126149, south|south atlantic
|
37
|
+
sc, South Carolina, 77976, south|south atlantic
|
38
|
+
ga, Georgia, 149962, south|south atlantic
|
39
|
+
fl, Florida, 139657, south|south atlantic
|
40
|
+
|
41
|
+
ky, Kentucky, 102886, south|east south central
|
42
|
+
tn, Tennessee, 106742, south|east south central
|
43
|
+
ms, Mississippi, 121477, south|east south central
|
44
|
+
al, Alabama, 131414, south|east south central
|
45
|
+
|
46
|
+
ok, Oklahoma, 177830, south|west south central
|
47
|
+
tx, Texas, 677989, south|west south central
|
48
|
+
ar, Arkansas, 134843, south|west south central
|
49
|
+
la, Louisiana, 112814, south|west south central
|
50
|
+
|
51
|
+
id, Idaho, 214294, west|mountain
|
52
|
+
mt, Montana, 376944, west|mountain
|
53
|
+
wy, Wyoming, 251466, west|mountain
|
54
|
+
nv, Nevada, 284422, west|mountain
|
55
|
+
ut, Utah, 212731, west|mountain
|
56
|
+
co, Colorado, 268602, west|mountain
|
57
|
+
az, Arizona, 294285, west|mountain
|
58
|
+
nm, New Mexico, 314280, west|mountain
|
59
|
+
|
60
|
+
ak, Alaska, 1481210, west|pacific
|
61
|
+
wa, Washington, 172332, west|pacific
|
62
|
+
or, Oregon, 248607, west|pacific
|
63
|
+
ca, California, 403895, west|pacific
|
64
|
+
hi, Hawaii, 16633, west|pacific
|
data/db/europe/at/cities.txt
CHANGED
@@ -1,32 +1,45 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
# Top 10 cities
|
2
|
+
|
3
|
+
wien, Wien [Vienna], region:wien, 1_731_236, m:1_724_000
|
4
|
+
graz, Graz, region:stmk, 265_318
|
5
|
+
linz, Linz, region:ooe, 191_107
|
6
|
+
salzburg, Salzburg, region:sbg, 148_521
|
7
|
+
innsbruck, Innsbruck, region:tirol, 121_329
|
8
|
+
klagenfurt, Klagenfurt, region:ktn, 94_796
|
9
|
+
villach, Villach, region:ktn, 59_585
|
10
|
+
wels, Wels, region:ooe, 58_717
|
11
|
+
stpoelten, St. Pölten, region:noe, 52_048
|
12
|
+
dornbirn, Dornbirn, region:vbg, 45_978
|
13
|
+
|
14
|
+
# Top 20 cities
|
15
|
+
|
16
|
+
wrneustadt, Wiener Neustadt|Wr. Neustadt, region:noe, 41537
|
17
|
+
steyr, Steyr, region:ooe, 38248
|
18
|
+
feldkirch, Feldkirch, region:vbg, 31025
|
19
|
+
bregenz, Bregenz, region:vbg, 28007
|
20
|
+
klosterneuburg, Kosterneuburg, region:noe, 25927
|
21
|
+
leonding, Leonding, region:ooe, 25689
|
22
|
+
baden, Baden|Baden bei Wien, region:noe, 25142
|
23
|
+
wolfsberg, Wolfsberg, region:ktn, 24983
|
24
|
+
leoben, Leoben, region:stmk, 24645
|
25
|
+
krems, Krems|Krems an der Donau, region:noe, 24110
|
26
|
+
|
27
|
+
|
28
|
+
# more cities
|
29
|
+
|
4
30
|
moedling, Mödling|Moedling, region:noe, 20649
|
5
31
|
horn, Horn, region:noe, 6411, # < 10000 pop
|
6
32
|
|
7
|
-
|
8
|
-
wels, Wels, region:ooe, 58623
|
9
|
-
steyr, Steyr, region:ooe, 38979
|
33
|
+
traun, Traun, region:ooe, 23941
|
10
34
|
ried, Ried im Innkreis, region:ooe, 11585
|
11
35
|
|
12
36
|
eisenstadt, Eisenstadt, region:bgld, 12367
|
13
37
|
mattersburg, Mattersburg, region:bgld, 6256, # < 10000 pop
|
14
38
|
|
15
|
-
graz, Graz, region:stmk, 247698
|
16
39
|
kapfenberg, Kapfenberg, region:stmk, 21928
|
17
40
|
hartberg, Hartberg, region:stmk, 6547, # < 10000 pop
|
18
41
|
|
19
|
-
salzburg, Salzburg, region:sbg, 149018
|
20
42
|
groedig, Grödig, region:sbg, 6638, # < 10000 pop
|
21
43
|
|
22
|
-
klagenfurt, Klagenfurt, region:ktn, 92397
|
23
|
-
villach, Villach, region:ktn, 58480
|
24
|
-
wolfsberg, Wolfsberg, region:ktn, 25361
|
25
|
-
|
26
|
-
innsbruck, Innsbruck, region:tirol, 117693
|
27
|
-
|
28
|
-
dornbirn, Dornbirn, region:vbg, 44243
|
29
|
-
feldkirch, Feldkirch, region:vbg, 30093
|
30
|
-
bregenz, Bregenz, region:vbg, 27148
|
31
44
|
lustenau, Lustenau, region:vbg, 20606
|
32
45
|
altach, Altach, region:vbg, 5704, # < 10000 pop
|
data/db/europe/at/regions.txt
CHANGED
@@ -1,17 +1,26 @@
|
|
1
1
|
#########
|
2
|
+
# Land der Berge, Land am Strome
|
3
|
+
#
|
2
4
|
# sources:
|
3
5
|
# http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Austria
|
4
6
|
# http://en.wikipedia.org/wiki/List_of_cities_in_Austria_over_5,000_population_(2001_census)
|
5
7
|
|
8
|
+
##
|
9
|
+
## NB: using 3 NUTS1 regions for tags
|
10
|
+
#
|
11
|
+
# NB: using OENORM for keys
|
6
12
|
|
7
|
-
## 9 Bundeslaender
|
8
13
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
## 9 Bundesländer
|
15
|
+
|
16
|
+
bgld, Bgld.|Burgenland, 3_962, eastern austria
|
17
|
+
noe, NÖ|Niederösterreich|Lower Austria, 19_186, eastern austria
|
18
|
+
wien, Wien|Vienna, 415, eastern austria
|
19
|
+
|
20
|
+
stmk, Stmk.|Steiermark|Styria, 16_401, southern austria
|
21
|
+
ktn, Ktn.|Kärnten|Carinthia, 9_538, southern austria
|
22
|
+
|
23
|
+
ooe, OÖ|Oberösterreich|Upper Austria, 11_980, western austria
|
24
|
+
sbg, Sbg.|Salzburg, 7_156, western austria
|
25
|
+
tirol, Tirol|Tyrol, 12_640, western austria
|
26
|
+
vbg, Vbg.|Vorarlberg, 2_601, western austria
|
data/db/europe/be/cities.txt
CHANGED
@@ -1 +1,19 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
|
3
|
+
brussel, Brussel|Bruxelles [Brussels], region:br, 1_048_491, m:1_929_000 , # nl|fr|en
|
4
|
+
antwerp, Antwerpen|Anvers [Antwerp], region:an, 466_203, m:960_000
|
5
|
+
ghent, Gent|Gand [Ghent], region:ov, 235_143
|
6
|
+
charleroi, Charleroi, region:ht, 201_550
|
7
|
+
liege, Liège|Luik, region:lg, 188_907
|
8
|
+
bruges, Bruges|Brugge, region:wv, 116_982
|
9
|
+
namur, Namur|Namen, region:na, 107_653
|
10
|
+
leuven, Leuven|Louvain, region:br, 91_942
|
11
|
+
mons, Mons|Bergen, region:ht, 91_196
|
12
|
+
mechelen, Mechelen|Malines, region:an, 78_900
|
13
|
+
|
14
|
+
|
15
|
+
## add as city districts? (or cities w/ major or similar flag=false?)
|
16
|
+
|
17
|
+
# Schaerbeek 113_493 Brussels-Capital Region
|
18
|
+
# Anderlecht 97_601 Brussels-Capital Region
|
19
|
+
# Sint-Jans-Molenbeek 81_632 Brussels-Capital Region
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
##
|
3
|
+
## NB: using 11 NUTS2 regions (provinces) and 3 NUTS1 regions for tags
|
4
|
+
|
5
|
+
#
|
6
|
+
# NB: using iso three letter codes (cut off first letter is always V or W for NUTS1 region)
|
7
|
+
|
8
|
+
|
9
|
+
br, Bruxelles|Brussel [Brussels (Capital Region)], 161
|
10
|
+
|
11
|
+
an, Antwerpen [Antwerp], 2_867, flanders|nl
|
12
|
+
li, Limburg, 2_422, flanders|nl
|
13
|
+
ov, Oost-Vlaanderen [East Flanders], 2_982, flanders|nl
|
14
|
+
br, Vlaams-Brabant [Flemish Brabant], 2_106, flanders|nl
|
15
|
+
wv, West-Vlaanderen [West Flanders], 3_144, flanders|nl
|
16
|
+
|
17
|
+
br, Brabant Wallon [Walloon Brabant], 1_091, wallonia|fr
|
18
|
+
ht, Hainaut, 3_786, wallonia|fr
|
19
|
+
lg, Liège, 3_862, wallonia|fr
|
20
|
+
lx, Luxembourg, 4_440, wallonia|fr
|
21
|
+
na, Namur, 3_666, wallonia|fr
|
data/db/europe/by/cities.txt
CHANGED
data/db/europe/ch/cities.txt
CHANGED
data/db/europe/countries.txt
CHANGED
@@ -23,43 +23,66 @@
|
|
23
23
|
# -> http://en.wikipedia.org/wiki/List_of_FIFA_country_codes
|
24
24
|
# -> differences (fifa,ioc,iso) -> http://en.wikipedia.org/wiki/Comparison_of_IOC,_FIFA,_and_ISO_3166_country_codes
|
25
25
|
|
26
|
+
## schengen - mark 26 schengen countries - border-free/passport-free zone
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
cy, Cyprus,
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
se, Sweden,
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
28
|
+
## eu 27 (+ euro 17)
|
29
|
+
|
30
|
+
eu, European Union, EUR, 4_324_782, supra # NB: no FIFA code exists; use EUR
|
31
|
+
|
32
|
+
## todo: auto-add tag eu?? for supra:eu?
|
33
|
+
|
34
|
+
at, Austria, AUT, 83_871, 8_414_638, supra:eu, eu|euro|schengen|uefa|central europe
|
35
|
+
be, Belgium, BEL, 30_528, 11_007_020, supra:eu, eu|euro|schengen|uefa|benelux
|
36
|
+
cy, Cyprus, CYP, 9_251, 1_099_341, supra:eu, eu|euro|uefa|asia
|
37
|
+
de, Germany, GER, 357_050, 81_799_600, supra:eu, eu|euro|schengen|uefa|g8|g20|western europe|central europe # NB: ISO (DEU) <> FIFA (GER)
|
38
|
+
ee, Estonia, EST, 45_226, 1_340_194, supra:eu, eu|euro|schengen|uefa
|
39
|
+
es, Spain, ESP, 506_030, 46_030_109 supra:eu, eu|euro|schengen|uefa
|
40
|
+
fi, Finland, FIN, 338_145, 5_391_700, supra:eu, eu|euro|schengen|uefa
|
41
|
+
fr, France, FRA, 674_843, 65_821_885, supra:eu, eu|euro|schengen|uefa|g8|g20
|
42
|
+
gr, Greece, GRE, 131_990, 10_787_690, supra:eu, eu|euro|schengen|uefa # NB: ISO (GRC) <> FIFA (GRE)
|
43
|
+
ie, Irland, IRL, 70_273, 4_722_028, supra:eu, eu|euro|uefa
|
44
|
+
it, Italy, ITA, 301_318, 60_681_514, supra:eu, eu|euro|schengen|uefa|g8|g20
|
45
|
+
lu, Luxembourg, LUX, 2_586, 511_840, supra:eu, eu|euro|schengen|uefa|un|benelux
|
46
|
+
mt, Malta, MLT, 316, 417_608, supra:eu, eu|euro|schengen|uefa
|
47
|
+
nl, Netherlands, NED, 41_526, 16_703_700, supra:eu, eu|euro|schengen|uefa|un|benelux # NB: ISO (NLD) <> FIFA (NED)
|
48
|
+
pt, Portugal, POR, 92_391, 10_647_763, supra:eu, eu|euro|schengen # NB: ISO (PRT) <> FIFA (POR)
|
49
|
+
sk, Slovakia, SVK, 49_037, 5_440_078, supra:eu, eu|euro|schengen
|
50
|
+
si, Slovenia, SVN, 20_273, 2_048_951, supra:eu, eu|euro|schengen
|
51
|
+
|
52
|
+
bg, Bulgaria, BUL, 110_994, 7_364_570, supra:eu, eu|uefa # NB: ISO (BGR) <> FIFA (BUL)
|
53
|
+
dk, Denmark, DEN, 43_094, 5_564_219, supra:eu, eu|uefa|schengen # NB: ISO (DNK) <> FIFA (DEN)
|
54
|
+
gb, Great Britain, GBR, 243_610, 63_047_162, supra:eu, eu|g8|g20 # NB: no FIFA code exists; use GBR
|
55
|
+
lv, Latvija [Latvia], LVA, 64_589, 2_245_357, supra:eu, eu|uefa|schengen
|
56
|
+
lt, Lithuania, LTU, 65_303, 3_207_060, supra:eu, eu|uefa|schengen
|
57
|
+
pl, Poland, POL, 312_683, 38_186_860, supra:eu, eu|uefa|schengen
|
58
|
+
ro, Romania, ROU, 238_391, 19_042_936, supra:eu, eu|uefa
|
59
|
+
se, Sweden, SWE, 449_964, 9_415_570, supra:eu, eu|uefa|schengen
|
60
|
+
cz, Czech Republic, CZE, 78_866, 10_535_811, supra:eu, eu|uefa|schengen
|
61
|
+
hu, Hungary, HUN, 93_030, 9_979_000, supra:eu, eu|uefa|schengen
|
62
|
+
|
63
|
+
|
64
|
+
en, England, ENG, 130_395, 53_013_000, country:gb # NB: FIFA (ENG); not a valid iso country n internet domain / its uk - what to use - anything better?
|
65
|
+
sc, Scotland, SCO, 78_387, 5_254_800, country:gb # NB: FIFA (SCO); not a valid iso country/internet domain - its uk - what to use - anything better?
|
66
|
+
|
67
|
+
fo, Faroe Islands, FRO, 1_399, 49_267, country:dk
|
68
|
+
|
69
|
+
ad, Andorra, AND, 468, 85_082
|
70
|
+
al, Albania, ALB, 28_748, 3_002_859
|
71
|
+
by, Belarus, BLR, 207_600, 9_643_566
|
72
|
+
ch, Switzerland, SUI, 41_285, 7_866_500, schengen|uefa|un # NB: ISO (CHE) <> FIFA (SUI)
|
73
|
+
hr, Croatia, CRO, 56_594, 4_290_612 # NB: ISO (HRV) <> FIFA (CRO); local name: Hrvatska
|
74
|
+
rs, Serbia, SRB, 88_361, 7_276_604
|
75
|
+
ru, Russia, RUS, 17_098_242, 142_517_670, asia|g8|g20
|
76
|
+
tr, Turkey, TUR, 783_562, 79_749_461, asia
|
77
|
+
ua, Ukraine, UKR, 603_550, 44_854_065
|
78
|
+
mk, Macedonia, MKD, 25_713, 2_082_370
|
79
|
+
no, Norway, NOR, 385_155, 4_993_300, schengen|uefa
|
80
|
+
is, Iceland, ISL, 103_000, 318_452, schengen|uefa
|
81
|
+
|
82
|
+
|
83
|
+
## todo/fix: add missing countries
|
84
|
+
|
85
|
+
## move to asia??
|
86
|
+
|
87
|
+
ge, Georgia, GEO, 69_700, 4_570_934, uefa|asia
|
88
|
+
am, Armenia, ARM, 29_743, 2_970_495, uefa|asia
|