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":[["Conkal",21.073,-89.521,13944,"MX","Q4230853"],["Isla Mujeres",21.257,-86.746,13174,"MX","Q20238448"],["Muna",20.485,-89.713,12553,"MX","Q1997424"],["Espita",21.013,-88.305,12320,"MX","Q2448265"],["Akil",20.266,-89.348,12022,"MX","Q8192621"],["Acanceh",20.813,-89.454,11917,"MX","Q8186545"],["Tixkokob",21.002,-89.394,11904,"MX","Q1999963"],["Cholul",21.043,-89.556,11745,"MX","Q5661507"],["Tekit",20.532,-89.331,11015,"MX","Q5649946"],["Tzucacab",20.071,-89.051,10879,"MX","Q6154436"],["Tecoh",20.742,-89.474,10017,"MX","Q4453846"],["Seyé",20.837,-89.372,9141,"MX","Q6126568"],["Caucel",21.015,-89.707,8823,"MX","Q5758884"],["Kantunilkín",21.101,-87.487,8135,"MX","Q1709319"],["Buctzotz",21.202,-88.793,7973,"MX","Q8253334"],["Chicxulub Puerto",21.294,-89.608,7591,"MX","Q387107"],["Dzidzantún",21.246,-89.043,7530,"MX","Q5319753"],["Cacalchén",20.982,-89.228,7460,"MX","Q4208884"],["Temozón",20.804,-88.203,7365,"MX","Q6140944"],["Campestre Flamboyanes",21.21,-89.658,7361,"MX","Q5745614"],["Kinchil",20.916,-89.947,7190,"MX","Q5478261"],["Leona Vicario",20.988,-87.205,7028,"MX","Q4258726"],["Teabo",20.4,-89.284,6890,"MX","Q6139522"],["Homun",20.739,-89.285,6810,"MX","Q5901470"],["Ejido Isla Mujeres",21.225,-86.854,6668,"MX","Q20295609"],["Chichimila",20.631,-88.217,6540,"MX","Q5766039"],["Pisté de Chichén Itzá",20.698,-88.589,6496,"MX","Q952675"],["Temax",21.15,-88.939,6472,"MX","Q20245531"],["Tamchén",20.875,-89.932,6307,"MX","Q6138509"],["Dzilam González",21.28,-88.929,6169,"MX","Q5815455"],["Dzan",20.389,-89.469,6001,"MX","Q5815421"],["Sotuta",20.596,-89.006,5758,"MX","Q7564040"],["Tixpéhual",20.978,-89.442,5690,"MX","Q5401058"],["Samahil",20.886,-89.889,5631,"MX","Q6118011"],["Komchén",21.104,-89.662,5598,"MX","Q1770500"],["X-Can",20.858,-87.668,5530,"MX","Q6168428"],["Opichén",20.55,-89.857,5412,"MX","Q6051610"],["Panabá",21.296,-88.27,5318,"MX","Q4343816"],["Tihosuco",20.197,-88.374,5228,"MX","Q4458787"],["Huhí",20.725,-89.161,5194,"MX","Q5904717"],["Hoctun",20.864,-89.202,5151,"MX","Q5900829"],["Chablekal",21.096,-89.577,5034,"MX","Q5763925"],["Baca",21.109,-89.399,4997,"MX","Q5716000"],["Tahdziú",20.202,-88.943,4963,"MX","Q6138014"],["Popolá",20.732,-88.238,4960,"MX","Q5551252"],["Chelem",21.27,-89.74,4862,"MX","Q5765543"],["Chocholá",20.75,-89.831,4847,"MX","Q5767006"],["Maní",20.386,-89.39,4715,"MX","Q957947"],["Tetiz",20.962,-89.934,4550,"MX","Q6143606"],["Chicxulub Pueblo",21.136,-89.517,4463,"MX","Q8345334"],["San José Tzal",20.825,-89.661,4428,"MX","Q6119026"],["Hocabá",20.816,-89.245,4397,"MX","Q20283302"],["Cansahcab",21.157,-89.102,4293,"MX","Q5747629"],["Bolonchén de Rejón",20.004,-89.748,4234,"MX","Q4090865"],["Cuzamá",20.741,-89.316,4208,"MX","Q5408098"],["Timucuy",20.811,-89.513,4204,"MX","Q6147093"],["Tixcacalcupul",20.537,-88.27,4174,"MX","Q6147638"],["Kimbilá",20.933,-89.125,4130,"MX","Q2887461"],["Ixil",21.152,-89.482,4115,"MX","Q5923627"],["Sacalum",20.495,-89.59,3999,"MX","Q6116629"],["Mayapán",20.468,-89.214,3956,"MX","Q6007638"],["Sucilá",21.154,-88.314,3855,"MX","Q6135047"],["Texán de Palomeque",20.933,-89.829,3812,"MX","Q6143768"],["Santa Elena",20.325,-89.643,3767,"MX","Q12219348"],["Tahmek",20.874,-89.256,3654,"MX","Q6138021"],["Tepich",20.241,-88.256,3585,"MX","Q932614"],["Kanxoc",20.617,-88.099,3579,"MX","Q5957986"],["Kantunil",20.796,-89.035,3573,"MX","Q5957979"],["Hunukú",20.852,-88.089,3549,"MX","Q5905309"],["Telchac Pueblo",21.202,-89.272,3517,"MX","Q10751880"],["Popolnah",20.993,-87.564,3504,"MX","Q6082653"],["Dzemul",21.21,-89.309,3467,"MX","Q921976"],["Uayma",20.717,-88.317,3460,"MX","Q1999633"],["Xocchel",20.833,-89.183,3447,"MX","Q6169295"],["Cenotillo",20.966,-88.603,3328,"MX","Q8343446"],["Kancab",20.194,-89.346,3327,"MX","Q5957853"],["Yaxcabá",20.548,-88.827,3310,"MX","Q6169846"],["Chumayel",20.428,-89.301,3237,"MX","Q5768491"],["Dzitás",20.841,-88.529,3204,"MX","Q5815469"],["Yaxkukul",21.062,-89.419,3197,"MX","Q6169864"],["Mama",20.477,-89.365,3189,"MX","Q5406707"],["Tekantó",21.011,-89.106,3143,"MX","Q6140337"],["Ucú",21.031,-89.747,3119,"MX","Q6155214"],["Yalcobá",20.791,-88.038,3052,"MX","Q9096858"],["Chikindzonot",20.333,-88.486,3019,"MX","Q5766222"],["Tunkás",20.902,-88.751,3004,"MX","Q4465535"],["Kaua",20.619,-88.416,2879,"MX","Q5958688"],["Chuburná Puerto",21.252,-89.816,2874,"MX","Q5768370"],["Chacsinkín",20.172,-89.016,2860,"MX","Q5764020"],["Xocén",20.599,-88.164,2816,"MX","Q6169318"],["Tixméhuac",20.235,-89.108,2786,"MX","Q6147660"],["Tekom",20.602,-88.264,2785,"MX","Q6140354"],["Calotmul",21.019,-88.177,2764,"MX","Q5741505"],["Tekal de Venegas",21.012,-88.948,2645,"MX","Q5855632"],["Xalaú",20.678,-88.007,2631,"MX","Q6169067"],["Pustunich",20.366,-89.51,2624,"MX","Q6093448"],["Tixcacaltuyub",20.493,-88.918,2609,"MX","Q6147641"],["Uayalceh",20.694,-89.594,2608,"MX","Q5689144"],["Muxupip",21.042,-89.33,2590,"MX","Q6034897"],["Chan Cenote",20.991,-87.785,2587,"MX","Q4507017"],["Sinanché",21.225,-89.185,2586,"MX","Line truncated