address_composer 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +1 -1
  3. data/.gitmodules +1 -0
  4. data/.rubocop.yml +4 -20
  5. data/Gemfile.lock +57 -32
  6. data/README.md +26 -0
  7. data/address-formatting/.github/workflows/ci.yml +25 -0
  8. data/address-formatting/README.md +21 -12
  9. data/address-formatting/bin/coverage.pl +8 -2
  10. data/address-formatting/bin/run_tests.t +36 -10
  11. data/address-formatting/conf/abbreviations/ca.yaml +18 -1
  12. data/address-formatting/conf/abbreviations/cs.yaml +0 -3
  13. data/address-formatting/conf/abbreviations/da.yaml +1 -1
  14. data/address-formatting/conf/abbreviations/en.yaml +7 -1
  15. data/address-formatting/conf/abbreviations/es.yaml +21 -3
  16. data/address-formatting/conf/abbreviations/et.yaml +0 -3
  17. data/address-formatting/conf/abbreviations/eu.yaml +0 -1
  18. data/address-formatting/conf/abbreviations/fi.yaml +0 -3
  19. data/address-formatting/conf/abbreviations/fr.yaml +1 -1
  20. data/address-formatting/conf/abbreviations/gl.yaml +14 -0
  21. data/address-formatting/conf/abbreviations/it.yaml +1 -1
  22. data/address-formatting/conf/abbreviations/nl.yaml +17 -0
  23. data/address-formatting/conf/abbreviations/no.yaml +0 -4
  24. data/address-formatting/conf/abbreviations/pl.yaml +2 -2
  25. data/address-formatting/conf/abbreviations/pt.yaml +18 -0
  26. data/address-formatting/conf/abbreviations/ro.yaml +8 -2
  27. data/address-formatting/conf/abbreviations/sl.yaml +24 -0
  28. data/address-formatting/conf/abbreviations/{se.yaml → sv.yaml} +1 -5
  29. data/address-formatting/conf/abbreviations/tr.yaml +0 -4
  30. data/address-formatting/conf/abbreviations/{vn.yaml → vi.yaml} +1 -3
  31. data/address-formatting/conf/components.yaml +15 -4
  32. data/address-formatting/conf/countries/worldwide.yaml +403 -272
  33. data/address-formatting/conf/country2lang.yaml +33 -32
  34. data/address-formatting/conf/country_codes.yaml +216 -214
  35. data/address-formatting/conf/county_codes.yaml +19 -9
  36. data/address-formatting/conf/state_codes.yaml +199 -46
  37. data/address-formatting/cpanfile +10 -0
  38. data/address-formatting/testcases/abbreviations/de.yaml +27 -0
  39. data/address-formatting/testcases/abbreviations/en.yaml +15 -0
  40. data/address-formatting/testcases/abbreviations/fr.yaml +12 -0
  41. data/address-formatting/testcases/countries/al.yaml +17 -3
  42. data/address-formatting/testcases/countries/au.yaml +29 -3
  43. data/address-formatting/testcases/countries/be.yaml +17 -2
  44. data/address-formatting/testcases/countries/bg.yaml +1 -1
  45. data/address-formatting/testcases/countries/br.yaml +36 -2
  46. data/address-formatting/testcases/countries/ca.yaml +60 -18
  47. data/address-formatting/testcases/countries/cl.yaml +3 -2
  48. data/address-formatting/testcases/countries/cn.yaml +21 -8
  49. data/address-formatting/testcases/countries/co.yaml +19 -0
  50. data/address-formatting/testcases/countries/cu.yaml +24 -10
  51. data/address-formatting/testcases/countries/de.yaml +70 -13
  52. data/address-formatting/testcases/countries/eg.yaml +6 -6
  53. data/address-formatting/testcases/countries/eh.yaml +2 -2
  54. data/address-formatting/testcases/countries/es.yaml +12 -0
  55. data/address-formatting/testcases/countries/fr.yaml +30 -13
  56. data/address-formatting/testcases/countries/gb.yaml +63 -4
  57. data/address-formatting/testcases/countries/hu.yaml +3 -4
  58. data/address-formatting/testcases/countries/ie.yaml +43 -1
  59. data/address-formatting/testcases/countries/in.yaml +14 -1
  60. data/address-formatting/testcases/countries/ir.yaml +19 -8
  61. data/address-formatting/testcases/countries/it.yaml +30 -2
  62. data/address-formatting/testcases/countries/kg.yaml +1 -1
  63. data/address-formatting/testcases/countries/kr.yaml +13 -5
  64. data/address-formatting/testcases/countries/ml.yaml +9 -9
  65. data/address-formatting/testcases/countries/mu.yaml +17 -1
  66. data/address-formatting/testcases/countries/nz.yaml +11 -0
  67. data/address-formatting/testcases/countries/pa.yaml +17 -0
  68. data/address-formatting/testcases/countries/ph.yaml +64 -3
  69. data/address-formatting/testcases/countries/pt.yaml +17 -0
  70. data/address-formatting/testcases/countries/py.yaml +1 -1
  71. data/address-formatting/testcases/countries/ru.yaml +3 -3
  72. data/address-formatting/testcases/countries/sg.yaml +16 -0
  73. data/address-formatting/testcases/countries/sj.yaml +1 -1
  74. data/address-formatting/testcases/countries/sk.yaml +20 -2
  75. data/address-formatting/testcases/countries/sn.yaml +16 -0
  76. data/address-formatting/testcases/countries/tc.yaml +12 -0
  77. data/address-formatting/testcases/countries/th.yaml +1 -1
  78. data/address-formatting/testcases/countries/tk.yaml +1 -1
  79. data/address-formatting/testcases/countries/tw.yaml +7 -7
  80. data/address-formatting/testcases/countries/tz.yaml +1 -7
  81. data/address-formatting/testcases/countries/us.yaml +33 -17
  82. data/address-formatting/testcases/countries/uy.yaml +1 -1
  83. data/address-formatting/testcases/countries/vn.yaml +2 -1
  84. data/address-formatting/testcases/countries/xc.yaml +14 -0
  85. data/address-formatting/testcases/countries/xk.yaml +20 -0
  86. data/address_composer.gemspec +11 -9
  87. data/lib/address_composer/version.rb +1 -1
  88. data/lib/address_composer.rb +96 -18
  89. metadata +83 -34
  90. data/.travis.yml +0 -7
  91. data/address-formatting/.travis.yml +0 -12
@@ -9,15 +9,14 @@ components:
9
9
  county: Budapesti kistérség
10
10
  house_number: 11
11
11
  neighbourhood: Naphegy
12
- postcode: 1111
12
+ postcode: 1016
13
13
  road: Dezső utca
14
14
  state: Közép-Magyarország
15
15
  state_district: Central Hungary
16
16
  suburb: Krisztinaváros
17
17
  expected: |
18
- Budapest
19
- Dezső utca 11
20
- 1111
18
+ 1016 Budapest
19
+ Dezső utca 11.
21
20
  Hungary
22
21
 
23
22
 
@@ -64,6 +64,7 @@ expected: |
64
64
  Bishop Street
65
65
  Wood Quay A ED
66
66
  Dublin
67
+ D02 TD99
67
68
  Ireland
68
69
  ---
69
70
  # 52.6726,-8.6407
@@ -106,4 +107,45 @@ expected: |
106
107
  Clifden
107
108
  County Galway
108
109
  Ireland
109
-
110
+ ---
111
+ # 53.3653974, -6.5853397
112
+ description: format Eircode correctly (no spaces)
113
+ components:
114
+ building: G
115
+ city_district: Maynooth ED
116
+ continent: Europe
117
+ country: Ireland
118
+ country_code: ie
119
+ county: County Kildare
120
+ county_code: KE
121
+ postcode: W23P466
122
+ region: The Municipal District of Clane — Maynooth
123
+ road: Ballygoran Road
124
+ expected: |
125
+ G
126
+ Ballygoran Road
127
+ Maynooth ED
128
+ County Kildare
129
+ W23 P466
130
+ Ireland
131
+ ---
132
+ # 53.3653974, -6.5853397
133
+ description: format Eircode correctly (dash)
134
+ components:
135
+ building: G
136
+ city_district: Maynooth ED
137
+ continent: Europe
138
+ country: Ireland
139
+ country_code: ie
140
+ county: County Kildare
141
+ county_code: KE
142
+ postcode: W23-P466
143
+ region: The Municipal District of Clane — Maynooth
144
+ road: Ballygoran Road
145
+ expected: |
146
+ G
147
+ Ballygoran Road
148
+ Maynooth ED
149
+ County Kildare
150
+ W23 P466
151
+ Ireland
@@ -18,7 +18,6 @@ expected: |
18
18
  Hyderabad - 500064
19
19
  Telangana
20
20
  India
21
-
22
21
  ---
23
22
  description: Indian postcode
24
23
  components:
@@ -30,3 +29,17 @@ expected: |
30
29
  400096
31
30
  Mahārāshtra
32
31
  India
32
+ ---
33
+ description: without postcode
34
+ components:
35
+ city: Pune
36
+ country: India
37
+ country_code: in
38
+ road: Baner
39
+ state: Maharashtra
40
+ expected: |
41
+ Baner
42
+ Pune
43
+ Maharashtra
44
+ India
45
+
@@ -1,15 +1,14 @@
1
1
  # Iran
2
2
  ---
3
-
4
3
  description: Tower in Tehran, 35.699,51.33810
5
4
  components:
6
- attraction: Azadi Tower
7
- city: Tehran
8
- country: Iran
9
- country_code: ir
10
- postcode: 1351956118
11
- road: Azadi Square
12
- suburb: Ostad Moein
5
+ attraction: Azadi Tower
6
+ city: Tehran
7
+ country: Iran
8
+ country_code: ir
9
+ postcode: 1351956118
10
+ road: Azadi Square
11
+ suburb: Ostad Moein
13
12
  expected: |
14
13
  Azadi Tower
15
14
  Tehran
@@ -17,3 +16,15 @@ expected: |
17
16
  Azadi Square
18
17
  1351956118
19
18
  Iran
19
+ ---
20
+ description: district should be treated as alias of state_district
21
+ components:
22
+ city: Tehran
23
+ country: Iran
24
+ country_code: ir
25
+ district: بخش مرکزی شهرستان تهران
26
+ province: Tehran Province
27
+ expected: |
28
+ Tehran
29
+ بخش مرکزی شهرستان تهران
30
+ Iran
@@ -11,7 +11,7 @@ components:
11
11
  state: Apulia
12
12
  suburb: Montaltino
13
13
  expected: |
14
- Via Pisacane, 13
14
+ Via Pisacane 13
15
15
  76121 Barletta BT
16
16
  Italy
17
17
  ---
@@ -29,7 +29,35 @@ expected: |
29
29
  Via Giovanni Della Casa
30
30
  20147 Milano MI
31
31
  Italy
32
- ---
32
+ ---
33
+ description: Torino, correcty add county_code
34
+ components:
35
+ city: San Raffaele Cimena
36
+ country: Italy
37
+ country_code: it
38
+ county: Torino
39
+ postcode: 10032
40
+ road: Via Pertengo
41
+ state: Piemonte
42
+ expected: |
43
+ Via Pertengo
44
+ 10032 San Raffaele Cimena TO
45
+ Italy
46
+ ---
47
+ description: Provincia di Torino, correcty add county_code
48
+ components:
49
+ city: San Raffaele Cimena
50
+ country: Italy
51
+ country_code: it
52
+ county: Provincia di Torino
53
+ postcode: 10032
54
+ road: Via Pertengo
55
+ state: Piemonte
56
+ expected: |
57
+ Via Pertengo
58
+ 10032 San Raffaele Cimena TO
59
+ Italy
60
+ ---
33
61
  description: deal with Città metropolitana di Firenze
34
62
  components:
35
63
  building: Palazzo Gondi
@@ -1,6 +1,6 @@
1
1
  # Kyrgyzstan
2
2
  ---
3
- description:
3
+ description:
4
4
  components:
5
5
  city: Бишкек
6
6
  country: Kyrgyzstan
@@ -12,10 +12,18 @@ components:
12
12
  town: Seocho-gu
13
13
  village: Seocho-dong
14
14
  expected: |
15
+ South Korea
16
+ Seoul, 서초2동 (Seocho2-dong), Seocho-daero 74-gil
15
17
  Haeundae Grand Hotel
16
- Seocho-daero 74-gil
17
- 서초2동 (Seocho2-dong), Seoul, 135-934
18
+ 135-934
19
+ ---
20
+ description: district of Seoul
21
+ components:
22
+ city: Seoul
23
+ country: South Korea
24
+ country_code: kr
25
+ city_district: Gangnam-gu
26
+ expected: |
27
+ Gangnam-gu
28
+ Seoul
18
29
  South Korea
19
-
20
-
21
-
@@ -2,15 +2,15 @@
2
2
  ---
3
3
  description: Embassy in Bamako, 12.64230,-7.97833
4
4
  components:
5
- building: Ambassade de Russie
6
- city: Bamako
7
- country: Mali
8
- country_code: ml
9
- county: Bamako District
10
- postcode: E4373
11
- road: Rue 415
12
- state: Bamako District
13
- suburb: Niaréla
5
+ building: Ambassade de Russie
6
+ city: Bamako
7
+ country: Mali
8
+ country_code: ml
9
+ county: Bamako District
10
+ postcode: E4373
11
+ road: Rue 415
12
+ state: Bamako District
13
+ suburb: Niaréla
14
14
  expected: |
15
15
  Ambassade de Russie
16
16
  Rue 415
@@ -8,14 +8,30 @@ components:
8
8
  country_code: mu
9
9
  house_number: 1
10
10
  neighbourhood: Caudan Waterfront
11
- postcode: 230
12
11
  road: Queen Elizabeth II Avenue
13
12
  state: Port Louis
14
13
  expected: |
15
14
  State Bank of Mauritius
16
15
  1, Queen Elizabeth II Avenue
16
+ Caudan Waterfront
17
17
  Port Louis
18
18
  Mauritius
19
+ ---
20
+ # example from https://en.wikipedia.org/wiki/Postal_codes_in_Mauritius
21
+ description: example address with postcode
22
+ components:
23
+ city: Lallmatie
24
+ country: Mauritius
25
+ country_code: mu
26
+ house_number: 21
27
+ neighbourhood: Mission Cross
28
+ postcode: 42602
29
+ road: Old Trafford Road
30
+ expected: |
31
+ 21, Old Trafford Road
32
+ Mission Cross
33
+ Lallmatie 42602
34
+ Mauritius
19
35
 
20
36
 
21
37
 
@@ -16,3 +16,14 @@ expected: |
16
16
  Mount Victoria
17
17
  Wellington 6011
18
18
  New Zealand
19
+ ---
20
+ description: City of Wellington
21
+ components:
22
+ city: Wellington
23
+ country: New Zealand
24
+ country_code: nz
25
+ county: Wellington City
26
+ state: Wellington
27
+ expected: |
28
+ Wellington
29
+ New Zealand
@@ -1,4 +1,6 @@
1
1
  # Panama
2
+ # https://www.youtube.com/watch?v=fuKDBPw8wQA
3
+ #
2
4
  ---
3
5
  description: Bed & Breakfast in Panama City, 8.99337,-79.52075
4
6
  components:
@@ -15,6 +17,21 @@ expected: |
15
17
  Ciudad de Panamá
16
18
  Panamá
17
19
  ---
20
+ description: make sure no double Panama City
21
+ components:
22
+ city: Panama City
23
+ country: Panama
24
+ country_code: pa
25
+ guest_house: Panama House Bed & Breakfast
26
+ road: Avenida 1 C Norte
27
+ suburb: El Cangrejo
28
+ expected: |
29
+ Panama House Bed & Breakfast
30
+ Avenida 1 C Norte
31
+ El Cangrejo
32
+ Panama City
33
+ Panama
34
+ ---
18
35
  description: Pharmacy in Nueva California, 8.77977,-82.64522
19
36
  components:
20
37
  country: Panama
@@ -14,8 +14,69 @@ components:
14
14
  suburb: Ermita
15
15
  expected: |
16
16
  Emerald Garden
17
- 1140 Alhambra
18
- Ermita
17
+ 1140 Alhambra, Ermita
19
18
  1000 Metro Manila
20
19
  Philippines
21
-
20
+ ---
21
+ description: archipelago
22
+ components:
23
+ archipelago: Mindanao
24
+ country: Philippines
25
+ country_code: ph
26
+ expected: |
27
+ Mindanao
28
+ Philippines
29
+ ---
30
+ description: address
31
+ components:
32
+ house_number: 121
33
+ road: Epifanio Delos Santos Ave.
34
+ city: Mandaluyong
35
+ postcode: 1550
36
+ suburb: Wack-wack Greenhills
37
+ county: Fifth District
38
+ country: Philippines
39
+ country_code: PH
40
+ attention: Mr. Juan Maliksi
41
+ state: Metro Manila
42
+ expected: |
43
+ Mr. Juan Maliksi
44
+ 121 Epifanio Delos Santos Ave., Wack-wack Greenhills, Mandaluyong
45
+ 1550 Metro Manila
46
+ Philippines
47
+ ---
48
+ description: address - city_district instead of suburb
49
+ components:
50
+ house_number: 121
51
+ road: Epifanio Delos Santos Ave.
52
+ city: Mandaluyong
53
+ postcode: 1550
54
+ city_district: Wack-wack Greenhills
55
+ county: Fifth District
56
+ country: Philippines
57
+ country_code: PH
58
+ attention: Mr. Juan Maliksi
59
+ state: Metro Manila
60
+ expected: |
61
+ Mr. Juan Maliksi
62
+ 121 Epifanio Delos Santos Ave., Wack-wack Greenhills, Mandaluyong
63
+ 1550 Metro Manila
64
+ Philippines
65
+ ---
66
+ # https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=11556052391&class=amenity
67
+ description: address - ignore additional region
68
+ components:
69
+ road: Gerona - Pura Road
70
+ village: Poblacion 1
71
+ postcode: 2312
72
+ municipality: Pura
73
+ province: Tarlac
74
+ region: Central Luzon
75
+ country: Philippines
76
+ country_code: PH
77
+ attention: PYS Pharmacy
78
+ expected: |
79
+ PYS Pharmacy
80
+ Gerona - Pura Road, Poblacion 1
81
+ 2312 Pura
82
+ Philippines
@@ -15,6 +15,23 @@ expected: |
15
15
  1500-203 Lisbon
16
16
  Portugal
17
17
  ---
18
+ # fix postcode formatting
19
+ description: 38.72132,-9.13017
20
+ components:
21
+ city: Lisbon
22
+ country: Portugal
23
+ country_code: pt
24
+ county: Lisbon
25
+ house_number: 2
26
+ neighbourhood: São Vicente de Fora
27
+ postcode: 1170169
28
+ road: Rua da Graça
29
+ suburb: São Vicente
30
+ expected: |
31
+ Rua da Graça 2
32
+ 1170-169 Lisbon
33
+ Portugal
34
+ ---
18
35
  # Guest house in the Azores
19
36
  description: 37.74851,-25.60450
20
37
  components:
@@ -9,7 +9,7 @@ components:
9
9
  postcode: 1409
10
10
  road: Milano
11
11
  state: Distrito Capital de Paraguay
12
- suburb: Tacumbú
12
+ suburb: Tacumbú
13
13
  expected: |
14
14
  Old Germany German Bakery
15
15
  Milano
@@ -8,14 +8,14 @@ components:
8
8
  postcode : 190000
9
9
  road : Гороховая улица
10
10
  # Saint Petersburg
11
- state : Санкт-Петербург
11
+ state : Санкт-Петербург
12
12
  state_district : Адмиралтейский район
13
13
  # Russian Federation
14
- country : Российская Федерация
14
+ country : Российская Федерация
15
15
  country_code : ru
16
16
  expected: |
17
17
  Efes Istambul
18
- Гороховая улица 23
18
+ Гороховая улица, 23
19
19
  Сенной округ
20
20
  Санкт-Петербург
21
21
  Российская Федерация
@@ -39,5 +39,21 @@ expected: |
39
39
  26 Dover Crescent, Dover Gardens
40
40
  Singapore 130026
41
41
  Singapore
42
+ ---
43
+ description: wrong city, 1.30585,103.78158
44
+ components:
45
+ city: Jurong East
46
+ country: Singapore
47
+ country_code: sg
48
+ county: Southwest
49
+ house_number: 26
50
+ postcode: 130026
51
+ residential: Dover Gardens
52
+ road: Dover Crescent
53
+ suburb: Queenstown
54
+ expected: |
55
+ 26 Dover Crescent, Dover Gardens
56
+ Singapore 130026
57
+ Singapore
42
58
 
43
59
 
@@ -1,6 +1,6 @@
1
1
  # Svalbard and Jan Mayen, part of Norway
2
2
  ---
3
- description: Airstrip on Jan Mayen, 70.9415,-8.6616
3
+ description: Airstrip on Jan Mayen, 70.9415,-8.6616
4
4
  components:
5
5
  country: Svalbard and Jan Mayen
6
6
  country_code: sj
@@ -2,7 +2,7 @@
2
2
  ---
3
3
  description: Bratislava - 48.14776,17.10384
4
4
  components:
5
- city: District of Bratislava I
5
+ city: District of Bratislava
6
6
  city_district: Bratislava - mestská časť Staré Mesto
7
7
  country: Slovakia
8
8
  country_code: sk
@@ -14,7 +14,25 @@ components:
14
14
  suburb: Staré Mesto
15
15
  expected: |
16
16
  Panenská 666/20
17
- 811 03 Bratislava I
17
+ 811 03 Bratislava
18
+ Slovakia
19
+ ---
20
+ description: Bratislava town and city, fix postcode 48.15744,17.10839
21
+ components:
22
+ city: Bratislava
23
+ city_district: District of Bratislava I
24
+ country: Slovakia
25
+ country_code: sk
26
+ house_number: 12
27
+ neighbourhood: Desiatky
28
+ postcode: 81105
29
+ road: Železničiarska
30
+ state: Region of Bratislava
31
+ state_code: BL
32
+ town: Old Town
33
+ expected: |
34
+ Železničiarska 12
35
+ 811 05 Bratislava
18
36
  Slovakia
19
37
 
20
38
 
@@ -15,6 +15,22 @@ expected: |
15
15
  Rue Carnot
16
16
  24951 Dakar
17
17
  Senegal
18
+ ---
19
+ description: commune
20
+ components:
21
+ commune: Commune de Yeumbeul Nord
22
+ country: Senegal
23
+ country_code: sn
24
+ postcode: 17000
25
+ road: unnamed road
26
+ state: Dakar Region
27
+ state_district: Département de Keur Massar
28
+ town: Arrondissement de Yeumbeul
29
+ expected: |
30
+ unnamed road
31
+ 17000 Yeumbeul
32
+ Senegal
33
+
18
34
 
19
35
 
20
36
 
@@ -15,6 +15,18 @@ expected: |
15
15
  Daffodil Close
16
16
  Providenciales
17
17
  Turks and Caicos Islands
18
+ ---
19
+ description: hamlet on Middle Caicos
20
+ components:
21
+ country: Turks and Caicos Islands
22
+ country_code: tc
23
+ island: Middle Caicos
24
+ hamlet: Bambarra
25
+ expected: |
26
+ Bambarra
27
+ Middle Caicos
28
+ Turks and Caicos Islands
29
+
18
30
 
19
31
 
20
32
 
@@ -5,7 +5,7 @@
5
5
  # Road
6
6
  # Subdistrict, District
7
7
  # Province Postal Code
8
- # THAILAND
8
+ # THAILAND
9
9
  ---
10
10
  description: School in Bangkok, 13.7101,100.5088
11
11
  components:
@@ -1,6 +1,6 @@
1
1
  # Tokelau
2
2
  ---
3
- description: village on Fakaofo, -9.3743,-171.2651
3
+ description: village on Fakaofo, -9.3743,-171.2651
4
4
  components:
5
5
  city: Fakaofo
6
6
  country: Tokelau
@@ -1,6 +1,6 @@
1
1
  # Taiwan / Republic of China
2
2
  ---
3
- description: Library in 新北市板橋區, 25.02511,121.46330
3
+ description: Library in 新北市板橋區, 25.02511,121.46330
4
4
  components:
5
5
  city: 新北市板橋區
6
6
  country: 中華民國
@@ -9,14 +9,14 @@ components:
9
9
  library: 新北市立圖書館板橋四維分館
10
10
  postcode: 220
11
11
  road: 陽明街
12
- state : 台中台北各種語言名稱
13
- suburb : 新北板橋土城多語言
12
+ state : 台中台北各種語言名稱
13
+ suburb : 新北板橋土城多語言
14
14
  expected: |
15
- 新北市立圖書館板橋四維分館
16
- 168 陽明街
17
- 新北板橋土城多語言
18
- 新北市板橋區 220
19
15
  中華民國
16
+ 220
17
+ 新北市板橋區 新北板橋土城多語言 陽明街 168
18
+ 新北市立圖書館板橋四維分館
19
+
20
20
 
21
21
 
22
22
 
@@ -17,9 +17,6 @@ expected: |
17
17
  Mivinjeni Street
18
18
  78570 Dar es Salaam
19
19
  Tanzania
20
-
21
- #
22
- # in another city
23
20
  ---
24
21
  description: Ruvuma Regional Hospital -10.68053,35.65144
25
22
  components:
@@ -36,11 +33,8 @@ expected: |
36
33
  Songea
37
34
  Ruvuma
38
35
  Tanzania
39
-
40
- #
41
- # in countryside, no town
42
36
  ---
43
- description: -4.22466,35.72255
37
+ description: -4.22466,35.72255 # in countryside, no town
44
38
  components:
45
39
  country: Tanzania
46
40
  country_code: tz