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":[["Crucita Parish",-0.868,-80.539,14050,"EC","Q4242325"],["Querecotillo",-4.84,-80.65,13173,"PE","Q27194519"],["Máncora",-4.107,-81.047,12899,"PE","Q529807"],["Puerto López",-1.559,-80.811,12598,"EC","Q5763389"],["Tosagua",-0.786,-80.234,11317,"EC","Q5835883"],["San Vicente",-0.591,-80.409,10404,"EC","Q13190692"],["Narcisa de Jesús",-1.917,-80.012,10010,"EC","Q7046025"],["Las Lomas",-4.658,-80.243,9646,"PE","Q27194504"],["Caleta Cruz",-3.638,-80.59,9015,"PE","Q27124119"],["El Alto",-4.268,-81.218,8016,"PE","Q5820826"],["Zorritos",-3.681,-80.68,7363,"PE","Q3317432"],["Sucre",-1.279,-80.419,6607,"EC","Q7633158"],["Alamor",-4.018,-80.02,5981,"EC","Q4705994"],["Salitral",-4.857,-80.681,5784,"PE","Q16627960"],["Jama",-0.203,-80.263,5259,"EC","Q26840127"],["La Huaca",-4.91,-80.962,4387,"PE","Q49277807"],["Junín",-0.928,-80.206,4320,"EC","Q13189564"],["Puerto Pizarro",-3.502,-80.393,4000,"PE","Q7258584"],["Pampas de Hospital",-3.693,-80.439,2648,"PE","Q98551644"],["San Jacinto",-3.642,-80.449,2628,"PE","Q27124085"],["Aguas Verdes",-3.481,-80.247,2057,"PE","Q5660311"],["Acapulco",-3.738,-80.768,2055,"PE","Q2057137"],["San Juan de la Virgen",-3.628,-80.433,1559,"PE","Q134418675"],["Angostura",-4.945,-80.379,1470,"PE","Q133897281"],["Tangarará",-4.886,-80.825,1377,"PE","Q27667689"]]}