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":[["Saint-Loup",43.273,5.44,14705,"FR","Q3462787"],["Saint-Giniez",43.268,5.389,14423,"FR","Q672417"],["Les Cinq-Avenues",43.303,5.397,13774,"FR","Q2972832"],["Le Rouet",43.278,5.39,13586,"FR","Q3226673"],["Périer",43.274,5.379,13073,"FR","Q3411911"],["La Capelette",43.279,5.405,12295,"FR","Q3207032"],["Roquebrune-Cap-Martin",43.757,7.474,12037,"FR","Q220668"],["Montolivet",43.317,5.425,12037,"FR","Q966489"],["Saint-Barnabé",43.304,5.416,12010,"FR","Q3461841"],["Beausoleil",43.742,7.424,11936,"FR","Q273964"],["Le Cabot",43.26,5.419,11076,"FR","Q3220709"],["Baille",43.289,5.4,10937,"FR","Q2879863"],["Vauban",43.284,5.376,10406,"FR","Q3555037"],["Saint-Julien",43.313,5.444,10068,"FR","Q3462652"],["Saint-Marcel",43.291,5.464,9938,"FR","Q3462873"],["Belsunce",43.299,5.376,9809,"FR","Q816188"],["La Conception",43.291,5.393,9772,"FR","Q3207703"],["Sainte-Anne",43.257,5.391,9736,"FR","Q3464171"],["La Joliette",43.305,5.367,9606,"FR","Q3209887"],["Les Caillols",43.303,5.448,9581,"FR","Q3231241"],["Carqueiranne",43.095,6.074,9408,"FR","Q823062"],["Les Chutes-Lavie",43.312,5.397,9371,"FR","Q2967718"],["Les Chartreux",43.312,5.404,9347,"FR","Q3231386"],["Saint-Pierre",43.293,5.407,9255,"FR","Q3463200"],["Saint-Lambert",43.287,5.361,9222,"FR","Q3462685"],["Le Merlan",43.336,5.407,9112,"FR","Q3224502"],["La Valbarelle",43.283,5.451,9107,"FR","Q3213414"],["Lodi",43.286,5.387,9089,"FR","Q3257791"],["La Villette",43.312,5.373,8424,"FR","Q3213835"],["La Pointe-Rouge",43.238,5.377,8198,"FR","Q3211774"],["La Vieille-Chapelle",43.247,5.383,8148,"FR","Q3557926"],["Saint-Mitre",43.347,5.423,8134,"FR","Q3463016"],["Cavalaire-sur-Mer",43.171,6.529,8121,"FR","Q475816"],["Corte",42.306,9.151,7819,"FR","Q213555"],["La Fourragère",43.303,5.43,7725,"FR","Q3209198"],["Les Grands Carmes",43.301,5.371,7464,"FR","Q3233056"],["Notre-Dame-du-Mont",43.293,5.385,7360,"FR","Q3344727"],["Les Baumettes",43.229,5.416,7258,"FR","Q3230970"],["Le Chapitre",43.301,5.385,7092,"FR","Q3235217"],["Sormiou",43.211,5.42,7089,"FR","Q3000431"],["Castellane",43.286,5.384,6953,"FR","Q2941375"],["Château-Gombert",43.352,5.439,6785,"FR","Q2967798"],["L'Estaque",43.365,5.316,6239,"FR","Q1229951"],["Hôtel-de-Ville",43.297,5.367,6158,"FR","Q3146110"],["Le Pharo",43.291,5.359,6064,"FR","Q1810056"],["Les Trois-Lucs",43.313,5.466,5905,"FR","Q3235839"],["La Panouse",43.256,5.431,5698,"FR","Q3211316"],["Palais de Justice",43.289,5.375,5663,"FR","Q3360970"],["Saint-Henri",43.36,5.332,5446,"FR","Q3462385"],["Montredon",43.229,5.365,5308,"FR","Q3322932"],["Vado Centro",44.269,8.432,5276,"IT","Q18463228"],["La Timone",43.288,5.414,5259,"FR","Q3213155"],["Thiers",43.297,5.384,5229,"FR","Q2420951"],["Le Redon",43.245,5.427,5048,"FR","Q3226288"],["Marina di Andora",43.954,8.155,5008,"IT","Q18461840"],["Noailles",43.295,5.38,4935,"FR","Q371876"],["Bonneveine",43.257,5.379,4907,"FR","Q2910287"],["Endoume",43.284,5.359,4904,"FR","Q2644664"],["Les Camoins",43.306,5.511,4809,"FR","Q3231253"],["Opéra",43.293,5.375,4542,"FR","Q3354533"],["Menpenti",43.283,5.395,4541,"FR","Q3306036"],["Cap-d'Ail",43.721,7.406,4482,"FR","Q274193"],["Pont-de-Vivaux",43.282,5.42,4465,"FR","Q3396414"],["Bompard",43.28,5.361,4254,"FR","Q657645"],["Saint-André",43.352,5.343,4046,"FR","Q3461771"],["Sospel",43.877,7.448,3791,"FR","Q467020"],["Le Roucas-Blanc",43.277,5.368,3712,"FR","Q3226672"],["La Condamine",43.735,7.422,3694,"MC","Q55095"],["Préfecture",43.291,5.381,3642,"FR","Q3408864"],["Saint-Jean-du-Désert",43.296,5.421,3475,"FR","Q3462584"],["Le Portier",43.742,7.432,3400,"MC","Q55125"],["Saint-Paul-de-Vence",43.696,7.122,3203,"FR","Q208260"],["Moneghetti",43.736,7.418,3131,"MC","Q55108"],["La Turbie",43.746,7.401,3045,"FR","Q244709"],["Stazione-Fornola",44.13,9.892,2990,"IT","Q18461033"],["La Millière",43.277,5.497,2894,"FR","Q3210713"],["La Plage",43.265,5.373,2843,"FR","Q3211688"],["Piano di Follo",44.16,9.865,2783,"IT","Q18460878"],["Saint-Menet",43.291,5.495,2736,"FR","Q3462979"],["Romito Magra",44.099,9.934,2558,"IT","Q18460956"],["La Barasse",43.282,5.481,2501,"FR","Q3206438"],["Breil-sur-Roya",43.937,7.514,2377,"FR","Q321111"],["San Lazzaro",44.092,9.993,2254,"IT","Q30880571"],["Cerialdo",44.4,7.532,2049,"IT","Q108092803"],["Borgio",44.16,8.303,1944,"IT","Q18461332"],["Tende",44.088,7.594,1775,"FR","Q236609"],["Garbejaïre",43.622,7.05,1771,"FR","Q3095314"],["Puyloubier",43.525,5.677,1768,"FR","Q675854"],["Saint-Florent",42.681,9.303,1694,"FR","Q677952"],["Arenc",43.322,5.358,1661,"FR","Q2860836"],["Le Grazie",44.064,9.838,1628,"IT","Q688008"],["Éoures",43.301,5.524,1624,"FR","Q3589034"],["Valle di Vado",44.263,8.417,1401,"IT","Q18463258"],["Piana Battolla",44.194,9.852,1269,"IT","Q18460870"],["Carpiagne",43.246,5.492,1181,"FR","Q2940136"]]}