worlddb 0.8.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/asia/countries.txt
DELETED
@@ -1,126 +0,0 @@
|
|
1
|
-
##################################
|
2
|
-
### asia (includes middle east)
|
3
|
-
##
|
4
|
-
|
5
|
-
## NB: uefa country georgia, armenia, kazakhstan are listed here
|
6
|
-
## NB: australia is listed in oceania (w/ australia)
|
7
|
-
|
8
|
-
|
9
|
-
####
|
10
|
-
# regions (United Nations geoscheme)
|
11
|
-
# - Central Asia
|
12
|
-
# - East Asia
|
13
|
-
# - North Asia
|
14
|
-
# - South Asia | Southern Asia
|
15
|
-
# - Southeast Asia
|
16
|
-
# - Western Asia | Middle East | Near East
|
17
|
-
# o Arabian Peninsula
|
18
|
-
# o South Caucasus
|
19
|
-
# o Fertile Crescent
|
20
|
-
|
21
|
-
|
22
|
-
#######
|
23
|
-
## western asia / middle east
|
24
|
-
## see
|
25
|
-
## subregions used:
|
26
|
-
## - arabian peninsula
|
27
|
-
## - south caucasus
|
28
|
-
## - fertile crescent
|
29
|
-
##
|
30
|
-
## nb: egypt listed in africa - marked as middle_east -- western_asia too?
|
31
|
-
## nb: cyprus listed in europe - mark as middle_east|western_asia
|
32
|
-
## nb: turkey listed in europe - mark as w/ middle_east|western_asia ??
|
33
|
-
##
|
34
|
-
## middle east; see -> http://en.wikipedia.org/wiki/Middle_East
|
35
|
-
|
36
|
-
### arabian peninsula
|
37
|
-
|
38
|
-
bh, Bahrain, BHR, 765, 1_234_571, Manama, un|fifa|middle_east|western_asia|arabian peninsula|microstate
|
39
|
-
kw, Kuwait, KUW, 17_820, 3_566_437, Kuwait City, un|fifa|middle_east|western_asia|arabian peninsula
|
40
|
-
om, Oman, OMA, 309_501, 2_773_479, Muscat, un|fifa|middle_east|western_asia|arabian peninsula
|
41
|
-
qa, Qatar, QAT, 11_571, 1_853_563, Doha, un|fifa|middle_east|western_asia|arabian peninsula
|
42
|
-
sa, Saudi Arabia, KSA, 1_960_582, 27_136_977, un|fifa|middle_east|western_asia|arabian peninsula|g20
|
43
|
-
ae, United Arab Emirates, UAE, 83_600, 8_264_070, Abu Dhabi, un|fifa|middle_east|western_asia|arabian peninsula
|
44
|
-
ye, Yemen, YEM, 527_829, 25_130_000, Sana'a, un|fifa|middle_east|western_asia|arabian peninsula
|
45
|
-
|
46
|
-
|
47
|
-
## fertile crescent
|
48
|
-
|
49
|
-
iq, Iraq, IRQ, 438_317, 31_129_225, Baghdad, un|fifa|middle_east|western_asia|fertile crescent
|
50
|
-
il, Israel, ISR, 20_770, 7_653_600, un|fifa|middle_east|western_asia|fertile crescent
|
51
|
-
jo, Jordan, JOR, 89_342, 6_508_271, Amman, un|fifa|middle_east|western_asia|fertile crescent
|
52
|
-
lb, Lebanon, LIB, 10_452, 4_224_000, Beirut, un|fifa|middle_east|western_asia|fertile crescent
|
53
|
-
ps, Palestine, PLE, 6_220, 4_260_636, fifa|middle_east|western_asia|fertile crescent
|
54
|
-
sy, Syria, SYR, 185_180, 22_530_746, Damascus, un|fifa|middle_east|western_asia|fertile crescent
|
55
|
-
|
56
|
-
### iranian Plateau
|
57
|
-
|
58
|
-
ir, Iran, IRN, 1_648_195, 75_149_669, Tehran, un|fifa|middle_east|western_asia
|
59
|
-
|
60
|
-
|
61
|
-
## south caucasus
|
62
|
-
## - add to middle east?
|
63
|
-
## - check azerbaijan is in europe and fifa too?
|
64
|
-
|
65
|
-
ge, Georgia, GEO, 69_700, 4_570_934, un|fifa|uefa|europe|western asia|south caucasus
|
66
|
-
am, Armenia, ARM, 29_743, 2_970_495, un|fifa|uefa|europe|western asia|south caucasus
|
67
|
-
az, Azerbaijan, AZE, 86_600, 9_165_000, Baku, un|fifa|uefa|western asia|south caucasus
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
#######################
|
72
|
-
# central asia
|
73
|
-
# see http://en.wikipedia.org/wiki/Central_Asia
|
74
|
-
|
75
|
-
kz, Kazakhstan, KAZ, 2_724_900, 16_600_000, un|fifa|uefa|europe|central_asia
|
76
|
-
kg, Kyrgyzstan, KGZ, 199_900, 5_550_239, Bishkek, un|fifa|central_asia
|
77
|
-
tj, Tajikistan, TJK, 143_100, 7_616_000, Dushanbe, un|fifa|central_asia
|
78
|
-
tm, Turkmenistan, TKM, 491_210, 5_125_693, Ashgabat, un|fifa|central_asia
|
79
|
-
uz, Uzbekistan, UZB, 447_400, 29_559_100, Tashkent, un|fifa|central_asia
|
80
|
-
|
81
|
-
|
82
|
-
################
|
83
|
-
# east asia
|
84
|
-
# see http://en.wikipedia.org/wiki/East_Asia
|
85
|
-
|
86
|
-
jp, Japan, JPN, 377_930, 127_950_000, un|fifa|east_asia|g8|g20
|
87
|
-
kp, North Korea, PRK, 120_538, 24_346_000, un|fifa|east_asia
|
88
|
-
kr, South Korea, KOR, 99_828, 48_988_833, un|fifa|east_asia|g20
|
89
|
-
cn, China, CHN, 9_596_961, 1_339_724_852, un|fifa|east_asia|g5|g20
|
90
|
-
hk, Hong Kong, HKG, 1_104, 7_061_200, country:cn, fifa|east_asia
|
91
|
-
tw, Taiwan, TPE, 36_188, 23_174_528, fifa|east_asia
|
92
|
-
mn, Mongolia, MGL, 1_564_116, 2_754_685, Ulan Bator, un|fifa|east_asia
|
93
|
-
|
94
|
-
|
95
|
-
###################
|
96
|
-
# south asia
|
97
|
-
# see http://en.wikipedia.org/wiki/South_Asia
|
98
|
-
|
99
|
-
pk, Pakistan, PAK, 796_095, 180_440_000, un|fifa|south_asia|commonwealth
|
100
|
-
in, India, IND, 3_287_240, 1_210_193_422, un|fifa|south_asia|g5|g20|commonwealth
|
101
|
-
bd, Bangladesh, BAN, 147_570, 152_518_015, un|fifa|south_asia|commonwealth
|
102
|
-
np, Nepal, NEP, 147_181, 26_620_080, un|fifa|south_asia
|
103
|
-
lk, Sri Lanka, SRI, 65_610, 20_277_597, un|fifa|south_asia|commonwealth
|
104
|
-
bt, Bhutan, BHU, 38_394, 742_737, Thimphu, un|fifa|south_asia
|
105
|
-
mv, Maldives, MDV, 298, 328_536, Malé, un|fifa|south_asia|microstate|commonwealth
|
106
|
-
|
107
|
-
# also add afghanistan here - why? why not?
|
108
|
-
|
109
|
-
af, Afghanistan, AFG, 647_500, 30_419_928, Kabul, un|fifa|south_asia|central_asia
|
110
|
-
|
111
|
-
|
112
|
-
########################
|
113
|
-
# southeast asia
|
114
|
-
# see http://en.wikipedia.org/wiki/Southeast_Asia
|
115
|
-
|
116
|
-
id, Indonesia, IDN, 1_904_569, 241_030_522, un|fifa|southeast_asia|g20
|
117
|
-
my, Malaysia, MAS, 329_847, 28_731_000, un|fifa|southeast_asia|commonwealth
|
118
|
-
sg, Singapore, SIN, 724, 5_274_700, un|fifa|southeast_asia|microstate|commonwealth
|
119
|
-
th, Thailand, THA, 513_120, 64_076_000, un|fifa|southeast_asia
|
120
|
-
ph, Philippines, PHI, 300_000, 95_856_000, un|fifa|southeast_asia
|
121
|
-
vn, Vietnam, VIE, 331_210, 89_316_000, un|fifa|southeast_asia
|
122
|
-
bn, Brunei, BRU, 5_765, 408_786, Bandar Seri Begawan, un|fifa|southeast_asia|commonwealth
|
123
|
-
mm, Myanmar, MYA, 676_578, 60_280_000, Naypyidaw, un|fifa|southeast_asia
|
124
|
-
kh, Cambodia, CAM, 181_035, 14_952_665, Phnom Penh, un|fifa|southeast_asia
|
125
|
-
tl, Timor-Leste [East Timor], TLS, 14_874, 1_066_582, Dili, un|fifa|southeast_asia
|
126
|
-
la, Laos, LAO, 236_800, 6_500_000, Vientiane, un|fifa|southeast_asia
|
data/data/asia/jp/cities.txt
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
|
4
|
-
|
5
|
-
ba: BIH # Bosnia and Herzegovina
|
6
|
-
li: LIE # Liechtenstein
|
7
|
-
me: MNE # Montenegro
|
8
|
-
md: MDA # Moldova
|
9
|
-
sm: SMR # San Marino
|
10
|
-
at: AUT # Austria
|
11
|
-
be: BEL # Belgium
|
12
|
-
cy: CYP # Cyprus
|
13
|
-
de: GER # Germany
|
14
|
-
ee: EST # Estonia
|
15
|
-
es: ESP # Spain
|
16
|
-
fi: FIN # Finland
|
17
|
-
fr: FRA # France
|
18
|
-
gr: GRE # Greece
|
19
|
-
ie: IRL # Irland
|
20
|
-
it: ITA # Italy
|
21
|
-
lu: LUX # Luxembourg
|
22
|
-
mt: MLT # Malta
|
23
|
-
nl: NED # Netherlands
|
24
|
-
pt: POR # Portugal
|
25
|
-
sk: SVK # Slovakia
|
26
|
-
si: SVN # Slovenia
|
27
|
-
bg: BUL # Bulgaria
|
28
|
-
dk: DEN # Denmark
|
29
|
-
lv: LVA # Latvija [Latvia]
|
30
|
-
lt: LTU # Lithuania
|
31
|
-
pl: POL # Poland
|
32
|
-
ro: ROU # Romania
|
33
|
-
se: SWE # Sweden
|
34
|
-
cz: CZE # Czech Republic
|
35
|
-
hu: HUN # Hungary
|
36
|
-
en: ENG # England
|
37
|
-
sc: SCO # Scotland
|
38
|
-
wa: WAL # Wales
|
39
|
-
nd: NIR # Northern Ireland
|
40
|
-
fo: FRO # Faroe Islands
|
41
|
-
ad: AND # Andorra
|
42
|
-
al: ALB # Albania
|
43
|
-
by: BLR # Belarus
|
44
|
-
ch: SUI # Switzerland
|
45
|
-
hr: CRO # Croatia
|
46
|
-
rs: SRB # Serbia
|
47
|
-
ru: RUS # Russia
|
48
|
-
tr: TUR # Turkey
|
49
|
-
ua: UKR # Ukraine
|
50
|
-
mk: MKD # Macedonia
|
51
|
-
no: NOR # Norway
|
52
|
-
is: ISL # Iceland
|
53
|
-
|
54
|
-
####
|
55
|
-
## not members - double check if mistaken
|
56
|
-
|
57
|
-
va: !!null # Vatican City
|
58
|
-
mc: !!null # Monaco
|
59
|
-
eu: !!null # European Union - all its members
|
60
|
-
gb: !!null # Great Britain - all its member e.g. England/Wales/Scotland/Northern Irland
|
@@ -1,59 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
|
4
|
-
ba: ba # Bosnia and Herzegovina
|
5
|
-
li: li # Liechtenstein
|
6
|
-
mc: mc # Monaco
|
7
|
-
me: me # Montenegro
|
8
|
-
md: md # Moldova
|
9
|
-
sm: sm # San Marino
|
10
|
-
eu: eu # European Union
|
11
|
-
at: at # Austria
|
12
|
-
be: be # Belgium
|
13
|
-
cy: cy # Cyprus
|
14
|
-
de: de # Germany
|
15
|
-
ee: ee # Estonia
|
16
|
-
es: es # Spain
|
17
|
-
fi: fi # Finland
|
18
|
-
fr: fr # France
|
19
|
-
gr: gr # Greece
|
20
|
-
ie: ie # Irland
|
21
|
-
it: it # Italy
|
22
|
-
lu: lu # Luxembourg
|
23
|
-
mt: mt # Malta
|
24
|
-
nl: nl # Netherlands
|
25
|
-
pt: pt # Portugal
|
26
|
-
sk: sk # Slovakia
|
27
|
-
si: si # Slovenia
|
28
|
-
bg: bg # Bulgaria
|
29
|
-
dk: dk # Denmark
|
30
|
-
lv: lv # Latvija [Latvia]
|
31
|
-
lt: lt # Lithuania
|
32
|
-
pl: pl # Poland
|
33
|
-
ro: ro # Romania
|
34
|
-
se: se # Sweden
|
35
|
-
cz: cz # Czech Republic
|
36
|
-
hu: hu # Hungary
|
37
|
-
fo: fo # Faroe Islands
|
38
|
-
ad: ad # Andorra
|
39
|
-
al: al # Albania
|
40
|
-
by: by # Belarus
|
41
|
-
ch: ch # Switzerland
|
42
|
-
hr: hr # Croatia
|
43
|
-
rs: rs # Serbia
|
44
|
-
ru: ru # Russia
|
45
|
-
tr: tr # Turkey
|
46
|
-
ua: ua # Ukraine
|
47
|
-
mk: mk # Macedonia
|
48
|
-
no: no # Norway
|
49
|
-
is: is # Iceland
|
50
|
-
va: va # Vatican City
|
51
|
-
|
52
|
-
#################
|
53
|
-
# NB: some different mappings
|
54
|
-
|
55
|
-
gb: uk # Great Britain
|
56
|
-
en: !!null # England
|
57
|
-
sc: !!null # Scotland
|
58
|
-
wa: !!null # Wales
|
59
|
-
nd: !!null # Northern Ireland
|
@@ -1,59 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
|
4
|
-
ba: BIH # Bosnia and Herzegovina
|
5
|
-
li: LIE # Liechtenstein
|
6
|
-
mc: MCO # Monaco
|
7
|
-
me: MNE # Montenegro
|
8
|
-
md: MDA # Moldova
|
9
|
-
sm: SMR # San Marino
|
10
|
-
at: AUT # Austria
|
11
|
-
be: BEL # Belgium
|
12
|
-
cy: CYP # Cyprus
|
13
|
-
de: DEU # Germany
|
14
|
-
ee: EST # Estonia
|
15
|
-
es: ESP # Spain
|
16
|
-
fi: FIN # Finland
|
17
|
-
fr: FRA # France
|
18
|
-
gr: GRC # Greece
|
19
|
-
ie: IRL # Irland
|
20
|
-
it: ITA # Italy
|
21
|
-
lu: LUX # Luxembourg
|
22
|
-
mt: MLT # Malta
|
23
|
-
nl: NLD # Netherlands
|
24
|
-
pt: PRT # Portugal
|
25
|
-
sk: SVK # Slovakia
|
26
|
-
si: SVN # Slovenia
|
27
|
-
bg: BGR # Bulgaria
|
28
|
-
dk: DNK # Denmark
|
29
|
-
lv: LVA # Latvija [Latvia]
|
30
|
-
lt: LTU # Lithuania
|
31
|
-
pl: POL # Poland
|
32
|
-
ro: ROU # Romania
|
33
|
-
se: SWE # Sweden
|
34
|
-
cz: CZE # Czech Republic
|
35
|
-
hu: HUN # Hungary
|
36
|
-
gb: GBR # Great Britain
|
37
|
-
fo: FRO # Faroe Islands
|
38
|
-
ad: AND # Andorra
|
39
|
-
al: ALB # Albania
|
40
|
-
by: BLR # Belarus
|
41
|
-
ch: CHE # Switzerland
|
42
|
-
hr: HRV # Croatia
|
43
|
-
rs: SRB # Serbia
|
44
|
-
ru: RUS # Russia
|
45
|
-
tr: TUR # Turkey
|
46
|
-
ua: UKR # Ukraine
|
47
|
-
mk: MKD # Macedonia
|
48
|
-
no: NOR # Norway
|
49
|
-
is: ISL # Iceland
|
50
|
-
va: VAT # Vatican City
|
51
|
-
|
52
|
-
########
|
53
|
-
## no official iso codes found - check if mistaken
|
54
|
-
|
55
|
-
eu: !!null # European Union
|
56
|
-
en: !!null # England
|
57
|
-
sc: !!null # Scotland
|
58
|
-
wa: !!null # Wales
|
59
|
-
nd: !!null # Northern Ireland
|
@@ -1,60 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
##
|
4
|
-
## int'l vehicle registration codes / automobile license plate codes
|
5
|
-
##
|
6
|
-
## see http://en.wikipedia.org/wiki/List_of_international_vehicle_registration_codes
|
7
|
-
|
8
|
-
|
9
|
-
ba: BIH # Bosnia and Herzegovina
|
10
|
-
li: FL # Liechtenstein
|
11
|
-
mc: MC # Monaco
|
12
|
-
me: MNE # Montenegro
|
13
|
-
md: MD # Moldova
|
14
|
-
sm: RSM # San Marino
|
15
|
-
eu: EU # European Union
|
16
|
-
at: A # Austria
|
17
|
-
be: B # Belgium
|
18
|
-
cy: CY # Cyprus
|
19
|
-
de: D # Germany
|
20
|
-
ee: EST # Estonia
|
21
|
-
es: E # Spain
|
22
|
-
fi: FIN # Finland
|
23
|
-
fr: F # France
|
24
|
-
gr: GR # Greece
|
25
|
-
ie: IRL # Irland
|
26
|
-
it: I # Italy
|
27
|
-
lu: L # Luxembourg
|
28
|
-
mt: M # Malta
|
29
|
-
nl: NL # Netherlands
|
30
|
-
pt: P # Portugal
|
31
|
-
sk: SK # Slovakia
|
32
|
-
si: SLO # Slovenia
|
33
|
-
bg: BG # Bulgaria
|
34
|
-
dk: DK # Denmark
|
35
|
-
lv: LV # Latvija [Latvia]
|
36
|
-
lt: LT # Lithuania
|
37
|
-
pl: PL # Poland
|
38
|
-
ro: RO # Romania
|
39
|
-
se: S # Sweden
|
40
|
-
cz: CZ # Czech Republic
|
41
|
-
hu: H # Hungary
|
42
|
-
gb: GB # Great Britain
|
43
|
-
en: ENG # England
|
44
|
-
sc: SCO # Scotland
|
45
|
-
wa: CYM # Wales
|
46
|
-
nd: NI # Northern Ireland
|
47
|
-
fo: FO # Faroe Islands
|
48
|
-
ad: AND # Andorra
|
49
|
-
al: AL # Albania
|
50
|
-
by: BY # Belarus
|
51
|
-
ch: CH # Switzerland
|
52
|
-
hr: HR # Croatia
|
53
|
-
rs: SRB # Serbia
|
54
|
-
ru: RUS # Russia
|
55
|
-
tr: TR # Turkey
|
56
|
-
ua: UA # Ukraine
|
57
|
-
mk: MK # Macedonia
|
58
|
-
no: N # Norway
|
59
|
-
is: IS # Iceland
|
60
|
-
va: V # Vatican City
|
data/data/europe/2_names/de.yml
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
|
4
|
-
ad: Andorra
|
5
|
-
al: Albanien
|
6
|
-
am: Armenien
|
7
|
-
at: Österreich
|
8
|
-
be: Belgien
|
9
|
-
bg: Bulgarien
|
10
|
-
by: Weißrussland
|
11
|
-
ch: Schweiz
|
12
|
-
cy: Zypern
|
13
|
-
cz: Tschechien
|
14
|
-
de: Deutschland
|
15
|
-
dk: Dänemark
|
16
|
-
en: England
|
17
|
-
es: Spanien
|
18
|
-
fi: Finnland
|
19
|
-
fo: Färöer
|
20
|
-
fr: Frankreich
|
21
|
-
ge: Georgien
|
22
|
-
gr: Griechenland
|
23
|
-
hr: Kroatien
|
24
|
-
hu: Ungarn
|
25
|
-
ie: Irland
|
26
|
-
it: Italien
|
27
|
-
mt: Malta
|
28
|
-
nl: Niederlande
|
29
|
-
pl: Polen
|
30
|
-
pt: Portugal
|
31
|
-
ro: Rumänien
|
32
|
-
rs: Serbien
|
33
|
-
ru: Russland
|
34
|
-
sc: Schottland
|
35
|
-
se: Schweden
|
36
|
-
si: Slowenien
|
37
|
-
sk: Slowakei
|
38
|
-
tr: Türkei
|
39
|
-
ua: Ukraine
|
40
|
-
mk: Mazedonien
|
41
|
-
no: Norwegen
|
42
|
-
is: Island
|
data/data/europe/2_names/es.yml
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
####################
|
2
|
-
## europe
|
3
|
-
|
4
|
-
ad: Andorra
|
5
|
-
al: Albania
|
6
|
-
am: Armenia
|
7
|
-
at: Austria
|
8
|
-
be: Bélgica
|
9
|
-
bg: Bulgaria
|
10
|
-
by: Bielorrusia
|
11
|
-
ch: Suiza
|
12
|
-
cy: Chipre
|
13
|
-
## República Checa
|
14
|
-
cz: Chequia
|
15
|
-
de: Alemania
|
16
|
-
dk: Dinamarca
|
17
|
-
en: Inglaterra
|
18
|
-
es: España
|
19
|
-
fi: Finlandia
|
20
|
-
fo: Islas Feroe
|
21
|
-
fr: Francia
|
22
|
-
ge: Georgia
|
23
|
-
gr: Grecia
|
24
|
-
hr: Croacia
|
25
|
-
hu: Hungría
|
26
|
-
ie: Irlanda
|
27
|
-
it: Italia
|
28
|
-
mt: Malta
|
29
|
-
nl: Países Bajos
|
30
|
-
pl: Polonia
|
31
|
-
pt: Portugal
|
32
|
-
ro: Rumania
|
33
|
-
rs: Serbia
|
34
|
-
ru: Rusia
|
35
|
-
sc: Escocia
|
36
|
-
se: Suecia
|
37
|
-
si: Eslovenia
|
38
|
-
sk: Eslovaquia
|
39
|
-
tr: Turquía
|
40
|
-
ua: Ucrania
|
41
|
-
mk: Macedonia
|
42
|
-
no: Noruega
|
43
|
-
is: Islandia
|
data/data/europe/3_more/lang.yml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
### europe
|
2
|
-
|
3
|
-
ad: ca
|
4
|
-
at: de
|
5
|
-
ba: bs,hr,sr
|
6
|
-
be: nl,fr,de
|
7
|
-
ch: de,fr,it,rm
|
8
|
-
bg: bg
|
9
|
-
by: be,ru
|
10
|
-
cy: el,tr
|
11
|
-
cz: cs
|
12
|
-
de: de
|
13
|
-
dk: da
|
14
|
-
ee: et
|
15
|
-
es: ca,es,eu,gl
|
16
|
-
fi: fi,sv,se
|
17
|
-
fo: fo
|
18
|
-
fr: fr
|
19
|
-
gb: en,ga,cy,gd,kw
|
20
|
-
gr: el
|
21
|
-
hr: hr
|
22
|
-
hu: hu
|
23
|
-
ie: en,ga
|
24
|
-
is: is
|
25
|
-
it: it,de,fr
|
26
|
-
li: de
|
27
|
-
lt: lt
|
28
|
-
lu: lb,fr,de
|
29
|
-
lv: lv
|
30
|
-
mc: fr
|
31
|
-
md: ru,uk,ro
|
32
|
-
mk: mk
|
33
|
-
mt: mt,en
|
34
|
-
nl: nl
|
35
|
-
no: nb,nn,no,se
|
36
|
-
pl: pl
|
37
|
-
pt: pt
|
38
|
-
ro: ro
|
39
|
-
rs: sr
|
40
|
-
ru: ru
|
41
|
-
se: sv
|
42
|
-
si: sl
|
43
|
-
sk: sk
|
44
|
-
sm: it
|
45
|
-
tr: tr
|
46
|
-
ua: uk
|
47
|
-
va: it
|
data/data/europe/at/cities.txt
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
# Top 10 cities
|
2
|
-
|
3
|
-
Wien [Vienna], region:wien, 1_731_236, m:1_724_000
|
4
|
-
Graz, region:stmk, 265_318
|
5
|
-
Linz, region:ooe, 191_107
|
6
|
-
Salzburg, region:sbg, 148_521
|
7
|
-
Innsbruck, region:tirol, 121_329
|
8
|
-
Klagenfurt, region:ktn, 94_796
|
9
|
-
Villach, region:ktn, 59_585
|
10
|
-
Wels, region:ooe, 58_717
|
11
|
-
St. Pölten, region:noe, 52_048
|
12
|
-
Dornbirn, region:vbg, 45_978
|
13
|
-
|
14
|
-
# Top 20 cities
|
15
|
-
|
16
|
-
Wr. Neustadt|Wiener Neustadt, region:noe, 41537
|
17
|
-
Steyr, region:ooe, 38248
|
18
|
-
Feldkirch, region:vbg, 31025
|
19
|
-
Bregenz, region:vbg, 28007
|
20
|
-
Kosterneuburg, region:noe, 25927
|
21
|
-
Leonding, region:ooe, 25689
|
22
|
-
Baden|Baden bei Wien, region:noe, 25142
|
23
|
-
Wolfsberg, region:ktn, 24983
|
24
|
-
Leoben, region:stmk, 24645
|
25
|
-
Krems|Krems an der Donau, region:noe, 24110
|
26
|
-
|
27
|
-
|
28
|
-
# more cities
|
29
|
-
|
30
|
-
Mödling, region:noe, 20649
|
31
|
-
Horn, region:noe, 6411, # < 10000 pop
|
32
|
-
|
33
|
-
Traun, region:ooe, 23941
|
34
|
-
Ried|Ried im Innkreis, region:ooe, 11585
|
35
|
-
|
36
|
-
Eisenstadt, region:bgld, 12367
|
37
|
-
Mattersburg, region:bgld, 6256, # < 10000 pop
|
38
|
-
|
39
|
-
Kapfenberg, region:stmk, 21928
|
40
|
-
Hartberg, region:stmk, 6547, # < 10000 pop
|
41
|
-
|
42
|
-
Grödig, region:sbg, 6638, # < 10000 pop
|
43
|
-
|
44
|
-
Lustenau, region:vbg, 20606
|
45
|
-
Altach, region:vbg, 5704, # < 10000 pop
|
data/data/europe/at/regions.txt
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
#########
|
2
|
-
# Land der Berge, Land am Strome
|
3
|
-
#
|
4
|
-
# sources:
|
5
|
-
# http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Austria
|
6
|
-
# http://en.wikipedia.org/wiki/List_of_cities_in_Austria_over_5,000_population_(2001_census)
|
7
|
-
|
8
|
-
##
|
9
|
-
## NB: using 3 NUTS1 regions for tags
|
10
|
-
#
|
11
|
-
# NB: using OENORM for keys
|
12
|
-
|
13
|
-
|
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/data/europe/be/cities.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Brussel|Bruxelles [Brussels], region:bx, 1_048_491, m:1_929_000 , # nl|fr|en
|
4
|
-
Antwerpen|Anvers [Antwerp], region:an, 466_203, m:960_000
|
5
|
-
Gent|Gand [Ghent], region:ov, 235_143
|
6
|
-
Charleroi, region:ht, 201_550
|
7
|
-
Liège|Luik, region:lg, 188_907
|
8
|
-
Bruges|Brugge, region:wv, 116_982
|
9
|
-
Namur|Namen, region:na, 107_653
|
10
|
-
Leuven|Louvain, region:br, 91_942
|
11
|
-
Mons|Bergen, region:ht, 91_196
|
12
|
-
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
|
data/data/europe/be/regions.txt
DELETED
@@ -1,23 +0,0 @@
|
|
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
|
-
## todo: check what code to use for bruxeelles -> br is taken by Babant Wallon
|
9
|
-
## official code is BRU; no unique official two letter code available?
|
10
|
-
|
11
|
-
bx, Bruxelles|Brussel [Brussels (Capital Region)], 161, fr|nl
|
12
|
-
|
13
|
-
an, Antwerpen [Antwerp], 2_867, flanders|nl
|
14
|
-
li, Limburg, 2_422, flanders|nl
|
15
|
-
ov, Oost-Vlaanderen [East Flanders], 2_982, flanders|nl
|
16
|
-
br, Vlaams-Brabant [Flemish Brabant], 2_106, flanders|nl
|
17
|
-
wv, West-Vlaanderen [West Flanders], 3_144, flanders|nl
|
18
|
-
|
19
|
-
br, Brabant Wallon [Walloon Brabant], 1_091, wallonia|fr
|
20
|
-
ht, Hainaut, 3_786, wallonia|fr
|
21
|
-
lg, Liège, 3_862, wallonia|fr
|
22
|
-
lx, Luxembourg, 4_440, wallonia|fr
|
23
|
-
na, Namur, 3_666, wallonia|fr
|
data/data/europe/bg/cities.txt
DELETED
data/data/europe/by/cities.txt
DELETED
data/data/europe/ch/cities.txt
DELETED