worlddb 0.8.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Manifest.txt +4 -98
- data/Rakefile +1 -6
- data/lib/worlddb/cli/main.rb +170 -0
- data/lib/worlddb/cli/opts.rb +24 -50
- data/lib/worlddb/data/fixtures.rb +168 -0
- data/lib/worlddb/deleter.rb +26 -0
- data/lib/worlddb/reader.rb +8 -61
- data/lib/worlddb/stats.rb +30 -0
- data/lib/worlddb/utils.rb +0 -60
- data/lib/worlddb/version.rb +1 -2
- data/lib/worlddb.rb +24 -184
- metadata +30 -108
- data/data/africa/1_codes/fifa.yml +0 -59
- data/data/africa/1_codes/internet.yml +0 -64
- data/data/africa/1_codes/iso3.yml +0 -57
- data/data/africa/2_names/de.yml +0 -10
- data/data/africa/3_more/en.wikipedia.yml +0 -30
- data/data/africa/3_more/lang.yml +0 -63
- data/data/africa/countries.txt +0 -92
- data/data/america/1_codes/fifa.yml +0 -41
- data/data/america/1_codes/internet.yml +0 -39
- data/data/america/1_codes/iso3.yml +0 -39
- data/data/america/1_codes/motor.yml +0 -26
- data/data/america/2_names/de.yml +0 -31
- data/data/america/2_names/es.yml +0 -30
- data/data/america/3_more/en.wikipedia.yml +0 -9
- data/data/america/3_more/lang.yml +0 -60
- data/data/america/br/regions.txt +0 -27
- data/data/america/ca/cities.txt +0 -48
- data/data/america/ca/regions.txt +0 -28
- data/data/america/countries.txt +0 -70
- data/data/america/mx/cities.txt +0 -32
- data/data/america/mx/regions.txt +0 -54
- data/data/america/us/cities.txt +0 -46
- data/data/america/us/regions.txt +0 -64
- data/data/america/ve/cities.txt +0 -358
- data/data/america/ve/regions.txt +0 -46
- data/data/asia/1_codes/fifa.yml +0 -53
- data/data/asia/1_codes/internet.yml +0 -51
- data/data/asia/1_codes/iso3.yml +0 -51
- data/data/asia/2_names/de.yml +0 -9
- data/data/asia/3_more/en.wikipedia.yml +0 -26
- data/data/asia/3_more/lang.yml +0 -55
- data/data/asia/countries.txt +0 -126
- data/data/asia/jp/cities.txt +0 -3
- data/data/europe/1_codes/fifa.yml +0 -60
- data/data/europe/1_codes/internet.yml +0 -59
- data/data/europe/1_codes/iso3.yml +0 -59
- data/data/europe/1_codes/motor.yml +0 -60
- data/data/europe/2_names/de.yml +0 -42
- data/data/europe/2_names/es.yml +0 -43
- data/data/europe/3_more/en.wikipedia.yml +0 -12
- data/data/europe/3_more/lang.yml +0 -47
- data/data/europe/at/cities.txt +0 -45
- data/data/europe/at/regions.txt +0 -26
- data/data/europe/be/cities.txt +0 -19
- data/data/europe/be/regions.txt +0 -23
- data/data/europe/bg/cities.txt +0 -4
- data/data/europe/by/cities.txt +0 -4
- data/data/europe/ch/cities.txt +0 -4
- data/data/europe/countries.txt +0 -123
- data/data/europe/cy/cities.txt +0 -1
- data/data/europe/cz/cities.txt +0 -26
- data/data/europe/cz/regions.txt +0 -32
- data/data/europe/de/cities.txt +0 -44
- data/data/europe/de/regions.txt +0 -16
- data/data/europe/dk/cities.txt +0 -6
- data/data/europe/ee/cities.txt +0 -2
- data/data/europe/en/cities.txt +0 -32
- data/data/europe/en/regions.txt +0 -21
- data/data/europe/es/cities.txt +0 -17
- data/data/europe/es/regions.txt +0 -26
- data/data/europe/fi/cities.txt +0 -2
- data/data/europe/fr/cities.txt +0 -15
- data/data/europe/fr/regions.txt +0 -32
- data/data/europe/gr/cities.txt +0 -6
- data/data/europe/hr/cities.txt +0 -1
- data/data/europe/hu/cities.txt +0 -2
- data/data/europe/ie/cities.txt +0 -3
- data/data/europe/it/cities.txt +0 -17
- data/data/europe/lt/cities.txt +0 -3
- data/data/europe/lv/cities.txt +0 -4
- data/data/europe/nl/cities.txt +0 -11
- data/data/europe/no/cities.txt +0 -3
- data/data/europe/pl/cities.txt +0 -12
- data/data/europe/pt/cities.txt +0 -6
- data/data/europe/ro/cities.txt +0 -4
- data/data/europe/rs/cities.txt +0 -3
- data/data/europe/ru/cities.txt +0 -14
- data/data/europe/sc/cities.txt +0 -3
- data/data/europe/se/cities.txt +0 -3
- data/data/europe/tr/cities.txt +0 -3
- data/data/europe/ua/cities.txt +0 -9
- data/data/europe/wa/cities.txt +0 -3
- data/data/langs.yml +0 -210
- data/data/oceania/1_codes/fifa.yml +0 -21
- data/data/oceania/1_codes/internet.yml +0 -17
- data/data/oceania/1_codes/iso3.yml +0 -17
- data/data/oceania/2_names/de.yml +0 -7
- data/data/oceania/3_more/en.wikipedia.yml +0 -11
- data/data/oceania/3_more/lang.yml +0 -17
- data/data/oceania/au/cities.txt +0 -2
- data/data/oceania/countries.txt +0 -40
- data/data/tags.1.yml +0 -40
- data/data/tags.3.yml +0 -23
- data/lib/worlddb/cli/runner.rb +0 -113
- data/lib/worlddb/readers/code_reader.rb +0 -34
- data/lib/worlddb/readers/hash_reader.rb +0 -81
- data/lib/worlddb/readers/line_reader.rb +0 -45
- data/lib/worlddb/readers/values_reader.rb +0 -171
data/data/europe/countries.txt
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
####################
|
|
2
|
-
### europe
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
#####
|
|
6
|
-
# regions
|
|
7
|
-
# northern europe - see http://en.wikipedia.org/wiki/Northern_Europe
|
|
8
|
-
# southern_europe - see http://en.wikipedia.org/wiki/Southern_Europe
|
|
9
|
-
# western_europe - see http://en.wikipedia.org/wiki/Western_Europe
|
|
10
|
-
# eastern_europe - see http://en.wikipedia.org/wiki/Eastern_Europe
|
|
11
|
-
#
|
|
12
|
-
# also see http://en.wikipedia.org/wiki/File:Grossgliederung_Europas-en.svg
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
# baltic (states) - see http://en.wikipedia.org/wiki/Baltic_countries
|
|
16
|
-
# scandinavia - see http://en.wikipedia.org/wiki/Scandinavia
|
|
17
|
-
# nordic (countries) - see http://en.wikipedia.org/wiki/Nordic_countries
|
|
18
|
-
# balkans - see http://en.wikipedia.org/wiki/Balkans
|
|
19
|
-
# southeastern_europe
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#####
|
|
24
|
-
# mark as microstate (if area < 1000)
|
|
25
|
-
# see http://en.wikipedia.org/wiki/Microstate
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## NB:
|
|
30
|
-
#
|
|
31
|
-
# countries also include:
|
|
32
|
-
# england (en), scotland (sc) - nb: Seychellen renamed from sc to ey
|
|
33
|
-
# use nd for northern ireland (ni (nicaragua),no, nr (naru) taken - anything better - anything common?)
|
|
34
|
-
# - use ul for ulster? better?
|
|
35
|
-
#
|
|
36
|
-
# also turkey, russia, georiga, etc.
|
|
37
|
-
# note: the uefa country kazachstan is listed in asia
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## NB: for keys use internet domain/iso two letter code
|
|
41
|
-
#
|
|
42
|
-
# more info about iso country codes:
|
|
43
|
-
# -> http://en.wikipedia.org/wiki/ISO_3166-1
|
|
44
|
-
# two letter codes -> http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
45
|
-
# three letter codes -> http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
|
|
46
|
-
#
|
|
47
|
-
# for three letter codes use fifa code or iso code
|
|
48
|
-
# - fifa three letter country codes
|
|
49
|
-
# -> http://en.wikipedia.org/wiki/List_of_FIFA_country_codes
|
|
50
|
-
# -> differences (fifa,ioc,iso) -> http://en.wikipedia.org/wiki/Comparison_of_IOC,_FIFA,_and_ISO_3166_country_codes
|
|
51
|
-
|
|
52
|
-
## schengen - mark 26 schengen countries - border-free/passport-free zone
|
|
53
|
-
|
|
54
|
-
## eu 27 (+ euro 17)
|
|
55
|
-
|
|
56
|
-
eu, European Union, EUR, 4_324_782, 503_492_041, supra, g20 # NB: no FIFA code exists; use EUR
|
|
57
|
-
|
|
58
|
-
## todo: auto-add tag eu?? for supra:eu?
|
|
59
|
-
|
|
60
|
-
at, Austria, AUT, 83_871, 8_414_638, supra:eu, un|fifa|uefa|eu|euro|schengen|central_europe|western_europe
|
|
61
|
-
be, Belgium, BEL, 30_528, 11_007_020, supra:eu, un|fifa|uefa|eu|euro|schengen|benelux
|
|
62
|
-
cy, Cyprus, CYP, 9_251, 1_099_341, supra:eu, un|fifa|uefa|eu|euro|asia|western asia|middle_east|mediterranean|southern_europe|commonwealth
|
|
63
|
-
de, Germany, GER, 357_050, 81_799_600, supra:eu, un|fifa|uefa|eu|euro|schengen|g8|g20|western europe|central_europe
|
|
64
|
-
ee, Estonia, EST, 45_226, 1_340_194, supra:eu, un|fifa|uefa|eu|euro|schengen|uefa|northern europe|baltic|eastern_europe
|
|
65
|
-
es, Spain, ESP, 506_030, 46_030_109, supra:eu, un|fifa|uefa|eu|euro|schengen|southern_europe
|
|
66
|
-
fi, Finland, FIN, 338_145, 5_391_700, supra:eu, un|fifa|uefa|eu|euro|schengen|northern europe|nordic
|
|
67
|
-
fr, France, FRA, 674_843, 65_821_885, supra:eu, un|fifa|uefa|eu|euro|schengen|g8|g20|western_europe
|
|
68
|
-
gr, Greece, GRE, 131_990, 10_787_690, supra:eu, un|fifa|uefa|eu|euro|schengen|southern_europe
|
|
69
|
-
ie, Irland, IRL, 70_273, 4_722_028, supra:eu, un|fifa|uefa|eu|euro|northern europe|western_europe
|
|
70
|
-
it, Italy, ITA, 301_318, 60_681_514, supra:eu, un|fifa|uefa|eu|euro|schengen|g8|g20|southern_europe
|
|
71
|
-
lu, Luxembourg, LUX, 2_586, 511_840, supra:eu, un|fifa|uefa|eu|euro|schengen|benelux|western_europe
|
|
72
|
-
mt, Malta, MLT, 316, 417_608, supra:eu, un|fifa|uefa|eu|euro|schengen|microstate|mediterranean|southern_europe|commonwealth
|
|
73
|
-
nl, Netherlands, NED, 41_526, 16_703_700, supra:eu, un|fifa|uefa|eu|euro|schengen|benelux|western_europe
|
|
74
|
-
pt, Portugal, POR, 92_391, 10_647_763, supra:eu, un|fifa|uefa|eu|euro|schengen|southern_europe
|
|
75
|
-
sk, Slovakia, SVK, 49_037, 5_440_078, supra:eu, un|fifa|uefa|eu|euro|schengen|central_europe
|
|
76
|
-
si, Slovenia, SVN, 20_273, 2_048_951, supra:eu, un|fifa|uefa|eu|euro|schengen|southern_europe|central_europe
|
|
77
|
-
|
|
78
|
-
bg, Bulgaria, BUL, 110_994, 7_364_570, supra:eu, un|fifa|uefa|eu|eastern_europe|southeastern_europe
|
|
79
|
-
dk, Denmark, DEN, 43_094, 5_564_219, supra:eu, un|fifa|uefa|eu|schengen|northern europe|scandinavia|nordic
|
|
80
|
-
lv, Latvija [Latvia], LVA, 64_589, 2_245_357, supra:eu, un|fifa|uefa|eu|schengen|northern europe|baltic
|
|
81
|
-
lt, Lithuania, LTU, 65_303, 3_207_060, supra:eu, un|fifa|uefa|eu|schengen|northern europe|baltic
|
|
82
|
-
pl, Poland, POL, 312_683, 38_186_860, supra:eu, un|fifa|uefa|eu|schengen|central_europe
|
|
83
|
-
ro, Romania, ROU, 238_391, 19_042_936, supra:eu, un|fifa|uefa|eu|eastern_europe|southeastern_europe
|
|
84
|
-
se, Sweden, SWE, 449_964, 9_415_570, supra:eu, un|fifa|uefa|eu|schengen|northern europe|scandinavia|nordic
|
|
85
|
-
cz, Czech Republic, CZE, 78_866, 10_535_811, supra:eu, un|fifa|uefa|eu|schengen|central_europe
|
|
86
|
-
hu, Hungary, HUN, 93_030, 9_979_000, supra:eu, un|fifa|uefa|eu|schengen|central_europe
|
|
87
|
-
|
|
88
|
-
## todo/check: make a distinction between uk and gb?
|
|
89
|
-
##
|
|
90
|
-
## uk, United Kingdown (of Great Britain and Northern Irleland), UKI, 243_610, London, supra:eu, un|fifa|eu|g8|g20
|
|
91
|
-
|
|
92
|
-
gb, Great Britain, GBR, 243_610, 63_047_162, supra:eu, un|eu|g8|g20|northern europe|western_europe|commonwealth
|
|
93
|
-
en, England, ENG, 130_395, 53_013_000, country:gb, fifa|uefa|northern europe|western_europe # NB: FIFA (ENG); not a valid iso country n internet domain / its uk - what to use - anything better?
|
|
94
|
-
|
|
95
|
-
sc, Scotland, SCO, 78_387, 5_254_800, country:gb, fifa|uefa|northern europe|western_europe # NB: FIFA (SCO); not a valid iso country/internet domain - its uk - what to use - anything better?
|
|
96
|
-
wa, Wales, WAL, 20_779, 3_064_000, country:gb, fifa|uefa|northern europe|western_europe
|
|
97
|
-
nd, Northern Ireland, NIR, 13_843, 1_810_900, Belfast, country:gb, fifa|uefa|northern europe|western_europe
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
fo, Faroe Islands, FRO, 1_399, 49_267, country:dk, fifa|uefa|northern europe|nordic
|
|
101
|
-
|
|
102
|
-
ad, Andorra, AND, 468, 85_082, un|fifa|uefa|microstate|western_europe
|
|
103
|
-
al, Albania, ALB, 28_748, 3_002_859, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
104
|
-
by, Belarus, BLR, 207_600, 9_643_566, un|fifa|uefa|eastern_europe
|
|
105
|
-
ch, Switzerland, SUI, 41_285, 7_866_500, un|fifa|uefa|schengen|western_europe|central_europe
|
|
106
|
-
hr, Croatia, CRO, 56_594, 4_290_612, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
107
|
-
rs, Serbia, SRB, 88_361, 7_276_604, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
108
|
-
ru, Russia, RUS, 17_098_242, 142_517_670, un|fifa|uefa|asia|north asia|g8|g20
|
|
109
|
-
tr, Turkey, TUR, 783_562, 79_749_461, un|fifa|uefa|asia|western asia|g20
|
|
110
|
-
ua, Ukraine, UKR, 603_550, 44_854_065, un|fifa|uefa|eastern_europe
|
|
111
|
-
mk, Macedonia, MKD, 25_713, 2_082_370, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
112
|
-
no, Norway, NOR, 385_155, 4_993_300, un|fifa|uefa|schengen|uefa|northern europe|scandinavia|nordic
|
|
113
|
-
is, Iceland, ISL, 103_000, 318_452, un|fifa|uefa|schengen|uefa|northern europe|nordic
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
va, Vatican City, VAT, 1, 836, Vatican City, microstate|southern_europe # NB: not fifa member; use ISO code
|
|
117
|
-
|
|
118
|
-
ba, Bosnia and Herzegovina, BIH, 51_197, 3_839_737, Sarajevo, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
119
|
-
li, Liechtenstein, LIE, 160, 36281, Vaduz, un|fifa|uefa|microstate|western_europe
|
|
120
|
-
mc, Monaco, MCO, 2, 36371, Monaco, un|microstate|western_europe # nb: use ISO code; not fifa member
|
|
121
|
-
me, Montenegro, MNE, 13_812, 625_266, Podgorica, un|fifa|uefa|southern_europe|balkans|southeastern_europe
|
|
122
|
-
md, Moldova, MDA, 33_846, 3_559_500, Chișinău, un|fifa|uefa|eastern_europe
|
|
123
|
-
sm, San Marino, SMR, 61, 32_404, City of San Marino, un|fifa|uefa|microstate|southern_europe
|
data/data/europe/cy/cities.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nikosia, Nikosia|Nicosia
|
data/data/europe/cz/cities.txt
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# top 10 cities
|
|
4
|
-
|
|
5
|
-
Praha [Prague], region:pr, 1_290_846, m:1_265_000
|
|
6
|
-
Brno, region:jm, 384_277
|
|
7
|
-
Ostrava, region:mo, 302_456
|
|
8
|
-
Plzeň [Pilsen], region:pl, 169_688
|
|
9
|
-
Liberec, region:li, 102_247
|
|
10
|
-
Olomouc, region:ol, 100_043
|
|
11
|
-
Ústí nad Labem, region:us, 95_003
|
|
12
|
-
Hradec Králové, region:kr, 94_242
|
|
13
|
-
Budějovice [Budweis]|České Budějovice, region:jc, 93_883
|
|
14
|
-
Pardubice, region:pa, 91_073
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# more cities/towns
|
|
18
|
-
|
|
19
|
-
Karlovy Vary [Carlsbad], region:ka, 53_737
|
|
20
|
-
Kutná Hora, region:st, 20_839
|
|
21
|
-
|
|
22
|
-
Tábor, region:jc, 35_769
|
|
23
|
-
Krumlov|Český Krumlov, region:jc, 13_752
|
|
24
|
-
Třeboň, region:jc, 8_840
|
|
25
|
-
|
|
26
|
-
Mikulov, region:jm, 7_624
|
data/data/europe/cz/regions.txt
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
###
|
|
3
|
-
## 14 regions
|
|
4
|
-
##
|
|
5
|
-
## see http://en.wikipedia.org/wiki/Regions_of_the_Czech_Republic
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### NB: using official two letter iso 3166-2 cz region codes
|
|
9
|
-
## see http://en.wikipedia.org/wiki/ISO_3166-2:CZ
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
pr, Praha [Prague], 496
|
|
13
|
-
st, Střední Čechy [Central Bohemia], 11_015, central bohemia
|
|
14
|
-
|
|
15
|
-
jc, Jižní Čechy [South Bohemia], 10_057, southwest
|
|
16
|
-
pl, Plzeň, 7_561, southwest
|
|
17
|
-
|
|
18
|
-
ka, Karlovy Vary, 3_315, northwest
|
|
19
|
-
us, Ústí nad Labem, 5_335, northwest
|
|
20
|
-
|
|
21
|
-
li, Liberec, 3_163, northeast
|
|
22
|
-
kr, Hradec Králové, 4_758, northeast
|
|
23
|
-
pa, Pardubice, 4_519, northeast
|
|
24
|
-
|
|
25
|
-
jm, Jižní Morava [South Moravia], 7_067, southeast
|
|
26
|
-
vy, Vysočina, 6_926, southeast
|
|
27
|
-
|
|
28
|
-
ol, Olomouc, 5_159, central moravia
|
|
29
|
-
zl, Zlín, 3_964, central moravia
|
|
30
|
-
|
|
31
|
-
mo, Moravskoslezsko [Moravia-Silesia], 5_535
|
|
32
|
-
|
data/data/europe/de/cities.txt
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Top metros (metropolitan areas/urban areas - includes metro/urban area beyond proper city limits)
|
|
2
|
-
|
|
3
|
-
####
|
|
4
|
-
## source metro/urban
|
|
5
|
-
## - http://en.wikipedia.org/wiki/Largest_urban_areas_of_the_European_Union
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ruhr, Ruhrgebiet [Ruhr area], region:nw, m:7_304_000, metro # includes essen, bochum, dortmund, gelsenkirchen
|
|
9
|
-
Köln/Bonn [Cologne-Bonn], region:nw, m:2_063_000, metro # includes koeln, leverkusen, bergischgladbach, bonn
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# Top 10 cities
|
|
13
|
-
|
|
14
|
-
Berlin, region:be, 3_501_872, m:3_453_000
|
|
15
|
-
Hamburg, region:hh, 1_798_836, m:1_794_000
|
|
16
|
-
München [Munich], region:by, 1_378_176, m:1_355_000
|
|
17
|
-
Köln, region:nw, 1_017_155, metro:koelnbonn,
|
|
18
|
-
Frankfurt, region:he, 691_518 m:2_300_000 # frankfurt metro includes wiesbaden, darmstadt
|
|
19
|
-
Stuttgart, region:bw, 613_392, m:1_272_000
|
|
20
|
-
Düsseldorf, region:nw, 592_393
|
|
21
|
-
Dortmund, region:nw, 580_956, metro:ruhr
|
|
22
|
-
Essen, region:nw, 573_468, metro:ruhr
|
|
23
|
-
Bremen, region:hb, 548_319
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Duisburg, region:nw, 513_400, metro:ruhr
|
|
27
|
-
Leipzig, region:sn, 486_100
|
|
28
|
-
Dresden, region:sn, 473_300
|
|
29
|
-
Bochum, region:nw, 388_100, metro:ruhr
|
|
30
|
-
Bonn, region:nw, 307_500, metro:koelnbonn
|
|
31
|
-
|
|
32
|
-
# more cities
|
|
33
|
-
|
|
34
|
-
Nürnberg [Nuremberg], region:by, 510_602, m:1_020_000
|
|
35
|
-
Augsburg, region:by, 266_647
|
|
36
|
-
Fürth, region:by, 116_317
|
|
37
|
-
Hoffenheim, region:bw, 3_272
|
|
38
|
-
Freiburg, region:bw, 229_144
|
|
39
|
-
Hannover, region:ni, 525_875
|
|
40
|
-
Wolfsburg, region:ni, 122_583
|
|
41
|
-
Gelsenkirchen, region:nw, 256_652, metro:ruhr
|
|
42
|
-
Leverkusen, region:nw, 161_195, metro:koelnbonn
|
|
43
|
-
M'gladbach|Mönchengladbach, region:nw, 257_208
|
|
44
|
-
Mainz, region:rp, 200_957
|
data/data/europe/de/regions.txt
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
bw, Baden-Württemberg, 35_752
|
|
2
|
-
by, Bayern [Bavaria], 70_552
|
|
3
|
-
be, Berlin, 892
|
|
4
|
-
bb, Brandenburg, 29_479
|
|
5
|
-
hb, Bremen, 419
|
|
6
|
-
hh, Hamburg, 755
|
|
7
|
-
he, Hessen [Hesse], 21_115
|
|
8
|
-
mv, Mecklenburg-Vorpommern, 23_180
|
|
9
|
-
ni, Niedersachsen [Lower Saxony], 47_609
|
|
10
|
-
nw, Nordrhein-Westfalen [North Rhine-Westphalia], 34_085
|
|
11
|
-
rp, Rheinland-Pfalz [Rhineland-Palatinate], 19_853
|
|
12
|
-
sl, Saarland , 2_569
|
|
13
|
-
sn, Sachsen [Saxony], 18_416
|
|
14
|
-
st, Sachsen-Anhalt [Saxony-Anhalt], 20_446
|
|
15
|
-
sh, Schleswig-Holstein, 15_799
|
|
16
|
-
th, Thüringen [Thuringia], 16_172
|
data/data/europe/dk/cities.txt
DELETED
data/data/europe/ee/cities.txt
DELETED
data/data/europe/en/cities.txt
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# metros
|
|
2
|
-
|
|
3
|
-
Leeds-Bradford, region:yh, m:1_541_000, metro
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# top cities
|
|
7
|
-
|
|
8
|
-
London, region:gl, 7_619_800, m:8_586_000
|
|
9
|
-
Birmingham, region:wm, 1_010_400, m:2_294_000
|
|
10
|
-
Liverpool, region:nw, 469_017, m:819_000
|
|
11
|
-
Leeds, region:yh, 443_247, metro:leedsbradford
|
|
12
|
-
Sheffield, region:yh, 439_866
|
|
13
|
-
Bristol, region:sw, 420_556
|
|
14
|
-
Manchester, region:nw, 394_269, m:2_244_000
|
|
15
|
-
Leicester, region:em, 330_574
|
|
16
|
-
Coventry, region:wm, 303_475
|
|
17
|
-
Kingston|Kingston upon Hull, region:yh, 301_416
|
|
18
|
-
Bradford, region:yh, 293_717, metro:leedsbradford
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# more cities
|
|
22
|
-
|
|
23
|
-
## change key to westbromwich in sport.db
|
|
24
|
-
westbrom, West Bromwich, region:wm, 136940
|
|
25
|
-
|
|
26
|
-
Newcastle|Newcastle upon Tyne, region:ne, 280200, m:892_000
|
|
27
|
-
Stoke|Stoke-on-Trent, region:wm, 249000
|
|
28
|
-
Sunderland, region:ne, 177739
|
|
29
|
-
Wigan, region:nw, 81203
|
|
30
|
-
Southampton, region:se, 239700
|
|
31
|
-
Reading, region:se, 155700
|
|
32
|
-
Norwich, region:ee, 140200
|
data/data/europe/en/regions.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
####
|
|
3
|
-
## todo: check what abbrevations to use for regions?
|
|
4
|
-
##
|
|
5
|
-
## see http://en.wikipedia.org/wiki/Regions_of_England
|
|
6
|
-
##
|
|
7
|
-
## make regions into tags? and use smaller admin units?
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ne, North East England
|
|
11
|
-
nw, North West England
|
|
12
|
-
yh, Yorkshire and the Humber
|
|
13
|
-
em, East Midlands
|
|
14
|
-
wm, West Midlands
|
|
15
|
-
ee, East of England
|
|
16
|
-
gl, Greater London
|
|
17
|
-
se, South East England
|
|
18
|
-
sw, South West England
|
|
19
|
-
|
|
20
|
-
wa, Wales
|
|
21
|
-
|
data/data/europe/es/cities.txt
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
## top 10 cities
|
|
3
|
-
|
|
4
|
-
Madrid, region:md, 3_265_038, m:5_427_000
|
|
5
|
-
Barcelona, region:ct, 1_615_448, m:4_223_000
|
|
6
|
-
Valencia, region:vc, 798_033, m:810_000
|
|
7
|
-
Sevilla [Seville], region:an, 703_021, m:750_000
|
|
8
|
-
Zaragoza, region:ar, 674_725
|
|
9
|
-
Málaga, region:an, 568_030
|
|
10
|
-
Murcia, region:mc, 442_203
|
|
11
|
-
Palma (de Mallorca), region:ib, 405_318
|
|
12
|
-
Las Palmas (de Gran Canaria), region:cn, 383_343
|
|
13
|
-
Bilbao, region:pv, 352_700, m:750_000
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
# more cities here
|
|
17
|
-
|
data/data/europe/es/regions.txt
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
########
|
|
3
|
-
# 17 autonomous communities (+2 autonomous cities)
|
|
4
|
-
|
|
5
|
-
an, Andalucía|Andalusia, 87598
|
|
6
|
-
ar, Aragón, 47720
|
|
7
|
-
as, Asturias, 10604
|
|
8
|
-
ib, Illes Balears|Balearic Islands, 4992
|
|
9
|
-
pv, Pais Vasco|Basque Country, 7235
|
|
10
|
-
cn, Canarias|Canary Islands, 7447
|
|
11
|
-
cb, Cantábria, 5321
|
|
12
|
-
cl, Castilla y León, 94225
|
|
13
|
-
cm, Castilla-La Mancha, 79462
|
|
14
|
-
ct, Cataluña|Catalonia, 32113
|
|
15
|
-
ex, Extremadura, 41635
|
|
16
|
-
ga, Galicia, 29574
|
|
17
|
-
ri, La Rioja, 5045
|
|
18
|
-
md, Madrid, 8028
|
|
19
|
-
mc, Murcia, 11313
|
|
20
|
-
na, Navarra, 10390
|
|
21
|
-
vc, Valencia, 23255
|
|
22
|
-
|
|
23
|
-
## autonomous cities
|
|
24
|
-
|
|
25
|
-
ce, Ceuta, 19
|
|
26
|
-
ml, Melilla 13
|
data/data/europe/fi/cities.txt
DELETED
data/data/europe/fr/cities.txt
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# top 10 cities
|
|
2
|
-
|
|
3
|
-
Paris, region:if, 2_234_105, m:10_755_000
|
|
4
|
-
Marseille, region:ac, 850_602, m: 1_582_000
|
|
5
|
-
Lyon, region:ra, 479_803, m: 1_542_000
|
|
6
|
-
Toulouse, region:mp, 440_204, m: 880_000
|
|
7
|
-
Nice, region:ac, 340_735, m: 962_000
|
|
8
|
-
Nantes, region:pl, 282_047
|
|
9
|
-
Strasbourg, region:al, 271_708
|
|
10
|
-
Montpellier, region:lr, 255_080
|
|
11
|
-
Bordeaux, region:aq, 236_725, m:845_000
|
|
12
|
-
Lille, region:nc, 226_827, m:1_050_000
|
|
13
|
-
Rennes, region:br, 206_604
|
|
14
|
-
|
|
15
|
-
# more cities
|
data/data/europe/fr/regions.txt
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# NB: use 9 NUTS1 regions for tags
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if, Ile-de-France, 12012, ile_de_france
|
|
6
|
-
|
|
7
|
-
ca, Champagne-Ardenne, 25606, bassin_parisien
|
|
8
|
-
pd, Picardie, 19399, bassin_parisien
|
|
9
|
-
hn, Haute-Normandie, 12317, bassin_parisien
|
|
10
|
-
ct, Centre, 39151, bassin_parisien
|
|
11
|
-
bn, Basse-Normandie, 17589, bassin_parisien
|
|
12
|
-
bg, Bourgogne, 31582, bassin_parisien
|
|
13
|
-
|
|
14
|
-
nc, Nord-Pas-de-Calais, 12414, nord_pas_de_calais
|
|
15
|
-
|
|
16
|
-
lr, Lorraine, 23547, est
|
|
17
|
-
al, Alsace, 8280, est
|
|
18
|
-
fc, Franche-Comté, 16202, est
|
|
19
|
-
|
|
20
|
-
pl, Pays de la Loire, 32082, ouest
|
|
21
|
-
br, Bretagne, 27208, ouest
|
|
22
|
-
pc, Poitou-Charentes, 25810, ouest
|
|
23
|
-
aq, Aquitaine, 41308, ouest
|
|
24
|
-
mp, Midi-Pyrénées, 45348, ouest
|
|
25
|
-
lm, Limousin, 16942, ouest
|
|
26
|
-
|
|
27
|
-
ra, Rhône-Alpes, 43698, centre_est
|
|
28
|
-
av, Auvergne, 26013, centre_est
|
|
29
|
-
|
|
30
|
-
lr, Languedoc-Roussillon, 27376, mediterranee
|
|
31
|
-
ac, Provence-Alpes-Côte d'Azur, 31400, mediterranee
|
|
32
|
-
cr, Corse, 8680, mediterranee
|
data/data/europe/gr/cities.txt
DELETED
data/data/europe/hr/cities.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
zagreb, Zagreb
|
data/data/europe/hu/cities.txt
DELETED
data/data/europe/ie/cities.txt
DELETED
data/data/europe/it/cities.txt
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Milano [Milan], 1_338_436, m:5_232_000
|
|
4
|
-
Roma [Rome], 2_777_979, m:3_799_000
|
|
5
|
-
Napoli [Naples], 1_046_987, m:3_726_000
|
|
6
|
-
Torino [Turin], 921_485, m:1_499_000
|
|
7
|
-
Palermo, 689_349, m:876_000
|
|
8
|
-
Genova [Genoa], 655_704
|
|
9
|
-
Bologna, 385_813
|
|
10
|
-
Firenze [Florence], 381_762, m:821_000
|
|
11
|
-
|
|
12
|
-
Catania, 341_685
|
|
13
|
-
Bari, 335_647
|
|
14
|
-
Venezia [Venice], 297_743
|
|
15
|
-
Messina, 262_524
|
|
16
|
-
Verona, 254_146
|
|
17
|
-
Trieste, 222_589
|
data/data/europe/lt/cities.txt
DELETED
data/data/europe/lv/cities.txt
DELETED
data/data/europe/nl/cities.txt
DELETED
data/data/europe/no/cities.txt
DELETED
data/data/europe/pl/cities.txt
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# metros
|
|
3
|
-
|
|
4
|
-
katowicemetro, Katowice (Upper-Silesian Metropolis), m:2_505_000, metro
|
|
5
|
-
gdansktri, Gdańsk (Tricity), m:775_000, metro # includes Gdańsk, Gdynia and Sopot
|
|
6
|
-
|
|
7
|
-
# cities
|
|
8
|
-
|
|
9
|
-
Warszawa [Warsaw], 1_720_398, m:1_713_000
|
|
10
|
-
Łódź, m: 907_000
|
|
11
|
-
Kraków, m: 760_000
|
|
12
|
-
|
data/data/europe/pt/cities.txt
DELETED
data/data/europe/ro/cities.txt
DELETED
data/data/europe/rs/cities.txt
DELETED
data/data/europe/ru/cities.txt
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Moskva [Moscow], 11_689_048, m:15_512_000
|
|
3
|
-
St. Petersburg, 4_879_566, m:4_879_000
|
|
4
|
-
|
|
5
|
-
Novgorod|Nizhni Novgorod, 1_250_615, m:1_248_000
|
|
6
|
-
|
|
7
|
-
Samaram, 1_164_896, m:1_163_000
|
|
8
|
-
Kazan, 1_143_546, m:1_141_000
|
|
9
|
-
|
|
10
|
-
# Yekaterinburg 1_350_136 ??
|
|
11
|
-
# Chelyabinsk 1_130_273 ??
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
data/data/europe/sc/cities.txt
DELETED
data/data/europe/se/cities.txt
DELETED
data/data/europe/tr/cities.txt
DELETED
data/data/europe/ua/cities.txt
DELETED
data/data/europe/wa/cities.txt
DELETED