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":[["Port Antonio",18.176,-76.448,14816,"JM","Q162782"],["Saint Ann's Bay",18.435,-77.202,13671,"JM","Q630692"],["Caimanera",19.991,-75.152,11273,"CU","Q1025873"],["Morant Bay",17.881,-76.409,11121,"JM","Q429741"],["Lucea",18.451,-78.174,6002,"JM","Q1632220"],["Buff Bay",18.233,-76.65,4678,"JM","Q1001895"],["Negril",18.273,-78.346,4500,"JM","Q974239"],["Black River",18.026,-77.851,4261,"JM","Q880512"],["Port Royal",17.938,-76.841,3144,"JM","Q685357"],["Alligator Pond",17.871,-77.568,1826,"JM","Q4732659"]]}