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":[["Mai Khao",8.181,98.299,13005,"TH","Q13015151"],["Chamai",8.172,99.659,12968,"TH","Q15199316"],["Kantang",7.407,99.515,12533,"TH","Q13025348"],["Don Sak",9.317,99.694,11934,"TH","Q15383135"],["Lang Suan",9.952,99.081,11250,"TH","Q6485624"],["Phang Nga",8.464,98.532,10412,"TH","Q204587"],["Takua Pa",8.866,98.341,8815,"TH","Q13025358"],["Karon",7.816,98.3,8147,"TH","Q15507021"],["Kamala",7.945,98.287,6898,"TH","Q14220126"]]}