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":[["Dowbaran",28.406,54.188,13809,"IR","Q2617093"],["Jannat Shahr",28.653,54.686,13598,"IR","Q888930"],["Asaluyeh",27.476,52.608,13557,"IR","Q643944"],["Galleh Dar",27.663,52.661,13448,"IR","Q2617075"],["Kaki",28.339,51.524,12119,"IR","Q862767"],["Vahdatiyeh",29.482,51.237,11222,"IR","Q2610782"],["Meymand",28.868,52.753,10120,"IR","Q2613953"],["Bastak",27.199,54.367,9959,"IR","Q2887669"],["Zahedshahr",28.748,53.804,9719,"IR","Q2616762"],["Khesht",29.563,51.337,9599,"IR","Q888109"],["Banaruiyeh",28.084,54.048,9318,"IR","Q2620419"],["Eshkanan",27.229,53.608,9115,"IR","Q888756"],["Lapui",29.799,52.65,8985,"IR","Q2617195"],["Kukherdharang",27.096,54.472,8954,"IR","Q15525069"],["Shahr-e Pir",28.31,54.335,8927,"IR","Q2617052"],["Bank",27.871,52.027,8753,"IR","Q4077187"],["Sadabad",29.384,51.115,8248,"IR","Q2610892"],["Heydarabad, Jahrom",28.548,53.591,8242,"IR","Q4497079"],["Kharg",29.261,50.331,8193,"IR","Q862686"],["Juyom",28.255,53.981,8010,"IR","Q888383"],["Shabankareh",29.472,50.995,7900,"IR","Q863204"],["Mohr",27.551,52.882,7784,"IR","Q2617085"],["Deh Qaed",29.297,51.193,7509,"IR","Q368088"],["Qotbabad",28.64,53.638,7476,"IR","Q888412"],["Abadeh Tashk",29.811,53.727,7379,"IR","Q888291"],["Beyram",27.431,53.514,7300,"IR","Q888197"],["Latifi",27.69,54.387,7300,"IR","Q888783"],["Bardestan",27.873,51.961,7112,"IR","Q2632275"],["Bab Anar",28.964,53.216,7061,"IR","Q4811070"],["Bandar Siraf",27.666,52.346,6992,"IR","Q168056"],["Jenah",27.02,54.284,6910,"IR","Q2626774"],["Abdan",28.079,51.767,6827,"IR","Q862363"],["Bezin",29.754,52.414,6812,"IR","Q4090242"],["Akhand",27.436,52.75,6775,"IR","Q43609"],["Fedagh",27.967,53.933,6533,"IR","Q5439907"],["Dalaki",29.429,51.293,6436,"IR","Q862095"],["Javadieh",29.705,52.491,6314,"IR","Q5839662"],["Ij",29.021,54.246,6246,"IR","Q2614282"],["Tafhian",29.419,52.657,6170,"IR","Q5829057"],["Konartakhteh",29.536,51.396,6081,"IR","Q888217"],["Valashahr",29.287,51.942,5972,"IR","Q2415341"],["Sheshdeh",28.949,53.996,5960,"IR","Q2614259"],["Miyanshahr",28.717,53.857,5912,"IR","Q122929455"],["Akbarabad",29.246,52.779,5817,"IR","Q888803"],["Roniz",29.192,53.769,5760,"IR","Q765659"],["Bord Khun",28.063,51.477,5333,"IR","Q2632219"],["Bandar Rig",29.491,50.624,5257,"IR","Q861922"],["Arad",27.727,53.626,5094,"IR","Q384585"],["Chah-e Mobarak",27.366,52.79,4968,"IR","Q43593"],["Dowrahak",27.946,51.96,4852,"IR","Q5303637"],["Dashti",27.178,53.005,4695,"IR","Q869357"],["Varavi",27.467,53.05,4622,"IR","Q657669"],["Meshkan",29.477,54.331,4617,"IR","Q602606"],["Sahrarud",28.875,53.697,4554,"IR","Q5821141"],["Dehkuyeh",27.854,54.424,4523,"IR","Q5963026"],["Do Kuhak, Shiraz",29.792,52.415,4453,"IR","Q5839660"],["Bid Shahr",27.983,53.742,4447,"IR","Q16841549"],["Delvar",28.762,51.07,4442,"IR","Q4361915"],["Tang-e Katuiyeh",28.768,54.579,4416,"IR","Q5832052"],["Khavaran",28.939,53.312,4332,"IR","Q2409279"],["Emad shahr",27.447,53.86,4235,"IR","Q5368784"],["Doveyreh",29.072,51.077,4096,"IR","Q5302562"],["Alamarvdasht",27.626,53,4068,"IR","Q4370533"],["Bandar Charak",26.731,54.275,4066,"IR","Q642330"],["Baduleh",28.399,51.5,4028,"IR","Q4841169"],["Khaneh Zenyan",29.67,52.148,4027,"IR","Q5787905"],["Jazireh-ye Shif",29.071,50.876,3969,"IR","Q3448390"],["Qalat",29.821,52.33,3953,"IR","Q7267368"],["Abad",29.025,51.252,3787,"IR","Q4663189"],["Nujin",29.123,52.011,3769,"IR","Q4357678"],["Bondaruz",29.225,51.214,3724,"IR","Q4941365"],["Khuzi",27.448,52.972,3646,"IR","Q5778864"],["Bolghan",28.152,53.598,3640,"IR","Q5871097"],["Amir Hajiloo",28.954,54.078,3623,"IR","Q5821479"],["Mehrenjan",29.561,51.666,3598,"IR","Q5858120"],["Kuhij",27.191,54.164,3597,"IR","Q6442106"],["Parak",27.653,52.414,3582,"IR","Q46464"],["Dehram",28.492,52.305,3468,"IR","Q4811029"],["Anarestan",28.031,52.067,3400,"IR","Q4751697"],["Dastjeh",28.892,53.673,3376,"IR","Q5815244"],["Riz",28.052,52.072,3282,"IR","Q4359109"],["Boneh Gaz",28.946,51.113,3254,"IR","Q4941697"],["Tang-e Eram",29.152,51.528,3242,"IR","Q4359142"],["Nabih Saleh",26.183,50.583,3200,"BH","Q4119405"],["Hesami",29.969,53.874,3131,"IR","Q5785400"],["Mashtan",29.566,51.642,3093,"IR","Q5829709"],["Asir",27.724,52.665,3042,"IR","Q4359029"],["Bandar-e Shenas",26.524,54.798,2998,"IR","Q4854372"],["Vazirabad",29.538,52.621,2977,"IR","Q5845825"],["Baghan, Kavar",29.296,52.648,2967,"IR","Q5788717"],["Chahak",29.788,54.319,2947,"IR","Q5825121"],["Qatruyeh",29.146,54.704,2895,"IR","Q4364206"],["Nowdan",29.801,51.694,2892,"IR","Q4359599"],["Berak",27.669,54.396,2882,"IR","Q5848748"],["Khosuyeh",28.543,54.388,2856,"IR","Q5843562"],["Dorudgah",29.335,51.112,2820,"IR","Q5299040"],["Sar Mashhad",29.291,51.703,2818,"IR","Q3473237"],["Balyan",29.545,51.67,2798,"IR","Q5831992"],["Ziarat",29.282,51.071,2758,"IR","Q8071352"],["Shonbeh",28.395,51.764,2747,"IR","Q4370819"],["Lamazan",27.045,54.891,2745,"IR","Q6480991"],["Imam Hassan",29.843,50.263,2731,"IR","Q4115081"],["Bajgah",29.719,52.591,2718,"IR","Q5841413"],["Torkan",29.563,52.628,2685,"IR","Q5837657"],["Chaman-e Morvarid",28.82,5Line truncated