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":[["Dargahan",26.963,56.063,14525,"IR","Q888633"],["Rabor",29.291,56.913,13263,"IR","Q2416555"],["Qaleh Ganj",27.524,57.881,13169,"IR","Q498462"],["Fanuj",26.576,59.64,13070,"IR","Q2423455"],["Darb-e Behesht",29.242,57.325,10670,"IR","Q2416622"],["Galmurti",27.482,59.447,10292,"IR","Q2423589"],["Rayen",29.598,57.439,10286,"IR","Q498130"],["Golbaf",29.885,57.731,9205,"IR","Q2416566"],["Zeydabad",29.6,55.537,9112,"IR","Q2420214"],["Pariz",29.872,55.75,8005,"IR","Q2420257"],["Negar",29.857,56.8,7600,"IR","Q2620754"],["Gonbaki",28.72,58.874,7210,"IR","Q4811086"],["Bika",27.358,57.18,7190,"IR","Q4907297"],["Fahraj",28.95,58.885,6876,"IR","Q2420935"],["Arzuiyeh",28.441,56.373,6868,"IR","Q2416632"],["Zeh-e Kalut",27.793,58.587,6835,"IR","Q5820831"],["Jebalbarez",28.517,58.433,6750,"IR","Q4359081"],["Hasht Bandi",27.156,57.431,6718,"IR","Q2620437"],["Ruydar",27.465,55.422,6558,"IR","Q599054"],["Mes-e Sarcheshmeh",29.993,55.795,5967,"IR","Q2420744"],["Pol-e Sharqi",27.009,55.739,5943,"IR","Q5824496"],["Hormuz",27.095,56.453,5891,"IR","Q888643"],["Berentin",27.258,57.24,5799,"IR","Q4891283"],["Suza",26.781,56.063,5707,"IR","Q2620427"],["Dow Sari",28.425,57.943,5620,"IR","Q5849008"],["Nowdezh",27.546,57.445,5562,"IR","Q498111"],["Golzar",29.711,57.039,5445,"IR","Q4363066"],["Boluk",28.231,57.513,5304,"IR","Q5801573"],["Nosratabad",29.9,59.983,5238,"IR","Q2624956"],["Narmashir",28.951,58.695,5222,"IR","Q2420932"],["Sirik",26.517,57.103,5137,"IR","Q2620766"],["Rezvan",27.574,56.076,5066,"IR","Q5810970"],["Tirur",27.34,56.956,4871,"IR","Q6587039"],["Faryab",28.085,57.22,4863,"IR","Q588171"],["Band-e Zarak",27.067,56.976,4796,"IR","Q4854195"],["Kharaji",27.399,57.238,4712,"IR","Q5844085"],["Laft",26.896,55.758,4668,"IR","Q4819453"],["Abareq",29.338,57.92,4568,"IR","Q5805086"],["Bezenjan",29.247,56.697,4517,"IR","Q4359607"],["Espigan",29.126,58.359,4476,"IR","Q5820441"],["Zehuki",27.079,57.063,4451,"IR","Q5843391"],["Lalehzar",29.522,56.818,4429,"IR","Q5820818"],["Madha",25.284,56.333,4306,"OM","Q1883385"],["Borj-e Akram",28.818,58.861,4281,"IR","Q5778038"],["Tazian-e Pain",27.292,56.153,4263,"IR","Q5876534"],["Abu Musa",25.867,55.024,4213,"IR","Q4359113"],["Fadami",28.216,55.134,4097,"IR","Q5778231"],["Tabl",26.757,55.726,4069,"IR","Q5778074"],["Fin",27.632,55.885,3939,"IR","Q2620745"],["Deh Kahan",27.712,57.557,3787,"IR","Q5793811"],["Dehu",27.124,56.933,3693,"IR","Q5252368"],["Ramchah",26.91,56.136,3681,"IR","Q5813173"],["Rostaq",28.446,55.076,3598,"IR","Q5792889"],["Rameshk",26.831,58.807,3589,"IR","Q5796013"],["Balvard",29.42,56.049,3534,"IR","Q5846529"],["Hamashahr",29.646,55.811,3311,"IR","Q31072095"],["Chahchekor",27.279,56.347,3241,"IR","Q5845988"],["Do Boneh",28.574,57.792,3217,"IR","Q5831758"],["Dashtkar",29.907,56.663,3216,"IR","Q5847120"],["Borj-e Moaz",28.871,58.886,3095,"IR","Q5775483"],["Takht",27.495,56.648,3082,"IR","Q7678205"],["Kuhestak",26.802,57.027,3060,"IR","Q5866348"],["Kotij",26.723,59.136,3016,"IR","Q5801193"],["Hajji Khademi",27.231,57.045,2955,"IR","Q5640089"],["Poshteh-ye Isin",27.307,56.294,2951,"IR","Q5852479"],["Do Borji",28.307,55.192,2907,"IR","Q5791193"],["Hoseynabad-e Dehdar",28.46,57.745,2886,"IR","Q5829745"],["Mardehek",28.351,58.159,2870,"IR","Q4358747"],["Ravang",27.055,57.18,2800,"IR","Q5828561"],["Ziarat-e Ali",27.742,57.224,2679,"IR","Q2620749"],["Khabar",28.815,56.331,2634,"IR","Q5824305"],["Chah Esmail",27.367,56.903,2585,"IR","Q5067408"],["Chah-e Kichi",27.668,58.958,2582,"IR","Q5817148"],["Tiab",27.112,56.869,2572,"IR","Q5838524"],["Esfand, Sistan and Baluchestan",26.89,59.065,2430,"IR","Q5733923"],["Nezamshahr",28.916,58.55,2426,"IR","Q497039"],["Pey Posht",26.88,55.927,2423,"IR","Q5818029"],["Esmaili Sofla",28.253,57.59,2355,"IR","Q5842250"],["Turian",26.872,56.017,2339,"IR","Q5819152"],["Kordi Shirazi",27.786,57.393,2288,"IR","Q5809223"],["Chah Gharbal",27.098,57.351,2282,"IR","Q5067419"],["Baghabar",29.538,56.746,2263,"IR","Q5818588"],["Hoseynabad-e Alam Khan",28.925,58.83,2237,"IR","Q5790398"],["Basaidu",26.648,55.286,2228,"IR","Q893101"],["Jahad Abad-e Shahid Salari",28.339,57.913,2097,"IR","Q7382417"],["Siyah Banuiyeh",29.344,56.923,2060,"IR","Q5790395"],["Poshteh-ye Aliabad",27.202,57.064,2050,"IR","Q5844739"],["Chah-e Khoda Bakhsh",27.447,59.576,2043,"IR","Q5841496"],["Khvajeh Askar",29.117,58.264,2042,"IR","Q5816311"],["Bostanu",27.081,56,2030,"IR","Q4947664"],["Dom Shahr",27.27,57.013,1991,"IR","Q5289754"],["Tukahur",27.134,57.424,1967,"IR","Q5788464"],["Baziari",27.172,57.04,1934,"IR","Q4875183"],["Senderk",26.836,57.424,1915,"IR","Q2620740"],["Bajgan",27.619,57.469,1897,"IR","Q5787640"],["Hishin-e Sofla",28.633,57.95,1860,"IR","Q5792952"],["Kal Matali",27.144,55.797,1835,"IR","Q5846683"],["Kovarzin",26.796,55.83,1822,"IR","Q5554904"],["Tang-e Sarhe",26.548,59.931,1789,"IR","Q5821997"],["Bahal",25.691,57.858,1775,"IR","Q4842301"],["Fareghan",28.009,56.253,1773,"IR","Q2620409"],["Patal-e Isin",27.299,56.241,1767,"IR","Q5852478"],["Dayrestan",26.746,55.935,1Line truncated