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":[["Selfoss",63.932,-21,9812,"IS","Q192898"],["Akranes",64.317,-22.1,8285,"IS","Q107398"],["Njarðvík",63.981,-22.514,5287,"IS","Q3342356"],["Seltjarnarnes",64.154,-22,4585,"IS","Q214057"],["Borgarbyggð",64.617,-21.7,4102,"IS","Q893528"],["Hveragerðisbær",64,-21.2,3300,"IS","Q1025701"],["Hveragerði",64.001,-21.191,2564,"IS","Q19850332"],["Álftanes",64.107,-22.016,2484,"IS","Q139045"],["Borgarnes",64.543,-21.913,2181,"IS","Q276537"],["Sandgerði",64.037,-22.708,1779,"IS","Q1019466"],["Snæfellsbær",64.898,-23.705,1669,"IS","Q2296228"],["Þorlákshöfn",63.85,-21.367,1651,"IS","Q335596"],["Garður",64.07,-22.656,1595,"IS","Q16964668"],["Bláskógabyggð",64.276,-20.401,1362,"IS","Q886944"],["Vogar",63.982,-22.385,1354,"IS","Q1019448"],["Stykkishólmur",64.973,-22.81,1285,"IS","Q1019452"],["Grindavík",63.841,-22.437,1246,"IS","Q472822"],["Hvolsvöllur",63.75,-20.234,1080,"IS","Q938046"]]}