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":[["Coquimatlán",19.201,-103.811,14892,"MX","Q494231"],["Tzintzuntzan",19.628,-101.579,14432,"MX","Q1574289"],["Coyuca de Benítez",17.012,-100.084,13866,"MX","Q5180109"],["Coalcomán de Vázquez Pallares",18.777,-103.16,13806,"MX","Q20236387"],["Ixtapa Zihuatanejo",17.661,-101.601,13806,"MX","Q2088709"],["Tecalitlán",19.471,-103.307,13243,"MX","Q20249052"],["La Mira",18.033,-102.326,12845,"MX","Q61265528"],["Villa Jiménez",19.922,-101.749,12426,"MX","Q6162203"],["Lombardía",19.158,-102.051,12309,"MX","Q3836534"],["Nahuatzen",19.655,-101.916,11799,"MX","Q20287996"],["La Resolana",19.604,-104.435,11543,"MX","Q20293708"],["Opopeo",19.411,-101.605,11304,"MX","Q6051640"],["Arteaga",18.359,-102.29,11046,"MX","Q20138816"],["Mineral de Angangueo",19.618,-100.286,10892,"MX","Q3844842"],["Buenos Aires",18.019,-102.282,10856,"MX","Q20146661"],["San José de Gracia",19.99,-103.022,10466,"MX","Q61265710"],["Tarecuato",19.843,-102.465,10448,"MX","Q107563757"],["Antúnez",19.016,-102.207,10271,"MX","Q15696809"],["Quesería",19.387,-103.574,9931,"MX","Q20254984"],["Galaxia Tarímbaro",19.762,-101.194,9764,"MX","Q20238853"],["Cuauhtémoc",19.329,-103.602,9746,"MX","Q5191888"],["Santo Tomás de los Plátanos",19.182,-100.258,9682,"MX","Q2466621"],["El Colomo",19.06,-104.258,9664,"MX","Q20237650"],["Comala",19.323,-103.759,9649,"MX","Q1113251"],["La Huacana",18.963,-101.807,9643,"MX","Q20290874"],["Unión de Tula",19.956,-104.268,9529,"MX","Q20291192"],["Álvaro Obregón",19.824,-101.04,9513,"MX","Q8076732"],["Queréndaro",19.81,-100.89,9473,"MX","Q20298047"],["Cerro de Ortega",18.752,-103.721,9309,"MX","Q49970563"],["Metrópolis II",19.756,-101.204,9127,"MX","Q20282085"],["Jesús del Monte",19.652,-101.153,8995,"MX","Q61268897"],["San José Ixtapa",17.703,-101.619,8988,"MX","Q6118998"],["San Sebastián del Sur",19.795,-103.478,8909,"MX","Q20248726"],["Huiramba",19.546,-101.438,8838,"MX","Q5904766"],["Villa Luvianos",18.92,-100.298,8704,"MX","Q20292696"],["Hacienda del Sol",19.763,-101.204,8608,"MX","Q61271526"],["Aguililla",18.734,-102.788,8505,"MX","Q20235801"],["El Súchil",17.227,-100.639,8382,"MX","Q5823453"],["Usmajac",19.875,-103.54,8317,"MX","Q20291439"],["Chilchota",19.846,-102.118,8280,"MX","Q20275622"],["Mazamitla",19.916,-103.021,8142,"MX","Q1020745"],["Tlapehuala",18.242,-100.535,8040,"MX","Q2651266"],["Nuevo Urecho",19.167,-101.867,7988,"MX","Q3888543"],["La Huerta",19.485,-104.643,7954,"MX","Q20245080"],["Tingüindín",19.739,-102.482,7788,"MX","Q27779660"],["Santa Clara de Valladares",19.639,-102.493,7785,"MX","Q61271142"],["Villa Madero",19.392,-101.279,7633,"MX","Q20292716"],["San Jerónimo de Juárez",17.136,-100.469,7494,"MX","Q5942529"],["Acuitzio del Canje",19.507,-101.338,7439,"MX","Q4677871"],["Coyuca de Catalán",18.326,-100.699,7276,"MX","Q9176109"],["Indaparapeo",19.788,-100.969,7228,"MX","Q20283810"],["San Nicolás Guadalupe",19.615,-100.031,7185,"MX","Q61246683"],["Taretan",19.333,-101.918,7117,"MX","Q20286584"],["Rincón de Nicolás Romero",19.415,-100.307,7025,"MX","Q20285479"],["San Jeronimito",17.568,-101.345,6993,"MX","Q20140693"],["Pedernales",19.141,-101.469,6967,"MX","Q16302759"],["San Patricio",19.225,-104.701,6958,"MX","Q7415085"],["El Coacoyul",17.638,-101.476,6905,"MX","Q5821456"],["Carapan",19.86,-102.037,6867,"MX","Q5748894"],["Tarímbaro",19.794,-101.177,6853,"MX","Q61271520"],["Puruarán",19.094,-101.522,6845,"MX","Q6093426"],["Angahuan",19.547,-102.226,6727,"MX","Q4065083"],["Huandacareo",19.989,-101.276,6689,"MX","Q15917404"],["Pihuamo",19.253,-103.38,6668,"MX","Q20295153"],["Capácuaro",19.546,-102.052,6581,"MX","Q20275220"],["Ajuchitlán del Progreso",18.154,-100.506,6537,"MX","Q2449516"],["Comachuén",19.571,-101.905,6213,"MX","Q20132934"],["Tlazazalca",19.971,-102.057,6202,"MX","Q3847160"],["Minatitlán",19.386,-104.05,6075,"MX","Q3254670"],["Caltzontzin",19.43,-102.006,6055,"MX","Q61269724"],["San Bartolo Cuitareo",19.651,-100.601,6049,"MX","Q20288122"],["El Oro de Hidalgo",19.803,-100.131,5970,"MX","Q27785387"],["Villa Purificación",19.719,-104.605,5965,"MX","Q20247924"],["Tapalpa",19.945,-103.758,5955,"MX","Q2270558"],["Calvario del Carmen",19.637,-100.011,5944,"MX","Q61246284"],["San Simón de la Laguna",19.293,-100.081,5894,"MX","Q20295547"],["Coahuayana de Hidalgo",18.698,-103.662,5886,"MX","Q61238445"],["Charo",19.747,-101.046,5807,"MX","Q20236293"],["San Ángel Zurumucapio",19.448,-101.889,5788,"MX","Q9073783"],["San Andrés Ixtlán",19.821,-103.471,5768,"MX","Q16628244"],["San Francisco Pichátaro",19.571,-101.807,5696,"MX","Q20289295"],["Cuanajo",19.485,-101.508,5644,"MX","Q20136884"],["Capula",19.674,-101.394,5624,"MX","Q17279980"],["Tungareo",19.908,-100.366,5484,"MX","Q20290463"],["Colorines",19.176,-100.216,5408,"MX","Q4228484"],["Santa Fe de la Laguna",19.673,-101.554,5393,"MX","Q4407877"],["Colonia Bayardo",18.946,-103.914,5393,"MX","Q49946845"],["Panindícuaro",19.983,-101.761,5267,"MX","Q20292554"],["San Luis de la Loma",17.271,-100.891,5184,"MLine truncated