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":[["Adolfo Ruiz Cortines",25.704,-108.719,14623,"MX","Q18795368"],["Villa Juárez",27.128,-109.838,13153,"MX","Q20230192"],["El Fuerte",26.417,-108.617,12848,"MX","Q1324181"],["Ahome",25.92,-109.173,11851,"MX","Q18763683"],["Saucillo",28.032,-105.289,11004,"MX","Q2651188"],["Álamos",27.024,-108.935,10961,"MX","Q250531"],["San Juanito",27.97,-107.6,10741,"MX","Q4407379"],["Choix",26.71,-108.326,10328,"MX","Q1075824"],["Anáhuac",28.48,-106.744,10196,"MX","Q8202187"],["Lázaro Cárdenas",28.39,-105.624,9839,"MX","Q5795966"],["Etchojoa",26.911,-109.625,9831,"MX","Q1360265"],["Higuera de Zaragoza",25.969,-109.304,9464,"MX","Q15223986"],["Santa Bárbara",26.802,-105.82,9169,"MX","Q522152"],["La Junta",28.478,-107.332,8930,"MX","Q4251764"],["Marte R. Gómez",27.368,-109.886,8473,"MX","Q20145778"],["Bacobampo",26.983,-109.654,8267,"MX","Q20227740"],["San Buenaventura",29.842,-107.461,8253,"MX","Q584751"],["Vicente Guerrero",28.548,-107.486,7834,"MX","Q1997282"],["Cócorit",27.573,-109.959,7424,"MX","Q4227390"],["Constancia",25.962,-108.9,6775,"MX","Q61301231"],["La Reforma",25.082,-108.057,6596,"MX","Q20293692"],["Topolobampo",25.601,-109.052,6361,"MX","Q590052"],["Santa María del Oro",25.953,-105.365,6342,"MX","Q18419392"],["Guadalupe y Calvo",26.091,-106.961,6332,"MX","Q20143051"],["San Miguel Zapotitlán",25.948,-109.047,6253,"MX","Q18786306"],["Pericos",25.083,-107.7,6244,"MX","Q61298982"],["Mochicahui",25.952,-108.93,6055,"MX","Q20252823"],["Estación Naranjo",25.805,-108.482,6040,"MX","Q5843882"],["Mocorito",25.481,-107.92,5926,"MX","Q2116833"],["Santa Cruz de Rosales",28.187,-105.554,5866,"MX","Q7419450"],["San Blas",26.08,-108.761,5789,"MX","Q20288277"],["Sinaloa de Leyva",25.823,-108.223,5524,"MX","Q766307"],["Santa Catarina de Tepehuanes",25.34,-105.724,5490,"MX","Q20296265"],["Estación Bamoa",25.705,-108.314,5481,"MX","Q61299248"],["Angostura",25.367,-108.162,5457,"MX","Q542550"],["Valentín Gómez Farías",29.357,-107.738,5330,"MX","Q7911085"],["Benito Juárez",25.479,-108.162,5216,"MX","Q49863891"],["Bagojo Colectivo",25.874,-109.118,5039,"MX","Q20274670"],["Creel",27.753,-107.635,5026,"MX","Q1020789"],["La Unión",26.82,-109.608,4962,"MX","Q20255971"],["Naica",27.855,-105.493,4938,"MX","Q720980"],["El Carrizo",26.269,-109.037,4850,"MX","Q18788784"],["Moctezuma",29.806,-109.679,4787,"MX","Q1941734"],["Los Ángeles",25.603,-108.481,4783,"MX","Q61299964"],["Buaysiacobe",27.064,-109.687,4727,"MX","Q27949120"],["Valle de Ignacio Allende",26.94,-105.395,4608,"MX","Q616757"],["Adolfo López Mateos",26.227,-108.954,4482,"MX","Q5924812"],["San Francisco del Oro",26.865,-105.848,4427,"MX","Q38241853"],["Compuertas",25.84,-109.017,4229,"MX","Q61302033"],["Badiraguato",25.363,-107.551,4194,"MX","Q1552895"],["Providencia",27.511,-109.987,4146,"MX","Q27949082"],["El Burrión",25.539,-108.413,4042,"MX","Q20277477"],["La Trinidad",25.734,-108.484,4023,"MX","Q20294266"],["Primero de Mayo",25.741,-108.932,3767,"MX","Q61302381"],["Nuevo San Miguel",25.963,-109.054,3686,"MX","Q20257467"],["Yavaros",26.705,-109.519,3677,"MX","Q6169839"],["Sahuaripa",29.056,-109.233,3600,"MX","Q20131758"],["Ignacio Zaragoza",29.643,-107.764,3518,"MX","Q5992473"],["Corerepe",25.633,-108.717,3461,"MX","Q5577065"],["Alfonso G. Calderón",26.065,-109.02,3354,"MX","Q20274431"],["Bacame Nuevo",27.158,-109.591,3220,"MX","Q513027"],["Colonia Independencia",25.056,-107.914,3170,"MX","Q61301699"],["Santa Ana",29.032,-107.471,3130,"MX","Q49982216"],["Charay",26.02,-108.829,3041,"MX","Q61299573"],["Genaro Estrada",25.936,-108.396,3038,"MX","Q20140780"],["Tamazula",25.446,-108.455,3029,"MX","Q20286198"],["Quetchehueca",27.262,-109.949,3002,"MX","Q28052148"],["Ejido Mochis",25.827,-109.049,2984,"MX","Q20641708"],["Callejones de Guasavito",25.572,-108.445,2983,"MX","Q61299165"],["El Colorado",25.758,-109.316,2982,"MX","Q61302160"],["Paredón Colorado",27.078,-109.934,2945,"MX","Q28359047"],["Cumpas",29.994,-109.782,2934,"MX","Q3844664"],["Rosario",27.841,-109.368,2927,"MX","Q3844430"],["Bamoa",25.704,-108.346,2926,"MX","Q49859172"],["Basconcobe",26.953,-109.672,2913,"MX","Q28051646"],["León Fonseca",25.73,-108.344,2874,"MX","Q61299968"],["Tomochi",28.348,-107.846,2872,"MX","Q4460322"],["Nío",25.627,-108.398,2848,"MX","Q61299992"],["Sahuaral",26.927,-109.665,2817,"MX","Q61308338"],["Constitución",29.919,-106.792,2772,"MX","Q49983998"],["Témoris",27.275,-108.278,2746,"MX","Q7862211"],["Villa Matamoros",26.764,-105.582,2694,"MX","Q2000111"],["Las Grullas Margen Izquierda",25.854,-109.328,2688,"MX","Q61302305"],["El Varal",25.643,-108.425,2684,"MX","Q20131276"],["Pueblo Mayo",27.204,-109.555,2668,"MX","Q20297256"],["Cerrillos",25.878,-108.901,2662,"MX","Q20275367"],["Cohuibampo",25.943,-109.16,2629,"MX","Q61302098"],["El Cubilete",25.48,-108.52,2625,"MX","Q61299539"],["Alhuey",25.378,-108.13,2569,"MX","Q20134425"],["Ciénega de Nuestra Señora de Guadalupe",25.065,-106.329,2555,"MX","Q50001276"],["Balleza",26.954,-106.346,2456,"MX","Q15247333Line truncated