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":[["Adrasmon",40.646,69.99,14933,"TJ","Q2470205"],["Guliston",40.265,69.789,14700,"TJ","Q615274"],["Qazyqurt",41.76,69.388,14563,"KZ","Q4208478"],["Dashtobod",40.127,68.494,14247,"UZ","Q3560309"],["Istiqlol",40.569,69.64,14200,"TJ","Q2391218"],["Buston",40.522,69.331,13600,"TJ","Q4148725"],["Myrzakent",40.665,68.54,13339,"KZ","Q4309425"],["Urtaaul",41.187,69.145,13271,"UZ","Q4477307"],["Zhanabazar",41.926,69.624,12894,"KZ","Q12544143"],["Dustobod",40.856,68.928,12401,"UZ","Q6131469"],["Shirin",40.227,69.134,12298,"UZ","Q500208"],["Krasnogorsk",41.154,69.67,12000,"UZ","Q4238469"],["Dustlik",40.525,68.036,11903,"UZ","Q892038"],["Yangirabad",40.033,65.967,11364,"UZ","Q6169765"],["Derbisek",41.561,69.338,11234,"KZ","Q15845737"],["Akkurgan",40.876,69.045,11205,"UZ","Q2447852"],["Khamid Aliev",40.157,68.747,11200,"TJ","Q6399952"],["Koksayek",42.253,69.996,11053,"KZ","Q15918891"],["Karasu",42.399,69.81,10294,"KZ","Q15732427"],["Qarnaq",43.511,68.346,10246,"KZ","Q16662036"],["Achisai",43.556,68.896,10232,"KZ","Q12531259"],["Baxt",40.714,68.693,9600,"UZ","Q500034"],["Khantaghy",43.527,68.584,9587,"KZ","Q12568918"],["Gulkhona",40.133,69.5,9463,"TJ","Q5617696"],["Sholaqqorghan",43.765,69.176,9213,"KZ","Q4525984"],["Zhibek Zholy",41.477,69.367,7537,"KZ","Q12545535"],["Kolkent",42.535,69.666,7113,"KZ","Q12551169"],["Bazarqala",42.272,69.751,6989,"KZ","Q12532769"],["Tortkul",42.93,68.947,6762,"KZ","Q16707079"],["Badam",42.383,69.258,6709,"KZ","Q12532692"],["Taukent",43.864,68.757,6551,"KZ","Q16704951"],["Eshanguzar",41.251,69.153,6386,"UZ","Q4533373"],["Kaindisoy",40.49,69.702,6200,"TJ","Q6348100"],["Koksu",41.477,68.026,6125,"KZ","Q16433850"],["Birinshi Mamyr",42.095,69.894,6057,"KZ","Q15918871"],["Togus",42.227,69.803,6018,"KZ","Q15918901"],["Qaratobe",42.281,69.645,6011,"KZ","Q16661800"],["Yntymaq",41.398,69.114,5895,"KZ","Q12571237"],["Qaqpaq",41.62,69.529,5833,"KZ","Q16657159"],["Aqzhar",41.6,69.348,5635,"KZ","Q12531744"],["Qojaqorgan",42.562,69.762,5619,"KZ","Q16664433"],["Kyzylzharma",44.891,65.468,5484,"KZ","Q16669443"],["Kabylanbek",41.493,69.281,5450,"KZ","Q16661447"],["Isfidjab",42.322,69.708,5443,"KZ","Q16656480"],["Intimak",40.764,68.305,5384,"KZ","Q12571238"],["Saudakent",43.737,69.918,5313,"KZ","Q12561317"],["Qarabastau",42.266,69.62,5177,"KZ","Q16661531"],["Zhangatalap",42.358,69.427,5090,"KZ","Q12544178"],["Qyzylzhar",41.514,69.278,5089,"KZ","Q16669441"],["Shardara",41.316,67.961,5015,"KZ","Q12569824"],["Jili Su",40.815,68.173,4799,"KZ","Q12554046"],["Tassay",42.356,69.696,4786,"KZ","Q16704839"],["Algabas",40.795,68.347,4747,"KZ","Q15617695"],["Sultanrabat",42.182,69.832,4732,"KZ","Q15918900"],["Qamshaq",42.084,69.872,4723,"KZ","Q15918876"],["Bo‘zsuv",41.127,68.851,4700,"UZ","Q4090257"],["Qosseyit",41.394,67.999,4657,"KZ","Q16666296"],["Sozak",44.14,68.475,4630,"KZ","Q4445604"],["Teriskei",43.784,69.16,4536,"KZ","Q16705684"],["Qarzhan",41.828,69.713,4454,"KZ","Q16661950"],["Razzakov",40.101,69.6,4435,"KG","Q12825959"],["Tasken",42.377,69.721,4414,"KZ","Q12564713"],["Qazaqstan",41.807,67.988,4393,"KZ","Q16656974"],["Zertas",42.259,69.914,4346,"KZ","Q12546468"],["Qasimbek Datka",42.479,69.635,4342,"KZ","Q16662265"],["Rabat",42.058,69.522,4305,"KZ","Q12559474"],["Martobe",42.379,69.763,4269,"KZ","Q12552976"],["Belköl",44.812,65.588,4246,"KZ","Q4082068"],["Uzyn ata",41.664,67.975,4243,"KZ","Q12577724"],["Turbat",41.752,69.59,4196,"KZ","Q15648248"],["Zhylga",41.718,69.013,4196,"KZ","Q16652045"],["Temir",42.828,68.438,4187,"KZ","Q12565309"],["Abai",40.896,68.542,4159,"KZ","Q15617717"],["Bogen",42.739,68.978,4117,"KZ","Q16274649"],["Kurkeles",41.466,69.132,4084,"KZ","Q15845733"],["Bala bi",44.338,66.516,4071,"KZ","Q12533121"],["Tomenaryk",44.031,67.014,4069,"KZ","Q12567665"],["Aqbulaq",42.378,69.887,4020,"KZ","Q16334573"],["Chorroha-Deyron",40.397,69.669,4000,"TJ","Q5105244"],["Enkes",41.427,69.114,3920,"KZ","Q16648479"],["Lesbek batyr",41.091,68.696,3918,"KZ","Q15845729"],["Sharapkhana",41.874,69.44,3901,"KZ","Q16719393"],["Koksarai",42.648,68.153,3896,"KZ","Q15714542"],["Qizilqiya",41.662,69.375,3892,"KZ","Q12576470"],["Sirdariya",42.416,68.781,3861,"KZ","Q16703767"],["Tselinnoe",41.797,67.988,3851,"KZ","Q16434331"],["Sirdaryo",40.252,69.727,3800,"TJ","Q16703761"],["Shapyrashty",42.294,69.915,3800,"KZ","Q16719368"],["Makhambetov",44.762,65.483,3780,"KZ","Q16431882"],["Tügisken",43.593,67.411,3766,"KZ","Q16708226"],["Sharbulaq",41.774,69.492,3630,"KZ","Q12569820"],["Qizilqum",41,68.219,3592,"KZ","Q12576479"],["Aqsuabat",42.488,69.744,3572,"KZ","Q16533244"],["Kelintöbe",43.468,67.458,3569,"KZ","Q19560456"],["Besketik",40.725,68.291,3566,"KZ","Q15617740"],["Shubar",42.586,69.354,3539,"KZ","Q16718601"],["Kökterek",41.378,69.058,3517,"KZ","Q12551053"],["Darbaza",41.568,69.083,3397,"KZ","Q16434274"],["Badam",42.252,69.736,3387,"KZ","Q16273566"],["Zhibek Zholy",42.471,69.934,3346,"KZ","Q16651881"],["Aqbastau",42.902,69.669,3300,"KZ","Q16272291"],["Qaynar",42.427,69.352,3264,"KZ","Q16657078"],["MontaitaLine truncated