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":[["Bang Rachan",14.886,100.323,14577,"TH","Q16363550"],["Mueang Pak",14.732,102.028,14272,"TH","Q13025407"],["Bang Kadi",13.984,100.551,13987,"TH","Q99167978"],["Ban Bang Muang",13.827,100.386,13786,"TH","Q13025240"],["Tha Chang",12.638,102.088,13785,"TH","Q28779269"],["Ang Thong",14.593,100.457,13277,"TH","Q530241"],["Song Phi Nong",14.231,100.039,12926,"TH","Q15217918"],["Kaeng Khoi",14.586,100.997,12752,"TH","Q15225134"],["Chanthanimit",12.603,102.124,12504,"TH","Q28779232"],["Makham Khu",12.842,101.115,11228,"TH","Q13025259"],["Sam Khwai Phueak",13.828,100.104,11139,"TH","Q72922645"],["Khlung",12.452,102.227,11073,"TH","Q15980680"],["Phanat Nikhom",13.446,101.184,11032,"TH","Q13025381"],["Chao Chet",14.312,100.374,10782,"TH","Q15980709"],["Bang Yai",13.837,100.359,10767,"TH","Q13025232"],["Khlong Yong",13.882,100.288,10716,"TH","Q111340098"],["Trat",12.242,102.515,10413,"TH","Q1025964"],["Prakhon Chai",14.609,103.082,10404,"TH","Q15380573"],["Nikhom Phatthana",12.829,101.205,10397,"TH","Q15995307"],["Bang Sai",14.213,100.498,10245,"TH","Q110821920"],["Phra Pradaeng",13.659,100.533,10190,"TH","Q15176892"],["Tha Mai",12.62,102.011,10185,"TH","Q15980679"],["Phak Hai",14.463,100.367,9905,"TH","Q28737739"],["Ban Krot",14.312,100.601,9471,"TH","Q87404885"],["Khlong Yai",11.776,102.886,4913,"TH","Q6401844"],["Sena",14.327,100.405,4060,"TH","Q15980702"],["Bokor Hill Station",10.63,104.017,4000,"KH","Q559155"],["Kampong Phluk Commune",13.211,103.974,3707,"KH","Q6359305"]]}