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":[["Pica",-20.5,-69.333,9296,"CL","Q51102"],["Pozo Almonte",-20.26,-69.786,9277,"CL","Q51585"],["Yala",-24.117,-65.4,8544,"AR","Q6169692"],["Maimará",-23.626,-65.409,6906,"AR","Q3843526"],["San Antonio de los Cobres",-24.226,-66.319,6853,"AR","Q1563449"],["San Antonio",-24.367,-65.335,6729,"AR","Q2219283"],["María Elena",-22.35,-69.667,6457,"CL","Q16923"],["San Pedro de Atacama",-22.911,-68.2,5347,"CL","Q187893"],["Pampa Blanca",-24.533,-65.077,4907,"AR","Q3892905"],["La Caldera",-24.6,-65.383,4525,"AR","Q1016001"],["Camargo",-20.64,-65.21,4502,"BO","Q1642851"],["Susques",-23.401,-66.367,2974,"AR","Q1495796"],["Huacalera",-23.433,-65.35,2124,"AR","Q3787362"],["Volcán",-23.918,-65.465,1843,"AR","Q4016103"],["Purmamarca",-23.733,-65.483,1838,"AR","Q1025405"],["Uquía",-23.304,-65.356,1510,"AR","Q3552109"],["Pumahuasi",-22.283,-65.683,1499,"AR","Q3925556"],["Abdón Castro Tolay",-23.367,-66.067,1302,"AR","Q1748963"],["Cieneguillas",-22.1,-65.867,1047,"AR","Q3676596"],["Rinconada",-22.44,-66.167,1007,"AR","Q1817419"]]}