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":[["Moguer",37.275,-6.837,14657,"ES","Q24013481"],["Punta Umbría",37.178,-6.957,14577,"ES","Q24013473"],["Cadaval",39.25,-9.1,14525,"PT","Q986021"],["Las Cabezas de San Juan",36.981,-5.941,14441,"ES","Q24014389"],["Bollullos par del Condado",37.336,-6.535,14263,"ES","Q23987938"],["Montijo",38.908,-6.618,14248,"ES","Q23983188"],["Sines",37.956,-8.87,14198,"PT","Q49290263"],["Beni Darkoul",35.057,-5.066,13984,"MA","Q4930998"],["Conil de la Frontera",36.275,-6.089,13864,"ES","Q24011947"],["Tarifa",36.014,-5.607,13788,"ES","Q31925095"],["Serpa",37.946,-7.598,13757,"PT","Q49289417"],["Pilas",37.301,-6.303,13642,"ES","Q23982756"],["Zaitoune",35.521,-5.341,13492,"MA","Q12214854"],["Gines",37.387,-6.078,13481,"ES","Q24014365"],["Oulad Ouchih",35.041,-5.936,13409,"MA","Q7110420"],["Moura",38.14,-7.449,13258,"PT","Q49286944"],["Rissana Chamalia",35.22,-5.946,12961,"MA","Q12214072"],["Souk Tolba",35.081,-5.84,12855,"MA","Q6802800"],["Had Al Gharbia",35.515,-5.93,12838,"MA","Q25454385"],["Brenes",37.55,-5.873,12722,"ES","Q24014391"],["Tizgane",35.414,-5.069,12292,"MA","Q7810515"],["Villafranca de los Barros",38.561,-6.34,12274,"ES","Q24009441"],["Valverde del Camino",37.572,-6.753,12112,"ES","Q24013462"],["Sanlúcar la Mayor",37.388,-6.203,11989,"ES","Q24014330"],["Villamartín",36.86,-5.645,11915,"ES","Q24011922"],["Oued Laou",35.45,-5.093,11690,"MA","Q3099183"],["Bni Garfett",35.257,-5.832,11311,"MA","Q4931000"],["Derdara",35.11,-5.287,11276,"MA","Q5261728"],["Gibraleón",37.376,-6.974,11085,"ES","Q24013493"],["La Puebla del Río",37.268,-6.063,11025,"ES","Q24014338"],["Al Oued",35.264,-5.23,10875,"MA","Q12194780"],["Mallalienne",35.626,-5.342,10874,"MA","Q12244892"],["Coria",39.984,-6.536,10842,"ES","Q23987066"],["La Puebla de Cazalla",37.222,-5.312,10762,"ES","Q24014340"],["Aljaraque",37.27,-7.023,10622,"ES","Q24013518"],["Bni Said",35.423,-5.122,10465,"MA","Q12199508"],["La Rinconada",37.486,-5.981,10455,"ES","Q24014336"],["Peñarroya-Pueblonuevo",38.299,-5.266,10286,"ES","Q24011699"],["Cantillana",37.605,-5.826,10128,"ES","Q24014386"],["Medina Sidonia",36.456,-5.925,10071,"ES","Q24011938"],["Bollullos de la Mitación",37.341,-6.139,10031,"ES","Q24014393"],["Olivenza",38.683,-7.1,10004,"ES","Q120170977"],["Alcalá del Río",37.518,-5.982,9909,"ES","Q23990884"],["Guillena",37.543,-6.056,9379,"ES","Q24014362"],["San Juan del Puerto",37.315,-6.841,9361,"ES","Q24013470"],["Olivares",37.418,-6.156,9317,"ES","Q24014347"],["Umbrete",37.369,-6.158,9214,"ES","Q24014324"],["Palomares del Río",37.322,-6.059,9103,"ES","Q24014344"],["Vejer de la Frontera",36.245,-5.97,9008,"ES","Q24011924"],["Miajadas",39.151,-5.908,8729,"ES","Q24010155"],["Souk Kdim",35.617,-5.501,8699,"MA","Q12217374"],["Zaaroura",35.241,-5.736,8615,"MA","Q8063409"],["Gelves",37.335,-6.026,8508,"ES","Q24014368"],["Santiponce",37.433,-6.036,8448,"ES","Q24014328"],["El Cuervo de Sevilla",36.851,-6.04,8163,"ES","Q120173627"],["Trujillo city",39.458,-5.882,8130,"ES","Q23979008"],["Tanaqoub",35.104,-5.459,8097,"MA","Q7682311"],["Jerez de los Caballeros",38.321,-6.773,8088,"ES","Q24008770"],["Talambote",35.251,-5.182,8007,"MA","Q12202006"],["Los Santos de Maimona",38.449,-6.384,7929,"ES","Q24009467"],["Valencina de la Concepción",37.416,-6.077,7862,"ES","Q24014322"],["Gerena",37.525,-6.158,7803,"ES","Q24014367"],["Rociana del Condado",37.308,-6.598,7801,"ES","Q120172264"],["Trigueros",37.383,-6.834,7774,"ES","Q24013464"],["Olvera",36.935,-5.268,7691,"ES","Q23982243"],["Espartinas",37.382,-6.126,7670,"ES","Q24014372"],["Saddina",35.62,-5.453,7619,"MA","Q12219919"],["Azuaga",38.258,-5.675,7470,"ES","Q23987655"],["Ain Lahsan",35.547,-5.555,7450,"MA","Q12229154"],["Talayuela",39.986,-5.61,7439,"ES","Q1442461"],["Villaverde del Río",37.589,-5.874,7386,"ES","Q24015558"],["Bni Arouss",35.306,-5.629,7337,"MA","Q4930992"],["Benacazón",37.353,-6.198,7312,"ES","Q24014394"],["Sebt Azzinate",35.655,-5.736,7265,"MA","Q12188202"],["Fuentes de Andalucía",37.463,-5.348,7141,"ES","Q24014370"],["Khemis Sahel",35.255,-6.08,7077,"MA","Q3196273"],["Lahyayda",35.092,-6.18,7062,"MA","Q28901442"],["Aracena",37.889,-6.562,7056,"ES","Q24013513"],["Burguillos",37.584,-5.967,7046,"ES","Q24014390"],["Trebujena",36.869,-6.177,6930,"ES","Q24011926"],["Benalup-Casas Viejas",36.343,-5.81,6929,"ES","Q120172491"],["Tassift",35.404,-5.12,6924,"MA","Q7687645"],["Montellano",36.995,-5.571,6867,"ES","Q24014350"],["Puerto Serrano",36.923,-5.547,6820,"ES","Q24011933"],["Villanueva del Ariscal",37.396,-6.141,6741,"ES","Q20600502"],["Fuente del Maestre",38.527,-6.448,6578,"ES","Q24008784"],["Paradas",37.29,-5.497,6571,"ES","Q2479473"],["Bornos",36.817,-5.746,6508,"ES","Q24011949"],["Hinojosa del Duque",38.501,-5.148,6476,"ES","Q24011713"],["Laghdir",35.029,-5.405,6454,"MA","Q6472089"],["Tazroute",35.263,-5.545,6438,"MA","Q12201972"],["Bni Harchen",35.502,-5.696,6423,"MA","Q12199460"],["Bghaghza",35.434,-5.646,6238,"MA","Q6532523"],["Guareña",38.859,-6.1,6217,"ES","Q23986395"],["Calamonte",38.Line truncated