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":[["Naivasha",-0.717,36.433,14563,"KE","Q1007647"],["Arash",-2.4,35.5,14024,"TZ","Q4784333"],["Dareda",-4.217,35.55,13716,"TZ","Q5222492"],["King'ori",-3.283,36.983,13034,"TZ","Q6410831"],["Kisongo",-3.378,36.522,12519,"TZ","Q6416846"],["Namanga",-2.55,36.767,12340,"TZ","Q6961283"],["Msambweni",-4.467,39.467,11985,"KE","Q1951532"],["Poli",-3.333,36.8,11399,"TZ","Q6634647"],["Holili",-3.38,37.641,10932,"TZ","Q24236421"],["Ngorongoro",-3.25,35.517,10293,"TZ","Q7192944"],["Nkoaranga",-3.333,36.8,10229,"TZ","Q7042588"],["Kwale",-4.174,39.46,10063,"KE","Q635215"],["Mbuguni",-3.567,36.95,10026,"TZ","Q6799799"],["Lolkisale",-3.767,36.417,9466,"TZ","Q6668932"],["Themi",-3.517,36.767,9204,"TZ","Q7193046"],["Nkoanrua",-3.35,36.767,8679,"TZ","Q7193000"],["Suji",-4.367,37.867,4681,"TZ","Q7635658"],["Longido",-2.732,36.698,3948,"TZ","Q6673922"],["Kilomeni",-3.767,37.65,3909,"TZ","Q6408126"],["Naro Moru",-0.167,37.017,2643,"KE","Q2743647"]]}