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":[["Kerkiçi",37.851,65.243,14996,"TM","Q137669853"],["Sang-e Chārak",35.85,66.437,14700,"AF","Q21748359"],["Kuybyshevsk",37.946,68.812,14600,"TJ","Q6449099"],["Vakhsh",37.711,68.831,14100,"TJ","Q2064329"],["Hayoti Nav",39.967,69.483,14047,"TJ","Q8048586"],["Roghun",38.698,69.752,13800,"TJ","Q2565349"],["Panj",37.235,69.097,13800,"TJ","Q2567960"],["Ghonchi",39.959,69.137,13700,"TJ","Q2659615"],["Kiblai",38.617,68.833,13680,"TJ","Q6392205"],["Sülüktü",39.933,69.567,13378,"KG","Q2357921"],["Chirakchi",39.034,66.574,13220,"UZ","Q2631684"],["Chelak",39.92,66.861,13093,"UZ","Q4508384"],["Imam Sahib",37.184,68.914,12655,"AF","Q670101"],["Qabodiyon",37.407,68.185,12500,"TJ","Q4121884"],["Vashgird",38.55,69.317,12300,"TJ","Q13202146"],["Mehnatobod",38.167,68.95,12200,"TJ","Q6809683"],["Kumkurghon",37.815,67.605,12173,"UZ","Q3608545"],["Beshkent",38.817,65.65,11551,"UZ","Q892026"],["Payariq",39.989,66.846,11500,"UZ","Q12829865"],["Astanababa",37.902,65.125,11466,"TM","Q65434043"],["Jomboy",39.699,67.093,11308,"UZ","Q891722"],["Sariosiyo",38.413,67.957,11082,"UZ","Q4408597"],["Eski Yakkabog‘",38.921,66.847,10800,"UZ","Q12104115"],["Shargʻun",38.46,67.967,10716,"UZ","Q4520486"],["Somoniyon",37.767,68.8,10500,"TJ","Q5872191"],["Amyderýa",37.891,65.248,10330,"TM","Q4748910"],["Ishtikhon",39.966,66.486,10155,"UZ","Q797869"],["Juybodom",38.552,68.699,9628,"TJ","Q97346006"],["Navobod, Rudaki District",38.528,68.675,9600,"TJ","Q16679252"],["Dahbed",39.764,66.912,9000,"UZ","Q4155342"],["Arbobkhotun",38.551,68.725,8761,"TJ","Q97345648"],["Gulbutta",38.48,68.761,8713,"TJ","Q97345773"],["Köýtendag",37.517,66.014,8654,"TM","Q6454057"],["Galaba",37.45,69.35,8508,"TJ","Q6405570"],["Andarak",39.769,69.467,8204,"KG","Q2224011"],["Shahrinav",38.577,68.33,7900,"TJ","Q4521367"],["Nurobod",39.609,66.287,7775,"UZ","Q778474"],["Hisor",38.482,68.59,7473,"TJ","Q60335634"],["Guliston",38.541,68.87,7409,"TJ","Q97235822"],["Ziddi",39.05,68.833,7274,"TJ","Q14629335"],["Yangi-Nishon",38.656,65.7,7160,"UZ","Q798259"],["Tojikiston",38.536,68.388,7039,"TJ","Q60334410"],["Durbat",38.529,68.634,6740,"TJ","Q25590174"],["Tallimarjon",38.297,65.553,6715,"UZ","Q891880"],["Obigarm",38.717,69.717,6500,"TJ","Q8214642"],["Hayoti Nav",38.499,68.58,6320,"TJ","Q60335633"],["Dowlatabad",36.99,66.822,6111,"AF","Q2163607"],["Sharaf",38.472,68.815,5846,"TJ","Q97238373"],["Shulgareh",36.317,66.875,5842,"AF","Q7504924"],["Gelon",39.067,67.45,5834,"UZ","Q108804105"],["Ghuriyot",38.58,68.533,5487,"TJ","Q25590170"],["Gulrez (Vahdat District)",38.579,69.069,5444,"TJ","Q60333953"],["Itorchi",39.883,69.15,5153,"TJ","Q12688308"],["Lohur",38.381,68.704,4945,"TJ","Q25604656"],["Döwletli",38.014,65.567,4942,"TM","Q117461971"],["Oli Somon",38.462,68.802,4464,"TJ","Q97237160"],["Dzharteppa",38.015,69.36,4378,"TJ","Q60336071"],["Hojambaz",38.117,65,4259,"TM","Q5877840"],["Balkhiyon",37.487,68.666,4245,"TJ","Q65298037"],["Gulkoron",38.532,68.844,4196,"TJ","Q97235868"],["Dahbed",38.524,68.529,4117,"TJ","Q25605791"],["Yangī Qal‘ah",37.466,69.611,4080,"AF","Q21740402"],["Mahmadshoyi Bolo",38.515,68.703,4012,"TJ","Q97236677"],["Zarnisor",38.43,68.791,3807,"TJ","Q97345850"],["Mehrobod",38.573,68.671,3352,"TJ","Q97345906"],["Kalon",39.047,68.833,3297,"TJ","Q6354244"],["Mavlavi",38.545,68.947,3124,"TJ","Q97236628"],["Ak-Suu",39.896,69.369,3114,"KG","Q2223265"],["Marjonbuloq",39.936,67.424,3079,"UZ","Q12121323"],["Burma",38.452,68.926,3037,"TJ","Q97345693"],["Zarafshan",39.171,68.626,3000,"TJ","Q8066565"],["Dayrabot",38.52,68.861,2883,"TJ","Q97235917"],["Navbunyod",38.425,68.732,2876,"TJ","Q97345916"],["Kara-Bulak",39.846,69.646,2852,"KG","Q2329111"],["Hosilot",38.474,68.721,2594,"TJ","Q97346000"],["Boloshah",38.563,68.876,2582,"TJ","Q97235519"],["Husnobod",38.608,68.737,2580,"TJ","Q97346003"],["Komsomol",38.514,68.861,2561,"TJ","Q97236368"],["Sangchashma",38.715,68.632,2240,"TJ","Q25590508"],["Dardar",39.443,68.445,2200,"TJ","Q5222435"],["Fayzoba",38.504,68.813,2157,"TJ","Q97237921"],["Kamoli Khujandi",38.517,68.312,2129,"TJ","Q60334386"],["Samat",39.91,69.509,2076,"KG","Q12831096"],["Amirshoev Safar",38.081,69.862,2024,"TJ","Q60335489"],["Oybosh",38.545,68.537,2002,"TJ","Q25590515"],["Kuhi Surkh",37.624,68.713,1992,"TJ","Q65298179"],["Chavolay",38.628,68.814,1992,"TJ","Q97238173"],["Toqakappa",38.067,69.837,1939,"TJ","Q60336449"],["Daryobod",38.535,68.893,1939,"TJ","Q97235957"],["Mahmadshoyi Poyon",38.497,68.696,1927,"TJ","Q97236686"],["Boghiston",38.531,68.433,1843,"TJ","Q60334403"],["Zarteppa",38.546,68.884,1763,"TJ","Q97236190"],["Andarob",37.87,69.753,1716,"TJ","Q60336452"],["Hayotinav",38.401,68.727,1642,"TJ","Q97238850"],["Kishovarz",38.452,68.813,1569,"TJ","Q97236332"],["Hofizkada",38.687,68.644,1506,"TJ","Q60335527"],["Vashan",39.401,68.264,1500,"TJ","Q7916498"],["Namuna",38.532,68.527,1392,"TJ","Q60335549"],["Adolat",38.497,68.804,1380,"TJ","Q97235346"],["Sadoqat",38.498,68.852,1374,"TJ","Q97237381"],["Sharifobod",38.579,68.325,1332,"TJ","Q60334592"],["SavLine truncated