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":[["Tepetlixpa",19.028,-98.818,14944,"MX","Q61235124"],["Santa Maria Zacatepec",19.122,-98.366,14823,"MX","Q20232066"],["San Bartolo Cuautlalpan",19.813,-99.009,14794,"MX","Q20135969"],["Tlalmanalco de Velázquez",19.208,-98.801,14786,"MX","Q2541937"],["San Marcos Huixtoco",19.295,-98.862,14776,"MX","Q61250055"],["La Trinidad",19.829,-99.083,14721,"MX","Q20139089"],["Tepoztlán",18.986,-99.101,14719,"MX","Q1020785"],["Tlaxcala de Xicoténcatl",19.315,-98.236,14692,"MX","Q689987"],["San Bartolo del Llano",19.591,-99.748,14599,"MX","Q20288136"],["Paso del Macho",18.972,-96.724,14582,"MX","Q20271230"],["Cuitláhuac",18.815,-96.722,14304,"MX","Q20222319"],["General Miguel Alemán",18.891,-96.797,14299,"MX","Q61267262"],["San Martín de las Pirámides",19.706,-98.836,14283,"MX","Q20146091"],["San Salvador Huixcolotla",18.921,-97.771,14268,"MX","Q61288117"],["San Juan de las Huertas",19.248,-99.758,14230,"MX","Q20292249"],["Zimatlán de Álvarez",16.866,-96.785,14226,"MX","Q20295485"],["Xicohtzinco",19.174,-98.233,14197,"MX","Q20224948"],["La Joya",18.891,-99.125,14126,"MX","Q5963961"],["San Pedro Pochutla",15.748,-96.467,14071,"MX","Q602726"],["San Pedro Tlaltizapan",19.2,-99.499,14063,"MX","Q20240290"],["Villa de El Carmen Tequexquitla",19.324,-97.656,14004,"MX","Q20224934"],["Acajete",19.104,-97.951,13922,"MX","Q4059354"],["Santa Cruz Atzcapotzaltongo",19.315,-99.658,13812,"MX","Q137574948"],["Cacalomacán",19.252,-99.706,13796,"MX","Q16302153"],["Santa Bárbara",19.501,-96.875,13738,"MX","Q20265289"],["San Miguel Coatlinchán",19.449,-98.872,13705,"MX","Q20146893"],["San Gabriel Chilac",18.326,-97.348,13687,"MX","Q2448820"],["San Marcos",16.796,-99.385,13650,"MX","Q1999588"],["Santiago Miltepec",19.307,-99.651,13546,"MX","Q137578131"],["San Miguel Tocuila",19.523,-98.913,13442,"MX","Q6119427"],["Cruz Grande",16.723,-99.129,13440,"MX","Q5190309"],["Juan Morales",18.811,-98.922,13431,"MX","Q20236053"],["Tepalcingo",18.596,-98.843,13403,"MX","Q20236581"],["Nanacamilpa",19.492,-98.535,13401,"MX","Q20487448"],["San Pedro de los Baños",19.66,-99.83,13400,"MX","Q20148765"],["San Diego de los Padres Cuexcontitlán",19.366,-99.606,13381,"MX","Q61236094"],["San Felipe Tlalmimilolpan",19.238,-99.643,13310,"MX","Q61236025"],["San Andrés Mixquic",19.225,-98.964,13310,"MX","Q937097"],["San Buenaventura Nealtican",19.049,-98.426,13243,"MX","Q20231059"],["Ángel R. Cabada",18.597,-95.445,13225,"MX","Q8076888"],["Maltrata",18.81,-97.277,13206,"MX","Q20144331"],["Santa María Jalapa del Marqués",16.44,-95.443,13148,"MX","Q5817708"],["San Juan Tezompa",19.206,-98.959,13127,"MX","Q6119173"],["San Blas Atempa",16.326,-95.228,13117,"MX","Q61274066"],["Calimaya de Díaz González",19.162,-99.618,13038,"MX","Q20237286"],["San Pedro Apatlaco",18.793,-98.96,13032,"MX","Q20236526"],["Tenancingo",19.147,-98.202,12892,"MX","Q20224882"],["Villa Cuauhtémoc",19.416,-99.559,12863,"MX","Q4111401"],["Ex Rancho San Dimas",19.174,-99.565,12858,"MX","Q20238431"],["Casa Blanca",19.042,-98.119,12841,"MX","Q20229170"],["Jaltenco",19.753,-99.094,12785,"MX","Q27769275"],["San Bartolomé Tlaltelulco",19.228,-99.63,12783,"MX","Q20288201"],["Santiago Yancuitlalpan",19.386,-99.305,12776,"MX","Q61247990"],["Santiago Tianguistenco",19.181,-99.469,12752,"MX","Q2449561"],["Putla Villa de Guerrero",17.024,-97.927,12729,"MX","Q20266141"],["Jilotepec de Molina Enríquez",19.952,-99.533,12671,"MX","Q20149297"],["Chinautla",19.82,-97.389,12666,"MX","Q20261553"],["San Andrés Ahuashuatepec",19.379,-98.103,12628,"MX","Q61287799"],["Petaquillas",17.486,-99.456,12544,"MX","Q20208950"],["San Pablo Villa de Mitla",16.921,-96.362,12511,"MX","Q2396153"],["Quecholac",18.957,-97.661,12505,"MX","Q20231373"],["Chichihualco",17.657,-99.676,12483,"MX","Q2889052"],["Huautla de Jiménez",18.131,-96.841,12482,"MX","Q20145546"],["Atlautla de Victoria",19.027,-98.781,12477,"MX","Q20237003"],["San Francisco Telixtlahuaca",17.297,-96.905,12474,"MX","Q20138322"],["San José las Palmas",19.368,-98.934,12466,"MX","Q61246395"],["Villa Sola de Vega",16.514,-96.978,12425,"MX","Q7930501"],["Paseos de San Juan",19.782,-99.017,12409,"MX","Q20293118"],["San Cristóbal Tecolit",19.271,-99.744,12404,"MX","Q137635105"],["Arbolada los Sauces",19.816,-99.044,12388,"MX","Q20274541"],["San Luis Huexotla",19.479,-98.872,12327,"MX","Q137434859"],["Citara",19.885,-99.21,12303,"MX","Q20237451"],["Tierra Colorada",17.166,-99.529,12262,"MX","Q4467246"],["Tetela del Volcán",18.893,-98.73,12162,"MX","Q2652196"],["Progreso Industrial",19.637,-99.357,12136,"MX","Q20297164"],["San Miguel Xoxtla",19.168,-98.308,12060,"MX","Q20231822"],["Córdoba",18.905,-96.965,12047,"MX","Q61256062"],["San Sebastián Chimalpa",19.382,-98.953,11950,"MX","Q61246392"],["Jorge Jiménez Cantú",19.31,-98.847,11915,"MX","Q20149707"],["Chocaman",19.012,-97.033,11868,"MX","Q20221724"],["Santiago Cuautlalpan",19.431,-98.901,11849,"MX","Q4407944"],["Xaloztoc",19.404,-98.049,11838,"MX","Q61287948"],["Guadalupe Victoria",19.291Line truncated