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":[["Ratba",34.778,-4.932,14944,"MA","Q12187698"],["Ain Kansra",34.15,-4.831,14910,"MA","Q27534928"],["Ajdir",34.742,-3.974,14755,"MA","Q4699689"],["Targuist",34.94,-4.32,14638,"MA","Q2544562"],["Goulmima",31.694,-4.959,14624,"MA","Q3111649"],["Lamrija",33.991,-3.279,14563,"MA","Q17007740"],["Zaida",32.818,-4.959,14454,"MA","Q3574981"],["Khlalfa",34.673,-4.628,14340,"MA","Q12182857"],["Tendrara",33.05,-2,14269,"MA","Q3518036"],["Bni Ftah",34.498,-4.039,14246,"MA","Q20409024"],["Sidi Ali Belkassem",34.088,-2.968,13951,"MA","Q15277627"],["Sidi Youssef Ben Ahmed",33.786,-4.815,13748,"MA","Q17019366"],["Loulja",34.289,-4.948,13679,"MA","Q6689625"],["Ras el Oued",34.39,-4.507,13299,"MA","Q7294686"],["Ourtzagh",34.535,-4.968,13256,"MA","Q3358491"],["Ait Ayach",32.67,-4.955,12932,"MA","Q2876451"],["Tamsaout",34.826,-4.753,12856,"MA","Q7681848"],["Er Rteb",31.608,-4.203,12852,"MA","Q3055936"],["Fennassa Bab El Hit",34.611,-4.417,12764,"MA","Q12231079"],["Sidi Ali Bourakba",34.817,-3.729,12354,"MA","Q3483176"],["Tamedit",34.683,-4.196,12252,"MA","Q7681120"],["Gheris El Ouloui",31.699,-4.977,12193,"MA","Q20421423"],["Gzenaya Al Janoubia",34.624,-3.864,12098,"MA","Q17004047"],["Ras Laksar",33.982,-3.749,12092,"MA","Q16862005"],["Matmata",34.098,-4.551,11964,"MA","Q6787693"],["Bni M'Hamed Sijelmassa",31.242,-4.223,11925,"MA","Q12199427"],["Jorf",31.48,-4.403,11865,"MA","Q1276800"],["Louadaine",34.202,-4.936,11767,"MA","Q12237283"],["Tissaf",33.4,-3.583,11615,"MA","Q12203611"],["Bouadel",34.54,-4.508,11564,"MA","Q12200072"],["Sidi Aayad",32.304,-4.535,11562,"MA","Q12217704"],["Tainaste",34.556,-4.135,11530,"MA","Q3516558"],["Chouihia",34.872,-2.618,11249,"MA","Q27536893"],["Kaf El Ghar",34.507,-4.263,11229,"MA","Q17007033"],["Bouanane",32.028,-3.04,11181,"MA","Q2911924"],["Ain Maatouf",34.435,-4.557,11165,"MA","Q12229163"],["Msila",34.443,-4.171,11161,"MA","Q17011622"],["Ain Bida",33.986,-4.893,11109,"MA","Q12228971"],["Oulad Chrif",34.27,-4.16,11088,"MA","Q16860494"],["Ahl Oued Za",34.285,-2.818,11024,"MA","Q4695159"],["Taifa",34.356,-4.078,11013,"MA","Q16868254"],["Bni Drar",34.828,-1.994,10934,"MA","Q2907474"],["Bni Mathar",33.946,-2.003,10887,"MA","Q20414402"],["Bni Lent",34.327,-4.204,10801,"MA","Q12199611"],["Oulad Daoud",34.406,-4.694,10800,"MA","Q17013226"],["Bouchfaa",34.102,-4.294,10724,"MA","Q20416263"],["Ain Legdah",34.168,-4.502,10598,"MA","Q12229157"],["Maghraoua",33.932,-4.046,10580,"MA","Q16766656"],["Ksabi Moulouya",32.832,-4.402,10471,"MA","Q6440690"],["Figuig",32.117,-1.227,10449,"MA","Q425646"],["Kandar Sidi Khiar",33.778,-4.959,10417,"MA","Q12236295"],["Fezouane",34.916,-2.204,10304,"MA","Q20408470"],["Sidi Lahsen",34.102,-2.621,10260,"MA","Q3483246"],["Zrarda",33.974,-4.379,10092,"MA","Q8074757"],["Traiba",34.416,-3.974,10034,"MA","Q16766657"],["Oued Jemaa",34.26,-4.783,9983,"MA","Q12250433"],["Sidi Boutayeb",33.026,-4.032,9969,"MA","Q7508695"],["Tizi Ouasli",34.763,-3.795,9852,"MA","Q3529989"],["Brarha",34.45,-4.297,9763,"MA","Q16845914"],["Oulad Ayyad",34.084,-4.61,9763,"MA","Q16896279"],["Rbaa El Fouki",34.384,-4.283,9718,"MA","Q16862201"],["Messassa",34.28,-4.534,9501,"MA","Q12242551"],["Taouz",30.907,-3.997,9360,"MA","Q12189638"],["Moulay Ahmed Cherif",34.941,-4.462,9357,"MA","Q6918954"],["Laanoussar",33.683,-4.817,9343,"MA","Q1799331"],["Bouhlou",34.134,-4.407,9259,"MA","Q16766449"],["Bni Guil",32.448,-1.882,9059,"MA","Q20414002"],["Meknassa Acharqia",34.31,-3.963,9009,"MA","Q17009906"],["El Gouzate",34.502,-4.157,8992,"MA","Q16966952"],["Bni Oulid",34.59,-4.451,8967,"MA","Q12199676"],["Bir Tam Tam",33.983,-4.64,8954,"MA","Q12195486"],["Bni Bouchibet",34.712,-4.52,8909,"MA","Q4930994"],["Aoufous",31.688,-4.178,8888,"MA","Q2857997"],["Sidi Mokhfi",34.604,-4.789,8705,"MA","Q12217609"],["Ain Zohra",34.658,-3.533,8705,"MA","Q16826304"],["Maatarka",33.261,-2.703,8623,"MA","Q20423689"],["Es-Sfalat",31.245,-4.268,8586,"MA","Q20416059"],["Outabouabane",34.261,-4.414,8560,"MA","Q12195309"],["Ighzrane",33.809,-4.381,8498,"MA","Q12182367"],["Oudka",34.675,-4.907,8494,"MA","Q12250843"],["Sidi Boutmim",34.944,-4.293,8462,"MA","Q7508696"],["Tsaft",34.89,-3.728,8401,"MA","Q17053064"],["Oulad Mkoudou",33.814,-4.517,8364,"MA","Q17013241"],["Ermila",33.192,-3.851,8333,"MA","Q5392456"],["Skoura M'Daz",33.519,-4.543,8297,"MA","Q7536484"],["Smià",34.031,-4.39,8239,"MA","Q16867021"],["Gteter",34.352,-3.065,8222,"MA","Q5613096"],["Boumerieme",32.682,-3.787,8067,"MA","Q20415560"],["Melg El Ouidane",34.558,-3.026,8009,"MA","Q6812236"],["Enjil",33.093,-4.585,7984,"MA","Q5378987"],["Ait Izdeg",32.644,-4.741,7794,"MA","Q2876496"],["Mezraoua",34.509,-4.745,7712,"MA","Q12242449"],["El Orjane",33.396,-3.729,7706,"MA","Q5351723"],["Ain Lehjer",34.547,-2.48,7692,"MA","Q4697349"],["Bni Ahmed Imoukzan",34.783,-4.46,7580,"MA","Q4930989"],["Tiouli",34.454,-1.899,7577,"MA","Q27728075"],["Zrizer",34.588,-4.62,7539,"MA","Q12188091"],["Oulad Ghziyel",33.953,-2.613,7522,"MA","Q27728016"],["M'Zizel",32.227,-4.647,7502,"MA","Q1Line truncated