Thomas Kandler 6 years ago
parent
commit
d20a90989f
5 changed files with 1272 additions and 0 deletions
  1. 421
    0
      cities.txt
  2. 421
    0
      geocode.log
  3. 369
    0
      geocoded-cities.txt
  4. 18
    0
      leaflet-custom.js
  5. 43
    0
      nomnom-gc.py

+ 421
- 0
cities.txt View File

@@ -0,0 +1,421 @@
1
+Agra
2
+'Ain Ghazal
3
+Aberdeen
4
+Acoma Puebloand Taos Pueblo, New Mexico
5
+Adab
6
+Adelaide
7
+Agra
8
+Ahmedabad
9
+Ahmednagar
10
+Akkad
11
+Albany
12
+Albany, New York
13
+Aleppo
14
+Alexandria
15
+Amarna
16
+Amesbury
17
+Amman
18
+Amsterdam
19
+Angkor
20
+Anhilpur
21
+Anshan
22
+Antioch
23
+Antwerp
24
+Anuradhapura
25
+Anyang
26
+Anyi
27
+Arbil
28
+Argos
29
+Århus
30
+Athens
31
+Avaris
32
+Axum
33
+Ayodhya
34
+Ayutthaya
35
+Babylon
36
+Bad-tibira
37
+Badami
38
+Bagan
39
+Baghdad
40
+Bago
41
+Bakhalal
42
+Baku
43
+Balkh
44
+Bamyan
45
+Bandar Seri Begawan
46
+Baracoa
47
+Barcelona
48
+Basra
49
+Bath
50
+Beidha
51
+Beijing
52
+Beirut
53
+Belgrade
54
+Benares
55
+Berat
56
+Berbera
57
+Berlin
58
+Bilhorod-Dnistrovskyi
59
+Brisbane
60
+Bruges
61
+Bursa
62
+Butuan
63
+Byblos
64
+Byzantium
65
+Cádiz
66
+Cairo
67
+Calah
68
+Canberra
69
+Cape Guardafui
70
+Cape Town
71
+Cartagena
72
+Carthage
73
+Çatalhöyük
74
+Chalcis
75
+Chan Chan
76
+Chang'an
77
+Chania
78
+Chengdu
79
+Chenla
80
+Chicheng
81
+Chios
82
+Cholula
83
+Chunar
84
+Chur
85
+Cologne
86
+Constanţa
87
+Constantinople
88
+Copán
89
+Copenhagen
90
+Córdoba
91
+Corfu, Kerkyra
92
+Crotone
93
+Ctesiphon
94
+Cuicuilco
95
+Cusco
96
+Cuttack
97
+Dali
98
+Damascus
99
+Darwin
100
+Datong
101
+Delhi
102
+Dhar
103
+Djenné-Jeno
104
+Dobrovody
105
+Dublin
106
+Dur-Kurigalzu
107
+Durrës
108
+Ebla
109
+Ecbatana
110
+Edessa, Greece
111
+Edinburgh
112
+El Tajín
113
+Ephesus
114
+Eridu
115
+Erlitou
116
+Esfahān
117
+Évora
118
+Faiyum
119
+Feodosiya
120
+Fes
121
+Florence
122
+Fustat
123
+Gao
124
+Gaur
125
+Gaza
126
+Gaziantep
127
+Genoa
128
+Ghadames
129
+Glasgow
130
+Granada
131
+Guangzhou
132
+Gwalior
133
+Gyeongju
134
+Habuba Kabira
135
+Hamadan
136
+Hangzhou
137
+Hanoi
138
+Haojing
139
+Harappa
140
+Hastinapur
141
+Hattushash
142
+Hazor
143
+Hebron
144
+Heliopolis
145
+Heracleopolis
146
+Heraklion
147
+Hobart
148
+Ife
149
+Igodomigodo
150
+Inverness
151
+Ioannina
152
+Isin
153
+Istanbul
154
+Izapa
155
+Jaffa
156
+Jamestown, Virginia
157
+Jaunpur
158
+Jenin
159
+Jericho
160
+Jerusalem
161
+Jiankang
162
+Jinzhou
163
+Kagoshima
164
+Kaifeng
165
+Kalburgi
166
+Kalinjar
167
+Kalyan
168
+Kanazawa
169
+Kanchi
170
+Kannauj
171
+Kano
172
+Kathmandu-Patan, Lalitpur
173
+Kavala
174
+Kaveri
175
+Kediri
176
+Kerch
177
+Kerikeri
178
+Kerma
179
+Kesh
180
+Khambhat
181
+Kiev
182
+Kingchow
183
+Kirkuk
184
+Kish
185
+Kismayo
186
+Knossos
187
+Kollam
188
+Kosambi
189
+Kraków
190
+Kutaisi
191
+Kyoto
192
+Lagash
193
+Lahore
194
+Lamia
195
+Lamu
196
+Larnaca
197
+Larsa
198
+Launceston
199
+Lhasa
200
+Linzi
201
+Lisbon
202
+Liverpool
203
+London
204
+Luang Prabang
205
+Lund
206
+Luoyang
207
+Luxor
208
+Madrid
209
+Madurai
210
+Mahasthangarh
211
+Málaga
212
+Manchester
213
+Mandsaur
214
+Mandu
215
+Mangalia
216
+Manila
217
+Mantua
218
+Manyakheta
219
+Mari
220
+Marib
221
+Marrakech
222
+Marrakesh
223
+Marseilles
224
+Maydanets
225
+Mehrgarh
226
+Melbourne
227
+Memphis
228
+Merv
229
+Messina
230
+Metz
231
+Mexico City
232
+Milan
233
+Miletus
234
+Mogadishu
235
+Mohenjo-daro
236
+Montreal
237
+Moscow
238
+Mozah
239
+Mtskheta
240
+Mytilene
241
+Nabadwip
242
+Nablus
243
+Nagoya
244
+Namazga-Tepe
245
+Nanjing
246
+Naples
247
+Nara
248
+Nea Nikomedeia
249
+Nekhen
250
+New York City
251
+Newcastle
252
+Nijmegen
253
+Nimrud
254
+Niniveh
255
+Nippur
256
+Niš
257
+Nishapur
258
+Nombre de Dios, Colón
259
+Novi Sad
260
+Old Cairo
261
+Oraibi, Arizona
262
+Osaka
263
+Oyo-Ile
264
+Paithan
265
+Palembang
266
+Palermo
267
+Panama City
268
+Paris
269
+Patala
270
+Pataliputra
271
+Patna
272
+Patras
273
+Perth
274
+Peshawar
275
+Philadelphia
276
+Pingcheng
277
+Plovdiv
278
+Plymouth, Massachusetts
279
+Polatsk
280
+Polonnaruwa
281
+Prague
282
+Prambanan
283
+Puri
284
+Pyay
285
+Pyeongyang
286
+Pyongyang
287
+Qabala
288
+Quebec City
289
+Qufu
290
+Quito
291
+Rajagriha
292
+Ramavati
293
+Ray
294
+Reggio di Calabria
295
+Rey
296
+Reykjavík
297
+Rhodes
298
+Ribe
299
+Rome
300
+Roses
301
+Saint John
302
+Saint Petersburg
303
+Sais
304
+Salona
305
+Samarkand
306
+Samarqand
307
+San Diego
308
+San Juan
309
+Santa Fe de Bogota
310
+Santa Fe, New Mexico
311
+Santa Marta
312
+Santiago del Estero
313
+Santo Domingo
314
+São Vicente, São Paulo
315
+Sarai
316
+Sault Ste. Marie, Michigan
317
+Seleucia
318
+Seoul
319
+Serres
320
+Sesklo
321
+Seville
322
+Shahr-i Sokhta
323
+Shangjing
324
+Shangqiu
325
+Shuruppak
326
+Sialkot
327
+Sidon
328
+Siem Reap
329
+Singapore
330
+Skara
331
+Skopje
332
+Smederevo
333
+Sofala
334
+Sofia
335
+Solothurn
336
+Sravasti
337
+Sremska Mitrovica
338
+St. Augustine, Florida
339
+St. John's, Newfoundland and Labrador
340
+Stara Zagora
341
+Staraya Ladoga
342
+Stobi
343
+Suheri
344
+Sunpu
345
+Susa
346
+Suzhou
347
+Sydney
348
+Syracuse
349
+Tabriz
350
+Taiyuan
351
+Talianki
352
+Taosi
353
+Taranto
354
+Tarragona
355
+Taxila
356
+Tbilisi
357
+Tell Brak
358
+Tell Churra
359
+Tell Leilan
360
+Tenochtitlan
361
+Teotihuacán
362
+Ternate
363
+Texcoco
364
+Thanjavur
365
+Thebes
366
+Thessaloniki
367
+Tidore
368
+Tikal
369
+Tokyo
370
+Tongeren
371
+Tres Zapotes
372
+Trier
373
+Trikala
374
+Trois-Rivières
375
+Trondheim
376
+Tula
377
+Tyre
378
+Ujjain
379
+Umma
380
+Upper Xingu
381
+Ur
382
+Uruk
383
+Vaisali
384
+Varanasi
385
+Varna
386
+Veliky Novgorod
387
+Venice
388
+Vera Cruz
389
+Verdun
390
+Veria
391
+Vienna
392
+Vijayanagar
393
+Vinča-Belo Brdo
394
+Vitebsk
395
+Volterra
396
+Vukovar
397
+Wanxian
398
+Warangal
399
+Winchester
400
+Worms
401
+Wuchang
402
+Xanthi
403
+Xi'an
404
+Xiadu
405
+Xianyang
406
+Xintian
407
+Xinzheng
408
+Xuchang
409
+Xue
410
+Yamaguchi
411
+Ye
412
+Yeha
413
+Yerevan
414
+Yong
415
+York
416
+Youzhou
417
+Zabala
418
+Zagreb
419
+Zeila
420
+Zhengzhou
421
+Zürich

+ 421
- 0
geocode.log View File

@@ -0,0 +1,421 @@
1
+Status [OK]: Agra, 27.0233979, 78.0910991915874
2
+Status [OK]: 'Ain Ghazal, 34.3472222, 35.7561111
3
+Status [OK]: Aberdeen, 57.1452452, -2.0913745
4
+Status [Not Found]: Acoma Puebloand Taos Pueblo, New Mexico
5
+Status [OK]: Adab, 35.30089155, 46.9981322336495
6
+Status [OK]: Adelaide, -34.9274284, 138.599899
7
+Status [OK]: Agra, 27.0233979, 78.0910991915874
8
+Status [OK]: Ahmedabad, 23.0216238, 72.5797068
9
+Status [OK]: Ahmednagar, 31.78524, 72.8894826
10
+Status [OK]: Akkad, 16.9913885, 54.0496068
11
+Status [OK]: Albany, 42.6511674, -73.754968
12
+Status [OK]: Albany, New York, 42.6511674, -73.754968
13
+Status [OK]: Aleppo, 36.197971, 37.1656697
14
+Status [OK]: Alexandria, 31.1990035, 29.8943785
15
+Status [OK]: Amarna, 43.7044931, -72.2812216966113
16
+Status [OK]: Amesbury, 42.8584235, -70.9300548
17
+Status [OK]: Amman, 31.6554651, 36.3242451899544
18
+Status [OK]: Amsterdam, 52.3710088, 4.9001115
19
+Status [OK]: Angkor, 47.3902731, 8.5171449
20
+Status [Not Found]: Anhilpur
21
+Status [OK]: Anshan, 40.7827834, 122.789568393366
22
+Status [OK]: Antioch, 38.0049214, -121.805789
23
+Status [OK]: Antwerp, 51.2212016, 4.3996325
24
+Status [OK]: Anuradhapura, 8.3354139, 80.4080552
25
+Status [OK]: Anyang, 37.3942928, 126.9569554
26
+Status [OK]: Anyi, 40.50622765, 43.5743251618673
27
+Status [OK]: Arbil, 36.3762956, 44.1654563566789
28
+Status [OK]: Argos, 37.6353109, 22.7259515
29
+Status [Not Found]: Århus
30
+Status [OK]: Athens, 33.9595974, -83.376678
31
+Status [OK]: Avaris, 46.3839347, 12.8298358
32
+Status [OK]: Axum, 14.122015, 38.7305334
33
+Status [OK]: Ayodhya, 26.7990707, 82.2052321
34
+Status [OK]: Ayutthaya, 14.3560372, 100.5722073
35
+Status [OK]: Babylon, 49.3986492, 12.8627841
36
+Status [Not Found]: Bad-tibira
37
+Status [OK]: Badami, 15.9186389, 75.6821169
38
+Status [OK]: Bagan, 21.1708105, 94.8595191
39
+Status [OK]: Baghdad, 33.3024248, 44.3787992
40
+Status [OK]: Bago, 17.336667, 96.479722
41
+Status [Not Found]: Bakhalal
42
+Status [OK]: Baku, 40.3925137, 49.8466787
43
+Status [OK]: Balkh, 36.7581256, 66.8980826
44
+Status [OK]: Bamyan, 34.710329, 67.3916533384595
45
+Status [OK]: Bandar Seri Begawan, 4.8895453, 114.9417574
46
+Status [OK]: Baracoa, 20.3465027, -74.4965523
47
+Status [OK]: Barcelona, 41.3870186, 2.1700437
48
+Status [OK]: Basra, 30.502804, 47.8342226
49
+Status [OK]: Bath, 51.3813864, -2.3596963
50
+Status [OK]: Beidha, 34.4677091, 2.1706875
51
+Status [OK]: Beijing, 40.2505379, 116.625088590652
52
+Status [OK]: Beirut, 33.8959203, 35.47843
53
+Status [OK]: Belgrade, 44.8178787, 20.4568089
54
+Status [OK]: Benares, 40.5991531, -1.4555969
55
+Status [OK]: Berat, 40.6171976, 20.104679593965
56
+Status [OK]: Berbera, 10.4979712, 45.136344044767
57
+Status [OK]: Berlin, 52.5170365, 13.3888599
58
+Status [OK]: Bilhorod-Dnistrovskyi, 46.1909823, 30.345784
59
+Status [OK]: Brisbane, -27.4689682, 153.0234991
60
+Status [OK]: Bruges, 51.2318283, 3.20778222299101
61
+Status [OK]: Bursa, 40.1827061, 29.0667635
62
+Status [OK]: Butuan, 8.9518371, 125.5305668
63
+Status [OK]: Byblos, 52.5557676, 13.3429864
64
+Status [OK]: Byzantium, 52.1896962, 5.3874312
65
+Status [Not Found]: Cádiz
66
+Status [OK]: Cairo, 30.0488185, 31.2436663
67
+Status [OK]: Calah, 36.0993462, 43.3280474
68
+Status [OK]: Canberra, -35.2820709, 149.1286673
69
+Status [OK]: Cape Guardafui, 11.8330631, 51.2836084
70
+Status [OK]: Cape Town, -33.9289049, 18.4172485
71
+Status [OK]: Cartagena, 10.4236044, -75.524172
72
+Status [OK]: Carthage, 36.851627, 10.3304407
73
+Status [Not Found]: Çatalhöyük
74
+Status [OK]: Chalcis, 38.4627483, 23.5952169
75
+Status [OK]: Chan Chan, -8.1063168, -79.0735916029033
76
+Status [OK]: Chang'an, 30.896972, 75.6656634
77
+Status [OK]: Chania, 35.5141834, 24.0181459
78
+Status [OK]: Chengdu, 30.6765553, 104.0612783
79
+Status [OK]: Chenla, 42.4768412, -8.605338
80
+Status [OK]: Chicheng, 30.7623082, 105.6960821
81
+Status [OK]: Chios, 45.2943316, 7.2167816
82
+Status [OK]: Cholula, 20.743333, -98.502222
83
+Status [OK]: Chunar, 25.1276706, 82.88556
84
+Status [OK]: Chur, 46.855515, 9.5254066
85
+Status [OK]: Cologne, 50.9374863, 6.9580232
86
+Status [Not Found]: Constanţa
87
+Status [OK]: Constantinople, 41.0096334, 28.9651646
88
+Status [Not Found]: Copán
89
+Status [OK]: Copenhagen, 55.6867243, 12.5700724
90
+Status [Not Found]: Córdoba
91
+Status [OK]: Corfu, Kerkyra, 39.59127345, 19.8595525821119
92
+Status [OK]: Crotone, 39.0806223, 17.127196
93
+Status [OK]: Ctesiphon, 33.0935889, 44.5809542
94
+Status [OK]: Cuicuilco, 19.3014189550871, -99.1817017242732
95
+Status [OK]: Cusco, -13.5, -72
96
+Status [OK]: Cuttack, 20.36244015, 85.4638001535814
97
+Status [OK]: Dali, 25.68413725, 99.9079907654961
98
+Status [OK]: Damascus, 33.5130695, 36.3095814
99
+Status [OK]: Darwin, 36.271613, -117.590605338157
100
+Status [OK]: Datong, 25.065986, 121.515514
101
+Status [OK]: Delhi, 28.6572914, 77.2272603
102
+Status [OK]: Dhar, 22.580678, 75.2269861165095
103
+Status [Not Found]: Djenné-Jeno
104
+Status [OK]: Dobrovody, 49.7196445, 25.6309256
105
+Status [OK]: Dublin, 53.3494299, -6.2600969
106
+Status [Not Found]: Dur-Kurigalzu
107
+Status [Not Found]: Durrës
108
+Status [OK]: Ebla, 35.7990978, 36.7984037933711
109
+Status [Not Found]: Ecbatana
110
+Status [OK]: Edessa, Greece, 40.8045116, 22.0499596
111
+Status [OK]: Edinburgh, 55.9483399, -3.1932723
112
+Status [Not Found]: El Tajín
113
+Status [OK]: Ephesus, 37.9409553, 27.3394946237276
114
+Status [OK]: Eridu, 30.3018747, -83.7471001
115
+Status [Not Found]: Erlitou
116
+Status [Not Found]: Esfahān
117
+Status [Not Found]: Évora
118
+Status [OK]: Faiyum, 29.3388643, 30.6173681839891
119
+Status [OK]: Feodosiya, 45.0426253, 35.3749954
120
+Status [OK]: Fes, 34.0341156, -5.0133482
121
+Status [OK]: Florence, 43.7698712, 11.2555757
122
+Status [OK]: Fustat, 30.0085394656305, 31.2316429738857
123
+Status [OK]: Gao, 16.2788129, -0.0412392
124
+Status [OK]: Gaur, 48.8444481, 2.3587844
125
+Status [OK]: Gaza, -23.328398, 32.8066057
126
+Status [OK]: Gaziantep, 36.9666307, 37.4074178
127
+Status [OK]: Genoa, 44.40726, 8.9338624
128
+Status [OK]: Ghadames, 30.1258416, 9.4900658
129
+Status [OK]: Glasgow, 55.861147, -4.2499891
130
+Status [OK]: Granada, 37.1830197, -3.602192
131
+Status [OK]: Guangzhou, 23.1229013, 113.2529963
132
+Status [OK]: Gwalior, 26.2, 78.2
133
+Status [OK]: Gyeongju, 35.8377869, 129.215273
134
+Status [Not Found]: Habuba Kabira
135
+Status [OK]: Hamadan, 34.973321, 48.6555779
136
+Status [OK]: Hangzhou, 30.2665643, 120.149335
137
+Status [OK]: Hanoi, 21.0292095, 105.85247
138
+Status [OK]: Haojing, 22.0753826, 113.3791846
139
+Status [OK]: Harappa, 30.6330564, 72.8701682
140
+Status [OK]: Hastinapur, 19.0422061, 72.9258681
141
+Status [Not Found]: Hattushash
142
+Status [OK]: Hazor, 31.9928606, 34.946855
143
+Status [OK]: Hebron, 31.5302006, 35.094777
144
+Status [OK]: Heliopolis, -10.682539, -38.290664
145
+Status [OK]: Heracleopolis, 29.0875377, 30.9442447
146
+Status [OK]: Heraklion, 35.3340134, 25.1328543
147
+Status [OK]: Hobart, -42.8825088, 147.3281233
148
+Status [OK]: Ife, 7.4813555, 4.5514063
149
+Status [Not Found]: Igodomigodo
150
+Status [OK]: Inverness, 57.4790124, -4.225739
151
+Status [OK]: Ioannina, 39.6639818, 20.8522784
152
+Status [OK]: Isin, 51.4572062, 7.0114963
153
+Status [OK]: Istanbul, 41.0096334, 28.9651646
154
+Status [OK]: Izapa, 14.9235995401518, -92.1798309608696
155
+Status [OK]: Jaffa, 32.0443395, 34.7509908
156
+Status [OK]: Jamestown, Virginia, 37.2082034, -76.7741258
157
+Status [OK]: Jaunpur, 25.7984275, 82.48081531298
158
+Status [OK]: Jenin, 32.4586042, 35.2984597
159
+Status [OK]: Jericho, 31.855987, 35.4598851
160
+Status [OK]: Jerusalem, 31.79572185, 35.2130497619771
161
+Status [OK]: Jiankang, 24.7519771, 121.7497135
162
+Status [OK]: Jinzhou, 41.108528, 121.1194219
163
+Status [OK]: Kagoshima, 31.5999994, 130.550003
164
+Status [OK]: Kaifeng, 34.7961106, 114.3472038
165
+Status [Not Found]: Kalburgi
166
+Status [OK]: Kalinjar, 34.1629034, 72.8793894
167
+Status [OK]: Kalyan, 19.2447333, 73.1381228648691
168
+Status [OK]: Kanazawa, 36.561627, 136.6568822
169
+Status [OK]: Kanchi, 23.1217173, 85.5364613
170
+Status [OK]: Kannauj, 26.98793995, 79.8455133429925
171
+Status [OK]: Kano, 11.9918671, 8.5303654
172
+Status [Not Found]: Kathmandu-Patan, Lalitpur
173
+Status [OK]: Kavala, 40.8663272, 24.3998825416416
174
+Status [OK]: Kaveri, 11.0969577, 79.6259194
175
+Status [OK]: Kediri, -7.939368, 112.3074164
176
+Status [OK]: Kerch, 45.3543692, 36.4546096
177
+Status [OK]: Kerikeri, -35.2286313, 173.9494875
178
+Status [OK]: Kerma, 36.7526284, 7.6788886
179
+Status [OK]: Kesh, 54.5233599, -7.7225138
180
+Status [OK]: Khambhat, 22.3166129, 72.6244017
181
+Status [OK]: Kiev, 50.4499875, 30.5234937
182
+Status [Not Found]: Kingchow
183
+Status [OK]: Kirkuk, 35.4701099, 44.3964846
184
+Status [OK]: Kish, 32.533333, 44.7
185
+Status [OK]: Kismayo, -0.36667, 42.53333
186
+Status [OK]: Knossos, 35.2984303, 25.1596422
187
+Status [OK]: Kollam, 8.87816635, 76.7511188076101
188
+Status [OK]: Kosambi, -6.1032356, 106.5644584
189
+Status [Not Found]: Kraków
190
+Status [OK]: Kutaisi, 42.25903265, 42.6672662823031
191
+Status [OK]: Kyoto, 35.0185804, 135.763835
192
+Status [OK]: Lagash, 31.55, 46.183333
193
+Status [OK]: Lahore, 31.5621916, 74.3228517
194
+Status [OK]: Lamia, 41.147719, 14.4397365
195
+Status [OK]: Lamu, -2.0655725, 40.7276477557642
196
+Status [OK]: Larnaca, 34.9172012, 33.6378531
197
+Status [OK]: Larsa, 31.2810124, 45.8640216
198
+Status [OK]: Launceston, -41.4340813, 147.1373496
199
+Status [OK]: Lhasa, 29.6568869, 91.1314249
200
+Status [OK]: Linzi, 51.5428173532844, -0.00569124051400065
201
+Status [OK]: Lisbon, 38.7130574, -9.1380056
202
+Status [OK]: Liverpool, 53.4054719, -2.9805393
203
+Status [OK]: London, 51.5072759, -0.1276597
204
+Status [OK]: Luang Prabang, 19.8887438, 102.135898
205
+Status [OK]: Lund, 55.7029296, 13.1929449
206
+Status [OK]: Luoyang, 34.6556873, 112.4209629
207
+Status [OK]: Luxor, 25.6964932, 32.6890611781109
208
+Status [OK]: Madrid, 40.4167047, -3.7035825
209
+Status [OK]: Madurai, 9.9248807, 77.9966469968149
210
+Status [Not Found]: Mahasthangarh
211
+Status [Not Found]: Málaga
212
+Status [OK]: Manchester, 53.4791466, -2.2447445
213
+Status [OK]: Mandsaur, 24.2657092, 75.370754820177
214
+Status [OK]: Mandu, 23.7749, 85.4843
215
+Status [OK]: Mangalia, 43.8134875, 28.5620955532837
216
+Status [OK]: Manila, 14.5906216, 120.9799696
217
+Status [OK]: Mantua, 45.1566683, 10.7917191
218
+Status [Not Found]: Manyakheta
219
+Status [OK]: Mari, 16.3700359, -2.2900239
220
+Status [OK]: Marib, 15.3329113, 45.4522718680981
221
+Status [OK]: Marrakech, 31.6267337, -7.9883921
222
+Status [OK]: Marrakesh, 31.6267337, -7.9883921
223
+Status [OK]: Marseilles, 41.3308666, -88.7081293
224
+Status [Not Found]: Maydanets
225
+Status [Not Found]: Mehrgarh
226
+Status [OK]: Melbourne, -37.8142176, 144.9631608
227
+Status [OK]: Memphis, 35.1490215, -90.0516285
228
+Status [OK]: Merv, 37.6046954, 61.8462896
229
+Status [OK]: Messina, 38.1937571, 15.5542082
230
+Status [OK]: Metz, 49.1196964, 6.1763552
231
+Status [OK]: Mexico City, 19.4325301, -99.1332102
232
+Status [OK]: Milan, 45.4666211, 9.1906166
233
+Status [OK]: Miletus, 39.2306436, -80.588709
234
+Status [OK]: Mogadishu, 2.0453893, 45.3398349
235
+Status [OK]: Mohenjo-daro, 27.321657, 68.1365933
236
+Status [OK]: Montreal, 45.5224507, -73.5912827
237
+Status [OK]: Moscow, 55.7516147, 37.6187012
238
+Status [OK]: Mozah, 31.79279, 35.168506
239
+Status [OK]: Mtskheta, 41.846295, 44.7195591
240
+Status [OK]: Mytilene, 39.1061204, 26.5538342
241
+Status [OK]: Nabadwip, 23.3800968, 88.4201034
242
+Status [OK]: Nablus, 32.2204986, 35.2568883
243
+Status [OK]: Nagoya, 35.183333, 136.9
244
+Status [Not Found]: Namazga-Tepe
245
+Status [OK]: Nanjing, 32.0609158, 118.7916065
246
+Status [OK]: Naples, 40.8506962, 14.2463172
247
+Status [OK]: Nara, 34.6845445, 135.8048359
248
+Status [OK]: Nea Nikomedeia, 40.5879956, 22.2507248
249
+Status [OK]: Nekhen, 25.116667, 32.7
250
+Status [OK]: New York City, 40.7305991, -73.9865812
251
+Status [OK]: Newcastle, 54.9770924, -1.6142059
252
+Status [OK]: Nijmegen, 51.842739, 5.8634665
253
+Status [OK]: Nimrud, 55.9106517, 36.8652318
254
+Status [OK]: Niniveh, 36.0367935, 42.3168623
255
+Status [OK]: Nippur, 45.7955111, 24.151209
256
+Status [Not Found]: Niš
257
+Status [OK]: Nishapur, 36.209834, 58.7927684
258
+Status [Not Found]: Nombre de Dios, Colón
259
+Status [OK]: Novi Sad, 45.2551053, 19.845081
260
+Status [OK]: Old Cairo, 30.0174047, 31.2333171
261
+Status [OK]: Oraibi, Arizona, 35.8763923, -110.6404149
262
+Status [OK]: Osaka, 34.6852929, 135.5146944
263
+Status [OK]: Oyo-Ile, 8.033333, 3.75
264
+Status [OK]: Paithan, 19.4752252, 75.3921611
265
+Status [OK]: Palembang, -2.9888297, 104.756857
266
+Status [OK]: Palermo, 38.111051, 13.335745
267
+Status [OK]: Panama City, 30.1600827, -85.6545729
268
+Status [OK]: Paris, 48.8565056, 2.3521334
269
+Status [OK]: Patala, -7.1164667, 108.5851929
270
+Status [Not Found]: Pataliputra
271
+Status [OK]: Patna, 25.46771, 85.1899334219656
272
+Status [OK]: Patras, 38.2462033, 21.7352492
273
+Status [OK]: Perth, -31.9527121, 115.8604796
274
+Status [OK]: Peshawar, 34.0123846, 71.5787458
275
+Status [OK]: Philadelphia, 39.952335, -75.163789
276
+Status [OK]: Pingcheng, 40.0893933, 113.2801671
277
+Status [OK]: Plovdiv, 42.1419118, 24.7498385
278
+Status [OK]: Plymouth, Massachusetts, 41.9584367, -70.6672577
279
+Status [OK]: Polatsk, 55.4857019, 28.7762951
280
+Status [OK]: Polonnaruwa, 7.939758, 81.0003199
281
+Status [OK]: Prague, 50.084819, 14.4177247
282
+Status [OK]: Prambanan, -7.152447, 114.3746226
283
+Status [OK]: Puri, 19.8076083, 85.8252538
284
+Status [OK]: Pyay, 18.816667, 95.216667
285
+Status [OK]: Pyeongyang, 39.0195178, 125.7530879
286
+Status [OK]: Pyongyang, 38.989799, 125.882446612849
287
+Status [OK]: Qabala, 40.980325, 47.850209
288
+Status [OK]: Quebec City, 53.7969274, -1.5493526
289
+Status [OK]: Qufu, 35.5959895, 116.9812927
290
+Status [OK]: Quito, -0.2201687, -78.5120913
291
+Status [Not Found]: Rajagriha
292
+Status [Not Found]: Ramavati
293
+Status [OK]: Ray, 39.3661726, -93.9888262
294
+Status [OK]: Reggio di Calabria, 38.1104608, 15.6614235
295
+Status [OK]: Rey, 35.6016394, 51.4418697
296
+Status [Not Found]: Reykjavík
297
+Status [OK]: Rhodes, 48.7583294, 6.8977106
298
+Status [OK]: Ribe, 55.3284036, 8.7647838
299
+Status [OK]: Rome, 41.8932575, 12.4830619
300
+Status [OK]: Roses, 42.2632018, 3.1755328
301
+Status [OK]: Saint John, 45.2780145, -66.055875
302
+Status [OK]: Saint Petersburg, 59.9393657, 30.3153628
303
+Status [OK]: Sais, 30.9537097, 77.8508089
304
+Status [OK]: Salona, 43.5395523165124, 16.4834332512813
305
+Status [OK]: Samarkand, 39.6547869, 66.9758026
306
+Status [OK]: Samarqand, 39.6547869, 66.9758026
307
+Status [OK]: San Diego, 32.7469869, -117.21177
308
+Status [OK]: San Juan, 18.87967, -71.2862706
309
+Status [Not Found]: Santa Fe de Bogota
310
+Status [OK]: Santa Fe, New Mexico, 35.6869996, -105.9377997
311
+Status [OK]: Santa Marta, 11.0869132, -73.8807020374619
312
+Status [OK]: Santiago del Estero, -27.6431016, -63.5408542
313
+Status [OK]: Santo Domingo, 18.5638543, -69.8531692
314
+Status [Not Found]: São Vicente, São Paulo
315
+Status [OK]: Sarai, 25.7064, 85.8352
316
+Status [OK]: Sault Ste. Marie, Michigan, 46.491292, -84.3515787
317
+Status [OK]: Seleucia, 33.0944338, 44.5211087
318
+Status [OK]: Seoul, 37.5710824, 126.9953036
319
+Status [OK]: Serres, 42.9466381, 2.3236952
320
+Status [OK]: Sesklo, 39.3544604, 22.8336431
321
+Status [OK]: Seville, 37.3887565, -5.9947066
322
+Status [Not Found]: Shahr-i Sokhta
323
+Status [OK]: Shangjing, 38.1243953, 114.4154094
324
+Status [OK]: Shangqiu, 34.4339749, 115.6518394
325
+Status [Not Found]: Shuruppak
326
+Status [OK]: Sialkot, 32.4931321, 74.542883
327
+Status [OK]: Sidon, 33.5679764, 35.3699663
328
+Status [OK]: Siem Reap, 13.38302965, 103.992920667767
329
+Status [OK]: Singapore, 1.2904527, 103.852038
330
+Status [OK]: Skara, 58.378683, 13.4553333249661
331
+Status [OK]: Skopje, 41.9962268, 21.4317955
332
+Status [OK]: Smederevo, 44.6636063, 20.9283896
333
+Status [OK]: Sofala, -19.0771666, 34.7164804
334
+Status [OK]: Sofia, 42.6977149, 23.3230598
335
+Status [OK]: Solothurn, 47.2081355, 7.5384045
336
+Status [OK]: Sravasti, 27.5083429, 82.0263569
337
+Status [OK]: Sremska Mitrovica, 44.9716042, 19.616868
338
+Status [OK]: St. Augustine, Florida, 29.894691, -81.314517
339
+Status [OK]: St. John's, Newfoundland and Labrador, 47.5614849, -52.7125839
340
+Status [OK]: Stara Zagora, 42.4247421, 25.6257235
341
+Status [Not Found]: Staraya Ladoga
342
+Status [OK]: Stobi, 41.9952853, 21.4339728
343
+Status [OK]: Suheri, -7.6263056, 110.436732809722
344
+Status [OK]: Sunpu, 15.25691, -9.62348
345
+Status [OK]: Susa, 45.137543, 7.054607
346
+Status [OK]: Suzhou, 31.2984758, 120.622239
347
+Status [OK]: Sydney, -33.8548157, 151.2164539
348
+Status [OK]: Syracuse, 43.0481221, -76.1474244
349
+Status [OK]: Tabriz, 38.0773948, 46.2891614
350
+Status [OK]: Taiyuan, 37.9346794, 112.159097002187
351
+Status [OK]: Talianki, 48.80333, 30.56156
352
+Status [OK]: Taosi, 35.896956, 111.498749
353
+Status [OK]: Taranto, 40.4712677, 17.243176
354
+Status [OK]: Tarragona, 41.113686, 1.2527386
355
+Status [OK]: Taxila, 33.7475747, 72.8074558
356
+Status [OK]: Tbilisi, 41.6934547, 44.8014986
357
+Status [OK]: Tell Brak, 36.66878, 41.06171945
358
+Status [Not Found]: Tell Churra
359
+Status [Not Found]: Tell Leilan
360
+Status [OK]: Tenochtitlan, 17.51970575, -94.3025908402771
361
+Status [Not Found]: Teotihuacán
362
+Status [OK]: Ternate, 14.26839745, 120.670160012053
363
+Status [OK]: Texcoco, 19.5113906, -98.884033
364
+Status [OK]: Thanjavur, 10.5446805, 79.2755128092077
365
+Status [OK]: Thebes, 37.2208838, -89.4609209
366
+Status [OK]: Thessaloniki, 40.6403167, 22.9352716
367
+Status [OK]: Tidore, 3.6029535, 125.5045078
368
+Status [OK]: Tikal, 17.221089, -89.6229927251192
369
+Status [OK]: Tokyo, 35.6900336, 139.510397519468
370
+Status [OK]: Tongeren, 50.7810151, 5.4648131
371
+Status [OK]: Tres Zapotes, 18.466667, -95.436389
372
+Status [OK]: Trier, 49.7557338, 6.6402058
373
+Status [OK]: Trikala, 39.6282934, 21.6476240930237
374
+Status [Not Found]: Trois-Rivières
375
+Status [OK]: Trondheim, 63.4305658, 10.3951929
376
+Status [OK]: Tula, 45.2678158, 1.7706904
377
+Status [OK]: Tyre, 33.2721211, 35.1964023
378
+Status [OK]: Ujjain, 23.2978644, 75.6256225570833
379
+Status [OK]: Umma, 10.4, 6.066667
380
+Status [Not Found]: Upper Xingu
381
+Status [OK]: Ur, 46.7864413, 8.6420159
382
+Status [OK]: Uruk, 31.3216128, 45.638327
383
+Status [Not Found]: Vaisali
384
+Status [OK]: Varanasi, 25.37605465, 82.9376423490463
385
+Status [OK]: Varna, 43.2166104, 27.9017131
386
+Status [OK]: Veliky Novgorod, 58.5227078, 31.2776162
387
+Status [OK]: Venice, 45.4384143, 12.318564
388
+Status [OK]: Vera Cruz, -12.956845, -38.615295
389
+Status [OK]: Verdun, 49.1589278, 5.3867277
390
+Status [OK]: Veria, 46.4519, 5.42422
391
+Status [OK]: Vienna, 48.2083537, 16.3725042
392
+Status [OK]: Vijayanagar, 29.2436472, 73.5222553
393
+Status [Not Found]: Vinča-Belo Brdo
394
+Status [OK]: Vitebsk, 55.1930088, 30.2059467
395
+Status [OK]: Volterra, 43.400337, 10.860019
396
+Status [OK]: Vukovar, 45.3485047, 18.9967149
397
+Status [OK]: Wanxian, 30.7049525, 108.427213780065
398
+Status [OK]: Warangal, 17.95910755, 79.5864956025739
399
+Status [OK]: Winchester, 39.1856588, -78.1633342
400
+Status [OK]: Worms, 49.66139735, 8.32128880741306
401
+Status [OK]: Wuchang, 44.9159466, 127.1521717
402
+Status [OK]: Xanthi, 41.1380289, 24.8862688
403
+Status [OK]: Xi'an, 34.21932965, 109.110369488166
404
+Status [Not Found]: Xiadu
405
+Status [OK]: Xianyang, 34.3353304, 108.7139441
406
+Status [OK]: Xintian, 30.2, 118.254167
407
+Status [OK]: Xinzheng, 34.3971133, 113.7336778
408
+Status [OK]: Xuchang, 34.0316195, 113.8237291
409
+Status [OK]: Xue, 35.7219943, 140.6460551
410
+Status [OK]: Yamaguchi, 34.1726129, 131.4808245
411
+Status [OK]: Ye, 16.3471243, 47.8915271
412
+Status [OK]: Yeha, 14.2858527, 39.0170739
413
+Status [OK]: Yerevan, 40.1776121, 44.5125849
414
+Status [OK]: Yong, 5.0935705, 10.0417471
415
+Status [OK]: York, 53.9590555, -1.0815361
416
+Status [Not Found]: Youzhou
417
+Status [OK]: Zabala, 45.8935789, 26.1906446
418
+Status [OK]: Zagreb, 45.8131545, 15.9770298
419
+Status [OK]: Zeila, 11.3534851, 43.4747227
420
+Status [OK]: Zhengzhou, 34.7591877, 113.6524076
421
+Status [Not Found]: Zürich

+ 369
- 0
geocoded-cities.txt View File

@@ -0,0 +1,369 @@
1
+Agra, 27.0233979, 78.0910991915874
2
+'Ain Ghazal, 34.3472222, 35.7561111
3
+Aberdeen, 57.1452452, -2.0913745
4
+Adab, 35.30089155, 46.9981322336495
5
+Adelaide, -34.9274284, 138.599899
6
+Agra, 27.0233979, 78.0910991915874
7
+Ahmedabad, 23.0216238, 72.5797068
8
+Ahmednagar, 31.78524, 72.8894826
9
+Akkad, 16.9913885, 54.0496068
10
+Albany, 42.6511674, -73.754968
11
+Albany, New York, 42.6511674, -73.754968
12
+Aleppo, 36.197971, 37.1656697
13
+Alexandria, 31.1990035, 29.8943785
14
+Amarna, 43.7044931, -72.2812216966113
15
+Amesbury, 42.8584235, -70.9300548
16
+Amman, 31.6554651, 36.3242451899544
17
+Amsterdam, 52.3710088, 4.9001115
18
+Angkor, 47.3902731, 8.5171449
19
+Anshan, 40.7827834, 122.789568393366
20
+Antioch, 38.0049214, -121.805789
21
+Antwerp, 51.2212016, 4.3996325
22
+Anuradhapura, 8.3354139, 80.4080552
23
+Anyang, 37.3942928, 126.9569554
24
+Anyi, 40.50622765, 43.5743251618673
25
+Arbil, 36.3762956, 44.1654563566789
26
+Argos, 37.6353109, 22.7259515
27
+Athens, 33.9595974, -83.376678
28
+Avaris, 46.3839347, 12.8298358
29
+Axum, 14.122015, 38.7305334
30
+Ayodhya, 26.7990707, 82.2052321
31
+Ayutthaya, 14.3560372, 100.5722073
32
+Babylon, 49.3986492, 12.8627841
33
+Badami, 15.9186389, 75.6821169
34
+Bagan, 21.1708105, 94.8595191
35
+Baghdad, 33.3024248, 44.3787992
36
+Bago, 17.336667, 96.479722
37
+Baku, 40.3925137, 49.8466787
38
+Balkh, 36.7581256, 66.8980826
39
+Bamyan, 34.710329, 67.3916533384595
40
+Bandar Seri Begawan, 4.8895453, 114.9417574
41
+Baracoa, 20.3465027, -74.4965523
42
+Barcelona, 41.3870186, 2.1700437
43
+Basra, 30.502804, 47.8342226
44
+Bath, 51.3813864, -2.3596963
45
+Beidha, 34.4677091, 2.1706875
46
+Beijing, 40.2505379, 116.625088590652
47
+Beirut, 33.8959203, 35.47843
48
+Belgrade, 44.8178787, 20.4568089
49
+Benares, 40.5991531, -1.4555969
50
+Berat, 40.6171976, 20.104679593965
51
+Berbera, 10.4979712, 45.136344044767
52
+Berlin, 52.5170365, 13.3888599
53
+Bilhorod-Dnistrovskyi, 46.1909823, 30.345784
54
+Brisbane, -27.4689682, 153.0234991
55
+Bruges, 51.2318283, 3.20778222299101
56
+Bursa, 40.1827061, 29.0667635
57
+Butuan, 8.9518371, 125.5305668
58
+Byblos, 52.5557676, 13.3429864
59
+Byzantium, 52.1896962, 5.3874312
60
+Cairo, 30.0488185, 31.2436663
61
+Calah, 36.0993462, 43.3280474
62
+Canberra, -35.2820709, 149.1286673
63
+Cape Guardafui, 11.8330631, 51.2836084
64
+Cape Town, -33.9289049, 18.4172485
65
+Cartagena, 10.4236044, -75.524172
66
+Carthage, 36.851627, 10.3304407
67
+Chalcis, 38.4627483, 23.5952169
68
+Chan Chan, -8.1063168, -79.0735916029033
69
+Chang'an, 30.896972, 75.6656634
70
+Chania, 35.5141834, 24.0181459
71
+Chengdu, 30.6765553, 104.0612783
72
+Chenla, 42.4768412, -8.605338
73
+Chicheng, 30.7623082, 105.6960821
74
+Chios, 45.2943316, 7.2167816
75
+Cholula, 20.743333, -98.502222
76
+Chunar, 25.1276706, 82.88556
77
+Chur, 46.855515, 9.5254066
78
+Cologne, 50.9374863, 6.9580232
79
+Constantinople, 41.0096334, 28.9651646
80
+Copenhagen, 55.6867243, 12.5700724
81
+Corfu, Kerkyra, 39.59127345, 19.8595525821119
82
+Crotone, 39.0806223, 17.127196
83
+Ctesiphon, 33.0935889, 44.5809542
84
+Cuicuilco, 19.3014189550871, -99.1817017242732
85
+Cusco, -13.5, -72
86
+Cuttack, 20.36244015, 85.4638001535814
87
+Dali, 25.68413725, 99.9079907654961
88
+Damascus, 33.5130695, 36.3095814
89
+Darwin, 36.271613, -117.590605338157
90
+Datong, 25.065986, 121.515514
91
+Delhi, 28.6572914, 77.2272603
92
+Dhar, 22.580678, 75.2269861165095
93
+Dobrovody, 49.7196445, 25.6309256
94
+Dublin, 53.3494299, -6.2600969
95
+Ebla, 35.7990978, 36.7984037933711
96
+Edessa, Greece, 40.8045116, 22.0499596
97
+Edinburgh, 55.9483399, -3.1932723
98
+Ephesus, 37.9409553, 27.3394946237276
99
+Eridu, 30.3018747, -83.7471001
100
+Faiyum, 29.3388643, 30.6173681839891
101
+Feodosiya, 45.0426253, 35.3749954
102
+Fes, 34.0341156, -5.0133482
103
+Florence, 43.7698712, 11.2555757
104
+Fustat, 30.0085394656305, 31.2316429738857
105
+Gao, 16.2788129, -0.0412392
106
+Gaur, 48.8444481, 2.3587844
107
+Gaza, -23.328398, 32.8066057
108
+Gaziantep, 36.9666307, 37.4074178
109
+Genoa, 44.40726, 8.9338624
110
+Ghadames, 30.1258416, 9.4900658
111
+Glasgow, 55.861147, -4.2499891
112
+Granada, 37.1830197, -3.602192
113
+Guangzhou, 23.1229013, 113.2529963
114
+Gwalior, 26.2, 78.2
115
+Gyeongju, 35.8377869, 129.215273
116
+Hamadan, 34.973321, 48.6555779
117
+Hangzhou, 30.2665643, 120.149335
118
+Hanoi, 21.0292095, 105.85247
119
+Haojing, 22.0753826, 113.3791846
120
+Harappa, 30.6330564, 72.8701682
121
+Hastinapur, 19.0422061, 72.9258681
122
+Hazor, 31.9928606, 34.946855
123
+Hebron, 31.5302006, 35.094777
124
+Heliopolis, -10.682539, -38.290664
125
+Heracleopolis, 29.0875377, 30.9442447
126
+Heraklion, 35.3340134, 25.1328543
127
+Hobart, -42.8825088, 147.3281233
128
+Ife, 7.4813555, 4.5514063
129
+Inverness, 57.4790124, -4.225739
130
+Ioannina, 39.6639818, 20.8522784
131
+Isin, 51.4572062, 7.0114963
132
+Istanbul, 41.0096334, 28.9651646
133
+Izapa, 14.9235995401518, -92.1798309608696
134
+Jaffa, 32.0443395, 34.7509908
135
+Jamestown, Virginia, 37.2082034, -76.7741258
136
+Jaunpur, 25.7984275, 82.48081531298
137
+Jenin, 32.4586042, 35.2984597
138
+Jericho, 31.855987, 35.4598851
139
+Jerusalem, 31.79572185, 35.2130497619771
140
+Jiankang, 24.7519771, 121.7497135
141
+Jinzhou, 41.108528, 121.1194219
142
+Kagoshima, 31.5999994, 130.550003
143
+Kaifeng, 34.7961106, 114.3472038
144
+Kalinjar, 34.1629034, 72.8793894
145
+Kalyan, 19.2447333, 73.1381228648691
146
+Kanazawa, 36.561627, 136.6568822
147
+Kanchi, 23.1217173, 85.5364613
148
+Kannauj, 26.98793995, 79.8455133429925
149
+Kano, 11.9918671, 8.5303654
150
+Kavala, 40.8663272, 24.3998825416416
151
+Kaveri, 11.0969577, 79.6259194
152
+Kediri, -7.939368, 112.3074164
153
+Kerch, 45.3543692, 36.4546096
154
+Kerikeri, -35.2286313, 173.9494875
155
+Kerma, 36.7526284, 7.6788886
156
+Kesh, 54.5233599, -7.7225138
157
+Khambhat, 22.3166129, 72.6244017
158
+Kiev, 50.4499875, 30.5234937
159
+Kirkuk, 35.4701099, 44.3964846
160
+Kish, 32.533333, 44.7
161
+Kismayo, -0.36667, 42.53333
162
+Knossos, 35.2984303, 25.1596422
163
+Kollam, 8.87816635, 76.7511188076101
164
+Kosambi, -6.1032356, 106.5644584
165
+Kutaisi, 42.25903265, 42.6672662823031
166
+Kyoto, 35.0185804, 135.763835
167
+Lagash, 31.55, 46.183333
168
+Lahore, 31.5621916, 74.3228517
169
+Lamia, 41.147719, 14.4397365
170
+Lamu, -2.0655725, 40.7276477557642
171
+Larnaca, 34.9172012, 33.6378531
172
+Larsa, 31.2810124, 45.8640216
173
+Launceston, -41.4340813, 147.1373496
174
+Lhasa, 29.6568869, 91.1314249
175
+Linzi, 51.5428173532844, -0.00569124051400065
176
+Lisbon, 38.7130574, -9.1380056
177
+Liverpool, 53.4054719, -2.9805393
178
+London, 51.5072759, -0.1276597
179
+Luang Prabang, 19.8887438, 102.135898
180
+Lund, 55.7029296, 13.1929449
181
+Luoyang, 34.6556873, 112.4209629
182
+Luxor, 25.6964932, 32.6890611781109
183
+Madrid, 40.4167047, -3.7035825
184
+Madurai, 9.9248807, 77.9966469968149
185
+Manchester, 53.4791466, -2.2447445
186
+Mandsaur, 24.2657092, 75.370754820177
187
+Mandu, 23.7749, 85.4843
188
+Mangalia, 43.8134875, 28.5620955532837
189
+Manila, 14.5906216, 120.9799696
190
+Mantua, 45.1566683, 10.7917191
191
+Mari, 16.3700359, -2.2900239
192
+Marib, 15.3329113, 45.4522718680981
193
+Marrakech, 31.6267337, -7.9883921
194
+Marrakesh, 31.6267337, -7.9883921
195
+Marseilles, 41.3308666, -88.7081293
196
+Melbourne, -37.8142176, 144.9631608
197
+Memphis, 35.1490215, -90.0516285
198
+Merv, 37.6046954, 61.8462896
199
+Messina, 38.1937571, 15.5542082
200
+Metz, 49.1196964, 6.1763552
201
+Mexico City, 19.4325301, -99.1332102
202
+Milan, 45.4666211, 9.1906166
203
+Miletus, 39.2306436, -80.588709
204
+Mogadishu, 2.0453893, 45.3398349
205
+Mohenjo-daro, 27.321657, 68.1365933
206
+Montreal, 45.5224507, -73.5912827
207
+Moscow, 55.7516147, 37.6187012
208
+Mozah, 31.79279, 35.168506
209
+Mtskheta, 41.846295, 44.7195591
210
+Mytilene, 39.1061204, 26.5538342
211
+Nabadwip, 23.3800968, 88.4201034
212
+Nablus, 32.2204986, 35.2568883
213
+Nagoya, 35.183333, 136.9
214
+Nanjing, 32.0609158, 118.7916065
215
+Naples, 40.8506962, 14.2463172
216
+Nara, 34.6845445, 135.8048359
217
+Nea Nikomedeia, 40.5879956, 22.2507248
218
+Nekhen, 25.116667, 32.7
219
+New York City, 40.7305991, -73.9865812
220
+Newcastle, 54.9770924, -1.6142059
221
+Nijmegen, 51.842739, 5.8634665
222
+Nimrud, 55.9106517, 36.8652318
223
+Niniveh, 36.0367935, 42.3168623
224
+Nippur, 45.7955111, 24.151209
225
+Nishapur, 36.209834, 58.7927684
226
+Novi Sad, 45.2551053, 19.845081
227
+Old Cairo, 30.0174047, 31.2333171
228
+Oraibi, Arizona, 35.8763923, -110.6404149
229
+Osaka, 34.6852929, 135.5146944
230
+Oyo-Ile, 8.033333, 3.75
231
+Paithan, 19.4752252, 75.3921611
232
+Palembang, -2.9888297, 104.756857
233
+Palermo, 38.111051, 13.335745
234
+Panama City, 30.1600827, -85.6545729
235
+Paris, 48.8565056, 2.3521334
236
+Patala, -7.1164667, 108.5851929
237
+Patna, 25.46771, 85.1899334219656
238
+Patras, 38.2462033, 21.7352492
239
+Perth, -31.9527121, 115.8604796
240
+Peshawar, 34.0123846, 71.5787458
241
+Philadelphia, 39.952335, -75.163789
242
+Pingcheng, 40.0893933, 113.2801671
243
+Plovdiv, 42.1419118, 24.7498385
244
+Plymouth, Massachusetts, 41.9584367, -70.6672577
245
+Polatsk, 55.4857019, 28.7762951
246
+Polonnaruwa, 7.939758, 81.0003199
247
+Prague, 50.084819, 14.4177247
248
+Prambanan, -7.152447, 114.3746226
249
+Puri, 19.8076083, 85.8252538
250
+Pyay, 18.816667, 95.216667
251
+Pyeongyang, 39.0195178, 125.7530879
252
+Pyongyang, 38.989799, 125.882446612849
253
+Qabala, 40.980325, 47.850209
254
+Quebec City, 53.7969274, -1.5493526
255
+Qufu, 35.5959895, 116.9812927
256
+Quito, -0.2201687, -78.5120913
257
+Ray, 39.3661726, -93.9888262
258
+Reggio di Calabria, 38.1104608, 15.6614235
259
+Rey, 35.6016394, 51.4418697
260
+Rhodes, 48.7583294, 6.8977106
261
+Ribe, 55.3284036, 8.7647838
262
+Rome, 41.8932575, 12.4830619
263
+Roses, 42.2632018, 3.1755328
264
+Saint John, 45.2780145, -66.055875
265
+Saint Petersburg, 59.9393657, 30.3153628
266
+Sais, 30.9537097, 77.8508089
267
+Salona, 43.5395523165124, 16.4834332512813
268
+Samarkand, 39.6547869, 66.9758026
269
+Samarqand, 39.6547869, 66.9758026
270
+San Diego, 32.7469869, -117.21177
271
+San Juan, 18.87967, -71.2862706
272
+Santa Fe, New Mexico, 35.6869996, -105.9377997
273
+Santa Marta, 11.0869132, -73.8807020374619
274
+Santiago del Estero, -27.6431016, -63.5408542
275
+Santo Domingo, 18.5638543, -69.8531692
276
+Sarai, 25.7064, 85.8352
277
+Sault Ste. Marie, Michigan, 46.491292, -84.3515787
278
+Seleucia, 33.0944338, 44.5211087
279
+Seoul, 37.5710824, 126.9953036
280
+Serres, 42.9466381, 2.3236952
281
+Sesklo, 39.3544604, 22.8336431
282
+Seville, 37.3887565, -5.9947066
283
+Shangjing, 38.1243953, 114.4154094
284
+Shangqiu, 34.4339749, 115.6518394
285
+Sialkot, 32.4931321, 74.542883
286
+Sidon, 33.5679764, 35.3699663
287
+Siem Reap, 13.38302965, 103.992920667767
288
+Singapore, 1.2904527, 103.852038
289
+Skara, 58.378683, 13.4553333249661
290
+Skopje, 41.9962268, 21.4317955
291
+Smederevo, 44.6636063, 20.9283896
292
+Sofala, -19.0771666, 34.7164804
293
+Sofia, 42.6977149, 23.3230598
294
+Solothurn, 47.2081355, 7.5384045
295
+Sravasti, 27.5083429, 82.0263569
296
+Sremska Mitrovica, 44.9716042, 19.616868
297
+St. Augustine, Florida, 29.894691, -81.314517
298
+St. John's, Newfoundland and Labrador, 47.5614849, -52.7125839
299
+Stara Zagora, 42.4247421, 25.6257235
300
+Stobi, 41.9952853, 21.4339728
301
+Suheri, -7.6263056, 110.436732809722
302
+Sunpu, 15.25691, -9.62348
303
+Susa, 45.137543, 7.054607
304
+Suzhou, 31.2984758, 120.622239
305
+Sydney, -33.8548157, 151.2164539
306
+Syracuse, 43.0481221, -76.1474244
307
+Tabriz, 38.0773948, 46.2891614
308
+Taiyuan, 37.9346794, 112.159097002187
309
+Talianki, 48.80333, 30.56156
310
+Taosi, 35.896956, 111.498749
311
+Taranto, 40.4712677, 17.243176
312
+Tarragona, 41.113686, 1.2527386
313
+Taxila, 33.7475747, 72.8074558
314
+Tbilisi, 41.6934547, 44.8014986
315
+Tell Brak, 36.66878, 41.06171945
316
+Tenochtitlan, 17.51970575, -94.3025908402771
317
+Ternate, 14.26839745, 120.670160012053
318
+Texcoco, 19.5113906, -98.884033
319
+Thanjavur, 10.5446805, 79.2755128092077
320
+Thebes, 37.2208838, -89.4609209
321
+Thessaloniki, 40.6403167, 22.9352716
322
+Tidore, 3.6029535, 125.5045078
323
+Tikal, 17.221089, -89.6229927251192
324
+Tokyo, 35.6900336, 139.510397519468
325
+Tongeren, 50.7810151, 5.4648131
326
+Tres Zapotes, 18.466667, -95.436389
327
+Trier, 49.7557338, 6.6402058
328
+Trikala, 39.6282934, 21.6476240930237
329
+Trondheim, 63.4305658, 10.3951929
330
+Tula, 45.2678158, 1.7706904
331
+Tyre, 33.2721211, 35.1964023
332
+Ujjain, 23.2978644, 75.6256225570833
333
+Umma, 10.4, 6.066667
334
+Ur, 46.7864413, 8.6420159
335
+Uruk, 31.3216128, 45.638327
336
+Varanasi, 25.37605465, 82.9376423490463
337
+Varna, 43.2166104, 27.9017131
338
+Veliky Novgorod, 58.5227078, 31.2776162
339
+Venice, 45.4384143, 12.318564
340
+Vera Cruz, -12.956845, -38.615295
341
+Verdun, 49.1589278, 5.3867277
342
+Veria, 46.4519, 5.42422
343
+Vienna, 48.2083537, 16.3725042
344
+Vijayanagar, 29.2436472, 73.5222553
345
+Vitebsk, 55.1930088, 30.2059467
346
+Volterra, 43.400337, 10.860019
347
+Vukovar, 45.3485047, 18.9967149
348
+Wanxian, 30.7049525, 108.427213780065
349
+Warangal, 17.95910755, 79.5864956025739
350
+Winchester, 39.1856588, -78.1633342
351
+Worms, 49.66139735, 8.32128880741306
352
+Wuchang, 44.9159466, 127.1521717
353
+Xanthi, 41.1380289, 24.8862688
354
+Xi'an, 34.21932965, 109.110369488166
355
+Xianyang, 34.3353304, 108.7139441
356
+Xintian, 30.2, 118.254167
357
+Xinzheng, 34.3971133, 113.7336778
358
+Xuchang, 34.0316195, 113.8237291
359
+Xue, 35.7219943, 140.6460551
360
+Yamaguchi, 34.1726129, 131.4808245
361
+Ye, 16.3471243, 47.8915271
362
+Yeha, 14.2858527, 39.0170739
363
+Yerevan, 40.1776121, 44.5125849
364
+Yong, 5.0935705, 10.0417471
365
+York, 53.9590555, -1.0815361
366
+Zabala, 45.8935789, 26.1906446
367
+Zagreb, 45.8131545, 15.9770298
368
+Zeila, 11.3534851, 43.4747227
369
+Zhengzhou, 34.7591877, 113.6524076

+ 18
- 0
leaflet-custom.js View File

@@ -0,0 +1,18 @@
1
+var req = new XMLHttpRequest();
2
+req.open('GET', 'geocoded-cities.txt', false); // add full URL
3
+req.send(null);
4
+var cityArray = req.responseText.split("\n");
5
+
6
+var randomnumber = Math.floor(Math.random() * (369 - 0 + 1)) + 0; // hard-coded for less code; max/min random value
7
+
8
+randCity = cityArray[randomnumber];
9
+randCityArray = randCity.split(',');
10
+
11
+	var osmUrl = 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
12
+	osmAttrib = '&copy; <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors - Tiles \u00a9 HOT',
13
+	osm = L.tileLayer(osmUrl, {maxZoom: 18, attribution: osmAttrib});
14
+	var map = L.map('map').setView([randCityArray[1], randCityArray[2]], 12).addLayer(osm);
15
+
16
+	L.marker([randCityArray[1], randCityArray[2]])
17
+		.addTo(map)
18
+		.bindPopup('See Wikipedia for more Information: <a href="https://en.wikipedia.org/w/index.php?search='+ randCityArray[0] + '"' + 'target="_blank">' + randCityArray[0] + '</a>.');

+ 43
- 0
nomnom-gc.py View File

@@ -0,0 +1,43 @@
1
+import io
2
+import requests
3
+import os.path
4
+import time
5
+import shutil
6
+
7
+print "Going to delete all contents of geocoded-cities.txt and creating a backup named 'geocoded-cities_back.txt'"
8
+time.sleep(2) # little delay for reading
9
+
10
+# check if file exists, if yes copy to backup and empty it
11
+if os.path.isfile('geocoded-cities.txt')==True:
12
+	shutil.copy2('geocoded-cities.txt', 'geocoded-cities_back.txt')
13
+	with open('geocoded-cities.txt', 'w+') as ft:
14
+		ft.truncate()
15
+	ft.close()
16
+
17
+# empty logfile
18
+with open('geocode.log', 'w+') as fl:
19
+	fl.truncate()
20
+	fl.close()
21
+
22
+with open('cities.txt') as fp:
23
+	for city in fp:
24
+		try:
25
+			payload = {'format': 'json', 'q': ' '}
26
+			payload['q'] = city
27
+			r = requests.get('http://open.mapquestapi.com/nominatim/v1/search', params=payload)
28
+			placesjson = {}
29
+			placesjson = r.json()
30
+			firstResult = placesjson[0] # nominatim delivers (depending on input) multiple resultsets, first one should be the desired
31
+			with open('geocoded-cities.txt', 'aw+') as fgeo:
32
+				fgeo.write("%s, %s, %s\n" % (city.rstrip(), firstResult['lat'], firstResult['lon']))
33
+			print "Status [OK]: %s, %s, %s" % (city.rstrip(), firstResult['lat'], firstResult['lon'])
34
+			with open('geocode.log', 'aw+') as flog:
35
+				flog.write("Status [OK]: %s, %s, %s\n" % (city.rstrip(), firstResult['lat'], firstResult['lon']))
36
+		except:
37
+			print "Status[Not Found]: %s" % city.rstrip()
38
+			with open('geocode.log', 'aw+') as flog:
39
+                                 flog.write("Status [Not Found]: %s\n" % city.rstrip())
40
+
41
+fgeo.close()
42
+fp.close()
43
+flog.close()