Bundle smaller Wikidata settlements for nearby-place lookups

137,662 places of 1,000 to 14,999 people that Wikidata gives a population
and coordinates for, none already in the cities pack, in 732 tiles of
5 x 5 degrees with an index of row counts (CC0). Nothing loads with the
app: a lookup reads the index once and then only the tiles it touches.
placesNear lists the places around a point, and findPlace finds a small
place by name near the view when no city of that name is near. The cities
build script writes the tiles with --tiles; the step from rows to files is
checked offline.

Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
Manjunath PaparajuandSameh Khamis authored and Sameh Khamis committed 2026-11-18 12:36:16 -08:00
1 parent 328b8f5d1b
commit 78305411eb
743 files changed
+2087 -14

No files matched your search

@@ -0,0 +1 @@
{"rows":[["Neqab",36.708,57.421,14783,"IR","Q80983"],["Shandiz",36.395,59.296,13987,"IR","Q2637676"],["Kharv",36.169,59.051,13535,"IR","Q1771096"],["Khalilabad",35.254,58.286,12751,"IR","Q1771058"],["Ramian",37.016,55.141,12426,"IR","Q2630596"],["Faruj",37.231,58.219,12061,"IR","Q2630643"],["Gypjak",38,58.251,12000,"TM","Q60654"],["Deh Rud, Razavi Khorasan",36.349,59.657,11869,"IR","Q5843957"],["Garmeh",36.987,56.289,10933,"IR","Q2630650"],["Babaarap",38.1,58.1,9681,"TM","Q13367422"],["Akdepe",38.308,57.598,9066,"TM","Q65434026"],["Razaviyeh",36.206,59.77,8850,"IR","Q1770186"],["Bastam",36.485,55,8609,"IR","Q720677"],["Farhadgerd",35.766,59.734,8442,"IR","Q1770084"],["Golmakann",36.481,59.157,8373,"IR","Q5580873"],["Daland",37.036,55.048,8184,"IR","Q719386"],["Ýaşlyk",37.779,58.89,8172,"TM","Q4539943"],["Neginshahr",37.139,55.164,8138,"IR","Q719569"],["Bokurdak",38.763,58.491,7726,"TM","Q4503460"],["Kalat",36.995,59.761,7687,"IR","Q2626972"],["Ýaşyldepe",37.805,58.842,6563,"TM","Q141751621"],["Kondor",35.212,58.152,6460,"IR","Q1771078"],["Nohur",38.482,57.033,6258,"TM","Q7047857"],["Anabad",35.252,57.812,6186,"IR","Q2633377"],["Arçman",38.543,57.157,6014,"TM","Q4787326"],["Soltanabad",36.404,58.039,5932,"IR","Q1771074"],["Zarkesh, Razavi Khorasan",36.411,59.498,5780,"IR","Q5834893"],["Pishkamar",37.521,55.588,5777,"IR","Q7198320"],["Dowzeyn",37.127,55.577,5737,"IR","Q5303674"],["Darrud",36.139,59.117,5717,"IR","Q1770194"],["Rivash",35.475,58.457,5687,"IR","Q1770199"],["Kalateh Khij",36.671,55.297,5651,"IR","Q2423373"],["Binalud",35.99,59.353,5635,"IR","Q5905917"],["Aqabad",37.311,55.248,5534,"IR","Q4782455"],["Mehinli",37.467,59.416,5089,"TM","Q141779842"],["Raz",37.934,57.112,5029,"IR","Q2724644"],["Daraq",36.969,56.261,4926,"IR","Q1765805"],["Qalandarabad",35.599,59.95,4880,"IR","Q1770139"],["Tatar-e Olya",37.116,55.048,4782,"IR","Q7687874"],["Alqajar",37.207,55.349,4780,"IR","Q4735674"],["Zaboliabad",37.233,55.2,4738,"IR","Q5856536"],["Azdar Tappeh",37.094,55.189,4687,"IR","Q4832325"],["Quzhd",35.209,58.464,4650,"IR","Q6555776"],["Meyami",36.411,55.65,4566,"IR","Q2423532"],["Hajji Qushan",37.436,55.361,4546,"IR","Q5640111"],["Chahar Borj, Mashhad",36.458,59.482,4524,"IR","Q5841040"],["Farg Qaleh",35.222,58.558,4519,"IR","Q5434744"],["Fadafen",35.206,58.497,4473,"IR","Q5429128"],["Safiabad",35.287,59.641,4410,"IR","Q5852335"],["Chehel Hojreh",36.405,59.51,4399,"IR","Q5830828"],["Deh Now",35.251,58.304,4279,"IR","Q5252117"],["Avareshk",35.976,59.37,4262,"IR","Q4827745"],["Raz, Razavi Khorasan",36.749,57.273,4250,"IR","Q7299429"],["Ziarat",37.444,57.89,4179,"IR","Q8071357"],["Arapgala",37.345,59.529,4125,"TM","Q109533659"],["Bar, Razavi Khorasan",36.492,58.717,4121,"IR","Q6417114"],["Shahr-e Zow",36.75,59.934,4089,"IR","Q3959007"],["Ivar",36.97,56.158,3994,"IR","Q16047973"],["Ava",37.477,56.741,3993,"IR","Q17991156"],["Qaleh Now-e Kharaqan",36.633,55.072,3974,"IR","Q7266296"],["Basfar",35.092,59.419,3917,"IR","Q4866735"],["Baghshan-e Gach",36.304,58.759,3915,"IR","Q4841914"],["Titkanlu",37.281,58.289,3835,"IR","Q7810027"],["Shadmehr",35.173,59.036,3825,"IR","Q1771101"],["Rudian",36.35,55.002,3770,"IR","Q25424331"],["Kadkan",35.585,58.878,3719,"IR","Q1118922"],["Shahr-e Kohneh",37.141,58.391,3683,"IR","Q5854417"],["Jabuz",35.235,58.083,3639,"IR","Q5812623"],["Chenar, Kalat",36.692,59.977,3597,"IR","Q5795576"],["Gyzylbaýyr",38.22,55.653,3516,"TM","Q8082429"],["Hoseynabad-e Kalpu",37.2,55.737,3514,"IR","Q5808834"],["Bidak, Bojnord",37.472,57.22,3482,"IR","Q4903993"],["Chaheshk",36.391,59.436,3317,"IR","Q5067683"],["Forutqeh",35.22,58.496,3281,"IR","Q5473153"],["Abardeh-ye Olya",36.385,59.265,3177,"IR","Q4663467"],["Arkan, North Khorasan",37.411,57.163,3173,"IR","Q4791689"],["Sheshtamad",35.96,57.767,3108,"IR","Q1771069"],["Poli Hajji",37.267,55.189,3055,"IR","Q7209376"],["Robat-e Jaz",36.457,58.003,3037,"IR","Q7340722"],["Qadamgah",36.106,59.061,3010,"IR","Q2421161"],["Now Deh Khanduz",37.076,55.263,2989,"IR","Q719397"],["Deh-e Pain",35.292,59.181,2973,"IR","Q5251964"],["Dahaneh-ye Porsu Qui",37.441,55.494,2824,"IR","Q5208768"],["Kashanak",37.476,56.83,2807,"IR","Q6374204"],["Ivar",35.481,58.582,2753,"IR","Q6098326"],["Berkarar",37.649,59.148,2747,"TM","Q134717244"],["Davarzan",36.352,56.878,2744,"IR","Q1771089"],["Rezqabad",35.227,58.535,2704,"IR","Q5855739"],["Abadan Tappeh",37.397,55.226,2675,"IR","Q4663201"],["Sadkharv",36.308,57.074,2670,"IR","Q7397435"],["Now Khandan",37.52,58.989,2634,"IR","Q1770097"],["Argha",35.236,58.219,2620,"IR","Q4789536"],["Radkan",36.8,59.013,2609,"IR","Q7281419"],["Baghunabad",36.406,59.488,2606,"IR","Q4841923"],["Turan-e Fars",37.08,55.074,2581,"IR","Q10860659"],["Ýerbent",39.314,58.594,2561,"TM","Q16891075"],["Beyarjomand",36.081,55.81,2528,"IR","Q2422943"],["Moghan",35.231,58.426,2516,"IR","Q6890550"],["Izi, Razavi Khorasan",36.224,57.728,2486,"IR","Q6102002"],["Barghamad",36.497,57.571,2449,"IR","Q4860578"],["Rivadeh",36.792,57.113,2447,"IR","Q10861066"],["Ghazi",37Line truncated