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":[["Gore",-46.099,168.946,8230,"NZ","Q597409"],["Cromwell",-45.04,169.2,6480,"NZ","Q973355"],["Alexandra",-45.249,169.38,5790,"NZ","Q2058593"],["Balclutha",-46.242,169.733,4230,"NZ","Q804717"],["Lake Hayes Estate",-45.001,168.784,3690,"NZ","Q16893919"],["Te Anau",-45.415,167.716,2940,"NZ","Q1154973"],["Winton",-46.143,168.324,2470,"NZ","Q1721802"],["Milton",-46.117,169.967,2210,"NZ","Q203424"],["Bluff",-46.6,168.333,1880,"NZ","Q152028"],["Mataura",-46.183,168.867,1710,"NZ","Q1576018"],["Riverton / Aparima",-46.35,168.017,1700,"NZ","Q152152"],["Clyde",-45.191,169.327,1200,"NZ","Q1103586"]]}