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":[["Havelock North",-39.667,176.883,14900,"NZ","Q847452"],["Tokoroa",-38.22,175.872,14300,"NZ","Q112685"],["Te Awamutu",-38.008,175.325,13100,"NZ","Q992759"],["Te Puke",-37.783,176.317,9560,"NZ","Q1020244"],["Huntly",-37.558,175.158,8730,"NZ","Q907941"],["Matamata",-37.81,175.773,8460,"NZ","Q691739"],["Morrinsville",-37.65,175.517,8320,"NZ","Q826631"],["Kawerau",-38.085,176.7,7750,"NZ","Q1674085"],["Ngāruawāhia",-37.668,175.147,7740,"NZ","Q771298"],["Thames",-37.138,175.541,7680,"NZ","Q1691479"],["Beachlands",-36.883,175,7120,"NZ","Q2699069"],["Mount Maunganui",-37.643,176.185,6510,"NZ","Q833634"],["Whitianga",-36.833,175.7,6160,"NZ","Q1375183"],["Waihi",-37.393,175.832,5740,"NZ","Q498833"],["Katikati",-37.55,175.917,5420,"NZ","Q911377"],["Ngongotahā",-38.077,176.215,5210,"NZ","Q7022541"],["Ōpōtiki",-38.007,177.287,5210,"NZ","Q953871"],["Wairoa",-39.042,177.423,4870,"NZ","Q599594"],["Taumarunui",-38.883,175.262,4860,"NZ","Q305195"],["Te Kūiti",-38.335,175.165,4770,"NZ","Q999418"],["Te Aroha",-37.539,175.709,4670,"NZ","Q1026489"],["Waipukurau",-39.995,176.557,4610,"NZ","Q913122"],["Putāruru",-38.053,175.78,4530,"NZ","Q827402"],["Paeroa",-37.383,175.674,4510,"NZ","Q834005"],["Whangamatā",-37.21,175.874,4420,"NZ","Q917136"],["Pōkeno",-37.243,175.018,4020,"NZ","Q7208586"],["Ōmokoroa",-37.651,176.027,3780,"NZ","Q7090614"],["Tūrangi",-38.989,175.81,3650,"NZ","Q1026386"],["Ōhope",-37.972,177.057,3360,"NZ","Q2272022"],["Ōtorohanga",-38.188,175.211,3240,"NZ","Q1936464"],["Kihikihi",-38.033,175.35,3090,"NZ","Q6406020"],["Waihi Beach",-37.405,175.941,2720,"NZ","Q1520662"],["Bluff Hill",-39.483,176.915,2610,"NZ","Q96359472"],["Maraetai",-36.883,175.043,2500,"NZ","Q6754614"],["Clive",-39.583,176.917,2360,"NZ","Q580817"],["Te Kauwhata",-37.402,175.147,2310,"NZ","Q1526617"],["Waipawa",-39.942,176.588,2250,"NZ","Q1292354"],["Murupara",-38.456,176.705,1970,"NZ","Q999066"],["Coromandel",-36.754,175.504,1860,"NZ","Q1134464"],["Taihape",-39.677,175.797,1790,"NZ","Q151839"],["Edgecumbe",-37.983,176.833,1790,"NZ","Q151981"],["Tairua",-37.006,175.849,1560,"NZ","Q2388791"],["Ngatea",-37.28,175.493,1550,"NZ","Q513626"],["Ohakune",-39.419,175.399,1420,"NZ","Q2016369"],["Maketu",-37.759,176.453,1330,"NZ","Q1886343"],["Haumoana",-39.607,176.946,1290,"NZ","Q5682568"],["Pirongia",-37.993,175.202,1280,"NZ","Q2096828"],["Ahuriri",-39.484,176.905,1161,"NZ","Q65089258"],["Jerusalem",-39.551,175.078,1155,"NZ","Q2091539"],["Raetihi",-39.427,175.282,1140,"NZ","Q175993"],["Pauanui",-37.023,175.859,1130,"NZ","Q2058404"],["Hamurana",-38.036,176.241,1080,"NZ","Q25660579"]]}