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":[["Ingenio",27.918,-15.442,13453,"ES","Q23984831"],["Carrizal de Ingenio",27.912,-15.408,13403,"ES","Q5753686"],["Candelaria",28.355,-16.37,13156,"ES","Q24014660"],["Puerto de la Cruz",28.416,-16.55,12531,"ES","Q24014652"],["Cruce de Arinaga",27.875,-15.429,10970,"ES","Q5792267"],["Arinaga",27.858,-15.396,10402,"ES","Q5704140"],["Güímar",28.311,-16.413,10399,"ES","Q24014654"],["Gáldar",28.143,-15.654,9964,"ES","Q23986018"],["San Sebastián de la Gomera",28.09,-17.109,7886,"ES","Q16599730"],["Icod de los Vinos",28.367,-16.713,6966,"ES","Q23984816"],["Los Realejos",28.376,-16.586,6512,"ES","Q20018122"],["Agüimes",27.905,-15.446,5500,"ES","Q23990990"],["Villa de Valverde",27.81,-17.914,5338,"ES","Q6162473"],["La Matanza de Acentejo",28.452,-16.444,5296,"ES","Q23985038"],["Granadilla de Abona",28.125,-16.575,5086,"ES","Q24014657"],["Garachico",28.374,-16.764,4940,"ES","Q612815"],["Guía de Isora",28.211,-16.778,4853,"ES","Q24014655"],["Valle Gran Rey",28.117,-17.317,4830,"ES","Q584446"],["Arucas",28.117,-15.521,4768,"ES","Q23987609"],["Sardina del Norte",28.161,-15.708,4209,"ES","Q6121895"],["Guia",28.139,-15.633,4178,"ES","Q23986419"],["Tacoronte",28.481,-16.416,4070,"ES","Q23979426"],["Arafo",28.339,-16.417,3904,"ES","Q24014664"],["Melenara",27.988,-15.375,3719,"ES","Q28120991"],["Los Llanos de Aridane",28.659,-17.918,3680,"ES","Q24019145"],["Adeje",28.12,-16.722,3377,"ES","Q24014665"],["Castillo del Romeral",27.799,-15.461,3331,"ES","Q63198570"],["La Guancha",28.373,-16.65,3259,"ES","Q23985005"],["Agaete",28.1,-15.7,3236,"ES","Q24013887"],["Tegueste",28.523,-16.337,3161,"ES","Q23978786"],["Buenavista del Norte",28.371,-16.85,3061,"ES","Q24014661"],["Bajamar",28.554,-16.346,2887,"ES","Q804087"],["Santa Úrsula",28.423,-16.494,2860,"ES","Q24014649"],["Argual",28.655,-17.927,2678,"ES","Q5703775"],["La Victoria de Acentejo",28.433,-16.469,2640,"ES","Q24014645"],["Vega de San Mateo",28.009,-15.533,2597,"ES","Q23978693"],["Tazacorte",28.642,-17.932,2559,"ES","Q24019142"],["Playa del Hombre",27.996,-15.377,2396,"ES","Q121436539"],["Breña Alta",28.662,-17.785,2387,"ES","Q24019152"],["Los Sauces",28.804,-17.774,2380,"ES","Q16466452"],["Arguineguín",27.762,-15.684,2265,"ES","Q651257"],["Valle de los Nueve",27.991,-15.432,2032,"ES","Q6159184"],["El Pinar de El Hierro",27.704,-17.981,2016,"ES","Q120172156"],["San Nicolás",27.984,-15.78,1938,"ES","Q23980390"],["San Antonio",28.647,-17.769,1912,"ES","Q134120650"],["El Sauzal",28.467,-16.417,1886,"ES","Q5823284"],["Mirca",28.706,-17.767,1829,"ES","Q6018119"],["Santa Brígida",28.032,-15.504,1756,"ES","Q23979162"],["Frontera",27.756,-17.998,1720,"ES","Q24019149"],["Valverde",27.806,-17.916,1650,"ES","Q24019140"],["La Laguna",28.632,-17.908,1645,"ES","Q56570645"],["Valsequillo de Gran Canaria",27.986,-15.497,1573,"ES","Q24013873"],["Mogán",27.882,-15.723,1567,"ES","Q23984218"],["Puerto de Tazacorte",28.651,-17.945,1486,"ES","Q2889277"],["Firgas",28.106,-15.561,1477,"ES","Q23985861"],["El Puertillo",28.151,-15.533,1462,"ES","Q47456534"],["Teror",28.058,-15.546,1407,"ES","Q24013876"],["San José",28.644,-17.773,1376,"ES","Q24019150"],["Moya",28.101,-15.589,1303,"ES","Q23983299"],["Fasnia",28.239,-16.44,1220,"ES","Q24014659"],["Lomo Magullo",27.984,-15.459,1158,"ES","Q5558702"],["Benahoare",28.689,-17.768,1152,"ES","Q134966541"]]}