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":[["San José de Sisa",-6.614,-76.694,14639,"PE","Q11034041"],["Soritor",-6.139,-77.104,14310,"PE","Q27194589"],["Saposoa",-6.936,-76.772,12951,"PE","Q3344065"],["Castillo Grande",-9.278,-76.009,12438,"PE","Q137700501"],["Cayaltí",-6.892,-79.562,12257,"PE","Q116762746"],["Bellavista",-7.067,-76.585,12117,"PE","Q3344055"],["Salaverry",-8.221,-78.976,11751,"PE","Q7403730"],["Lamas",-6.422,-76.516,11165,"PE","Q3139869"],["Ascope",-7.714,-79.108,10560,"PE","Q3344017"],["Namballe District",-5.003,-79.088,10492,"PE","Q6319417"],["Picsi",-6.718,-79.77,9251,"PE","Q49278067"],["Morropón",-5.187,-79.971,8949,"PE","Q6024431"],["Picota",-6.921,-76.33,8376,"PE","Q3344087"],["Yungay",-9.139,-77.744,8000,"PE","Q919678"],["Chongoyape",-6.637,-79.394,7842,"PE","Q5767159"],["Lagunas",-5.227,-75.675,7215,"PE","Q27194615"],["Mochumí",-6.548,-79.864,7188,"PE","Q27194530"],["Uchiza",-8.459,-76.463,6997,"PE","Q20621865"],["Tabalosos",-6.388,-76.634,6642,"PE","Q27194591"],["Pucalá",-6.781,-79.611,6445,"PE","Q106098771"],["Llata",-9.55,-76.817,6027,"PE","Q3344864"],["Naranjos",-5.739,-77.504,5913,"PE","Q137684978"],["Oyotún",-6.85,-79.304,5735,"PE","Q27557971"],["Chicama",-7.845,-79.145,5692,"PE","Q5095918"],["Pomabamba",-8.82,-77.461,5667,"PE","Q3322611"],["Orellana",-6.912,-75.157,5432,"PE","Q7101524"],["Pedro Ruiz Gallo",-5.946,-77.977,5361,"PE","Q27194454"],["Quiruvilca",-8.001,-78.31,5181,"PE","Q16623750"],["Huallanca",-9.899,-76.941,5064,"PE","Q5903856"],["Illimo",-6.474,-79.855,5037,"PE","Q17073502"],["Chocopeu",-7.792,-79.223,5037,"PE","Q5103685"],["Mendoza",-6.394,-77.486,4989,"PE","Q3305659"],["Panao",-9.901,-75.998,4848,"PE","Q3344024"],["Mocupe",-6.991,-79.622,4818,"PE","Q116763392"],["Chazuta",-6.571,-76.138,4595,"PE","Q49277326"],["Huicungo",-7.319,-76.776,4548,"PE","Q33446632"],["Pulán",-6.739,-78.92,4492,"PE","Q16623296"],["Zaña",-6.923,-79.584,4253,"PE","Q6171043"],["Pueblo Nuevo",-7.189,-79.514,4014,"PE","Q7258457"],["San Miguel de Pallaques",-7.001,-78.849,3989,"PE","Q11002429"],["Naranjillo",-9.249,-75.994,3945,"PE","Q2884961"],["Huacrachuco",-8.607,-77.149,3945,"PE","Q3344853"],["Moro",-9.139,-78.183,3926,"PE","Q130326439"],["Juan Guerra",-6.584,-76.324,3745,"PE","Q137684968"],["Pomacochas",-5.826,-77.969,3739,"PE","Q27194453"],["Santa Lucía",-8.345,-76.386,3636,"PE","Q137715155"],["Pacanga",-7.171,-79.486,3593,"PE","Q7121871"],["Calzada",-6.03,-77.067,3550,"PE","Q137684952"],["Nuevo Progreso",-8.451,-76.326,3532,"PE","Q130388430"],["Yuracyacu",-5.931,-77.226,3428,"PE","Q137684991"],["Buenos Aires",-5.267,-79.968,3418,"PE","Q49277301"],["Tembladera",-7.252,-79.13,3238,"PE","Q13190929"],["Jesús",-7.249,-78.38,3209,"PE","Q131323854"],["Chaglla",-9.845,-75.903,3108,"PE","Q137700471"],["Hualgayoc",-6.764,-78.607,3101,"PE","Q130336639"],["La Peca",-5.611,-78.437,3081,"PE","Q11982882"],["Jepelacio",-6.108,-76.915,3081,"PE","Q49277624"],["Cacatachi",-6.462,-76.451,3019,"PE","Q137684951"],["Salas",-6.274,-79.605,3008,"PE","Q107851677"],["Molino",-9.91,-76.016,2931,"PE","Q137700498"],["Lonya Grande",-6.096,-78.423,2896,"PE","Q131451947"],["Cátac",-9.802,-77.431,2776,"PE","Q1050130"],["Ripán",-9.829,-76.803,2755,"PE","Q13190560"],["Sócota",-6.315,-78.7,2698,"PE","Q131323944"],["San Martín",-6.514,-76.741,2644,"PE","Q137684992"],["Yaután",-9.512,-77.997,2446,"PE","Q130316672"],["La Jalca",-6.486,-77.816,2390,"PE","Q3374297"],["Chavín de Huántar",-9.589,-77.178,2384,"PE","Q17449251"],["Luya",-6.165,-77.945,2358,"PE","Q13189994"],["Roque",-6.356,-76.775,2339,"PE","Q137684944"],["Jequetepeque",-7.338,-79.563,2313,"PE","Q15229508"],["Chiriaco",-5.161,-78.286,2278,"PE","Q11963566"],["Julcán",-8.05,-78.5,2260,"PE","Q3344059"],["Piscobamba",-8.883,-77.35,2252,"PE","Q3319310"],["Samanco",-9.262,-78.496,2233,"PE","Q130327433"],["Bigote",-5.319,-79.786,2205,"PE","Q124738480"],["Piscoyacu",-6.981,-76.77,2181,"PE","Q137684979"],["San Fernando",-5.901,-77.269,2173,"PE","Q137684964"],["Barranquita",-6.252,-76.033,2163,"PE","Q137684949"],["Huipoca",-8.979,-75.445,2102,"PE","Q107569131"],["Yacus",-9.986,-76.505,2094,"PE","Q137700499"],["Santiago de Cao",-7.959,-79.242,2090,"PE","Q15275280"],["Santa María del Valle",-9.863,-76.17,2064,"PE","Q137700457"],["Chilete",-7.221,-78.84,2023,"PE","Q131323858"],["Acomayo",-9.802,-76.071,2012,"PE","Q135194231"],["Lámud",-6.139,-77.952,1996,"PE","Q2475775"],["Codo del Pozuzo",-9.67,-75.463,1988,"PE","Q20024777"],["Yorongos",-6.139,-77.144,1962,"PE","Q137684990"],["Shamboyacu",-7.024,-76.132,1914,"PE","Q137684984"],["Tres Unidos",-6.806,-76.233,1911,"PE","Q137684989"],["Copallín",-5.675,-78.423,1907,"PE","Q11964086"],["Lluchubamba",-7.519,-77.969,1896,"PE","Q130336589"],["Nepeña",-9.172,-78.359,1873,"PE","Q15919329"],["Cabana",-8.396,-78.016,1858,"PE","Q3305646"],["Malacasí",-5.344,-79.858,1850,"PE","Q125712172"],["Magdalena",-7.251,-78.659,1846,"PE","Q130336591"],["Cajaruro",-5.737,-78.43,1829,"PE","Q49277314"],["Llamellín",-9.101,-77.017,1817,"PE","Q3317415"],["ChontalLine truncated