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":[["Simojovel de Allende",17.141,-92.715,14618,"MX","Q3961098"],["Benito Juárez",17.833,-92.53,14400,"MX","Q4083805"],["Bochil",16.996,-92.89,14200,"MX","Q20274882"],["Oluta",17.928,-94.897,13995,"MX","Q20270867"],["Chinameca",18.025,-94.675,13974,"MX","Q20269033"],["Unión Hidalgo",16.472,-94.83,13949,"MX","Q20291216"],["Balancán",17.8,-91.534,13944,"MX","Q2075650"],["Pueblo Nuevo Solistahuacán",17.158,-92.897,12805,"MX","Q62107142"],["Nueva Palestina",16.817,-91.261,11984,"MX","Q20256110"],["El Parral",16.366,-93.007,11949,"MX","Q49927555"],["Jaltenango de la Paz",15.873,-92.725,11875,"MX","Q3806376"],["San Fernando",16.872,-93.206,11867,"MX","Q27768095"],["Macultepec",18.143,-92.859,11848,"MX","Q6725827"],["Jiquipilas",16.668,-93.65,11596,"MX","Q27769290"],["Villa Corzo",16.185,-93.268,11556,"MX","Q5770794"],["Rayón",17.201,-93.011,11500,"MX","Q117485"],["Candelaria",18.183,-91.046,11121,"MX","Q28056717"],["La Trinitaria",16.119,-92.05,11055,"MX","Q27769368"],["Chahuites",16.283,-94.2,11054,"MX","Q3894783"],["Nacajuca",18.169,-93.02,10956,"MX","Q4312524"],["Tecolutilla",18.283,-93.334,10734,"MX","Q5412061"],["Altamirano",16.736,-92.039,10618,"MX","Q1168902"],["Zaragoza",17.953,-94.641,10459,"MX","Q9073483"],["Ixhuatlán del Sureste",18.021,-94.388,10432,"MX","Q61255138"],["Oxchuc",16.786,-92.343,10356,"MX","Q27768301"],["Oteapan",18.002,-94.668,10343,"MX","Q20270938"],["Pajapan",18.263,-94.692,10156,"MX","Q20270968"],["Parrilla",17.912,-92.918,10036,"MX","Q20228301"],["Benemérito de las Américas",16.516,-90.653,10026,"MX","Q20274829"],["San Pedro Buenavista",16.136,-93.166,9922,"MX","Q10877220"],["Sanchez Magallanes",18.294,-93.863,9787,"MX","Q4407970"],["Tila",17.301,-92.426,9609,"MX","Q27767714"],["Puerto Esmeralda",18.148,-94.518,9585,"MX","Q20271753"],["Chanal",16.66,-92.26,9533,"MX","Q20211392"],["Seybaplaya",19.639,-90.688,9515,"MX","Q4413098"],["Vicente Guerrero",18.389,-92.895,9354,"MX","Q2886601"],["Bosque de Saloya",18.016,-92.958,9160,"MX","Q20145182"],["Chilón",17.105,-92.272,8982,"MX","Q27772401"],["Lerma",19.806,-90.601,8971,"MX","Q22941041"],["Texistepec",17.895,-94.817,8969,"MX","Q20273416"],["Pantelhó",17.007,-92.47,8629,"MX","Q51884315"],["Tatahuicapan",18.246,-94.761,8611,"MX","Q20273165"],["La Venta",18.099,-94.048,8539,"MX","Q20138713"],["San Juan Cancuc",16.892,-92.372,8477,"MX","Q20275169"],["Tapilula",17.248,-93.016,8421,"MX","Q27767794"],["La Concordia",16.117,-92.688,8389,"MX","Q2007922"],["Medellín y Madero 2.ª Sección",18.111,-92.854,8336,"MX","Q61304494"],["Huehuetán",15.019,-92.384,8334,"MX","Q27769222"],["Cuichapa",17.939,-94.28,8239,"MX","Q20138157"],["Río Seco y Montaña segunda sección",17.977,-93.385,8223,"MX","Q61274126"],["Villa Comaltitlán",15.212,-92.576,8222,"MX","Q61744774"],["San Pedro Tapanatepec",16.371,-94.193,8154,"MX","Q20235381"],["Acacoyagua",15.341,-92.675,8092,"MX","Q27775065"],["Raudales Malpaso",17.189,-93.605,7968,"MX","Q4390906"],["Estación Chontalpa",17.664,-93.481,7905,"MX","Q6162154"],["Santo Domingo Zanatepec",16.482,-94.354,7900,"MX","Q2449180"],["Juárez",17.608,-93.193,7809,"MX","Q5957239"],["La Selva",18.023,-92.963,7755,"MX","Q20135979"],["Río Viejo 1.ª Sección",17.939,-92.98,7750,"MX","Q61304736"],["Sabancuy",18.975,-91.181,7744,"MX","Q20247219"],["Tacotalpa",17.592,-92.826,7710,"MX","Q4450198"],["Chichicapa",18.261,-93.182,7700,"MX","Q61273625"],["Isla Aguada",18.783,-91.483,7620,"MX","Q20258362"],["Mundo Nuevo",18.088,-94.389,7569,"MX","Q61260985"],["Petalcingo",17.227,-92.415,7417,"MX","Q20294388"],["Coacotla",17.936,-94.667,7408,"MX","Q20269057"],["Jonuta",18.091,-92.139,7387,"MX","Q539283"],["Ciudad Maya",16.739,-93.316,7354,"MX","Q20275845"],["Copainalá",17.094,-93.211,7125,"MX","Q27769953"],["Chicomuselo",15.745,-92.283,7083,"MX","Q27772384"],["El Naranjito",18.001,-94.606,6957,"MX","Q61258728"],["Rincón Chamula",17.203,-92.932,6732,"MX","Q20285388"],["Bachajón",17.037,-92.189,6677,"MX","Q5716060"],["Belén",17.789,-92.614,6512,"MX","Q20227628"],["Ixtapa",16.804,-92.906,6481,"MX","Q27769253"],["Tzimol",16.184,-92.188,6441,"MX","Q25425535"],["Huapinol",17.923,-92.911,6421,"MX","Q20145468"],["Ayapa",18.224,-93.112,6377,"MX","Q20261220"],["Coronel Gregorio Méndez Magaña",18.022,-93.497,6373,"MX","Q61303990"],["Quintín Arauz",18.367,-93.214,6334,"MX","Q61272943"],["Ixtacomitán 1.ª Sección",17.961,-92.965,6320,"MX","Q61304585"],["Soconusco",17.963,-94.881,6317,"MX","Q20273058"],["China",19.769,-90.495,6295,"MX","Q20275642"],["Acapetahua",15.283,-92.689,6247,"MX","Q20250580"],["Salto de Agua",17.557,-92.333,6181,"MX","Q27768065"],["El Cedro (Tabasco)",18.043,-92.942,6165,"MX","Q111243585"],["El Cedro",18.043,-92.943,6165,"MX","Q61272984"],["Santo Domingo Ingenio",16.587,-94.767,6130,"MX","Q3891830"],["Frontera Corozal",16.815,-90.884,6111,"MX","Q2424844"],["Miguel Hidalgo",18.257,-93.311,6041,"MX","Q20228215"],["Medellín y Pigua 3.ª Sección",18.061,-92.881,5946,"MX","Q61304570"],["Amatenango del ValleLine truncated