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":[["Lachute",45.65,-74.333,14941,"CA","Q142250"],["Sainte-Adèle",45.95,-74.133,14763,"CA","Q142560"],["Beauharnois",45.317,-73.867,14745,"CA","Q139109"],["Bécancour",46.333,-72.433,14438,"CA","Q141542"],["Rosemère",45.633,-73.8,14138,"CA","Q142196"],["Prévost",45.867,-74.083,13957,"CA","Q141385"],["Saint-Amable",45.65,-73.3,13796,"CA","Q3461735"],["Dolbeau-Mistassini",48.883,-72.233,13717,"CA","Q141393"],["Cap-Rouge",46.758,-71.354,13700,"CA","Q2936966"],["Montcalm",46.801,-71.231,13640,"CA","Q3322480"],["Sillery",46.774,-71.261,13570,"CA","Q3483898"],["Sainte-Marie",46.45,-71.033,13374,"CA","Q141652"],["Carignan",45.466,-73.33,12260,"CA","Q142391"],["Rawdon",46.042,-73.707,12234,"CA","Q3420451"],["Sainte-Julienne",45.967,-73.717,11993,"CA","Q3464313"],["Saint-Sauveur",45.9,-74.167,11939,"CA","Q143360"],["Bromont",45.317,-72.65,11834,"CA","Q141983"],["Marieville",45.433,-73.167,11778,"CA","Q141420"],["Sainte-Agathe-des-Monts",46.05,-74.283,11726,"CA","Q141738"],["Notre-Dame-de-l'Île-Perrot",45.35,-73.903,11699,"CA","Q141389"],["L'Ile-Perrot",45.383,-73.95,11678,"CA","Q141590"],["Saint-Hippolyte",45.933,-74.017,11650,"CA","Q3462419"],["Mont-Tremblant",46.117,-74.6,11621,"CA","Q142082"],["Saint-Raymond",46.891,-71.832,11547,"CA","Q142097"],["La Tuque",47.433,-72.783,11307,"CA","Q141769"],["Vanier",46.82,-71.266,11174,"CA","Q3554588"],["Montmagny",46.983,-70.55,10999,"CA","Q141946"],["Pont-Rouge",46.75,-71.7,10993,"CA","Q142313"],["Farnham",45.284,-72.977,10848,"CA","Q141743"],["Bois-des-Filion",45.671,-73.763,10602,"CA","Q139019"],["Saint-Zotique",45.25,-74.25,10245,"CA","Q3463534"],["Saint-Félicien",48.65,-72.45,10224,"CA","Q141511"],["Contrecœur",45.85,-73.233,10194,"CA","Q141547"],["Kahnawake",45.417,-73.683,10178,"CA","Q1014394"],["Roberval",48.517,-72.222,9887,"CA","Q141954"],["Saint-Rémi",45.267,-73.617,9684,"CA","Q142504"],["Lorraine",45.66,-73.777,9680,"CA","Q142162"],["Plessisville",46.22,-71.772,9548,"CA","Q124101719"],["Notre-Dame-des-Prairies",46.05,-73.433,9528,"CA","Q142475"],["Sainte-Catherine-de-la-Jacques-Cartier",46.845,-71.618,9161,"CA","Q141565"],["Otterburn Park",45.533,-73.217,9141,"CA","Q141623"],["L'Épiphanie",45.85,-73.483,9090,"CA","Q81223838"],["Coaticook",45.133,-71.8,8893,"CA","Q142053"],["Boischatel",46.9,-71.15,8854,"CA","Q2909084"],["Sainte-Brigitte-de-Laval",47,-71.2,8781,"CA","Q3464192"],["Nicolet",46.217,-72.617,8726,"CA","Q141595"],["Saint-Apollinaire",46.617,-71.517,8689,"CA","Q3461800"],["Delson",45.367,-73.55,8557,"CA","Q142180"],["Duberger",46.816,-71.305,8489,"CA","Q55597632"],["La Malbaie",47.652,-70.149,8442,"CA","Q142113"],["Lac-Beauport",46.967,-71.3,8396,"CA","Q3214587"],["Saint-Roch",46.816,-71.224,8380,"CA","Q3463286"],["Saint-Philippe",45.35,-73.467,8290,"CA","Q3463156"],["Rigaud",45.483,-74.3,7951,"CA","Q3431913"],["Acton Vale",45.65,-72.567,7823,"CA","Q141960"],["Brownsburg-Chatham",45.683,-74.417,7764,"CA","Q141415"],["Coteau-du-Lac",45.3,-74.183,7681,"CA","Q141571"],["Donnacona",46.667,-71.75,7653,"CA","Q141639"],["Baie-Saint-Paul",47.45,-70.5,7600,"CA","Q139231"],["Shefford",45.35,-72.567,7587,"CA","Q3481727"],["Louiseville",46.25,-72.95,7565,"CA","Q141410"],["Hampstead",45.483,-73.633,7469,"CA","Q139101"],["Chibougamau",49.917,-74.367,7321,"CA","Q141918"],["Saint-Félix-de-Valois",46.167,-73.433,7308,"CA","Q3462202"],["Val-des-Sources",45.767,-71.933,7285,"CA","Q48785"],["Saint-Joseph-du-Lac",45.533,-74,7276,"CA","Q3462609"],["Les Cèdres",45.3,-74.05,7226,"CA","Q3231881"],["Saint-Calixte",45.95,-73.85,7194,"CA","Q3461933"],["Saint-Paul",45.983,-73.45,6956,"CA","Q516388"],["Saint-Lambert-de-Lauzon",46.583,-71.2,6955,"CA","Q3462681"],["Shannon",46.883,-71.517,6903,"CA","Q3481424"],["Hébertville",48.395,-71.677,6815,"CA","Q138303777"],["Saint-Honoré",48.533,-71.083,6740,"CA","Q3462423"],["Charlemagne",45.717,-73.483,6495,"CA","Q142017"],["Princeville",46.167,-71.883,6334,"CA","Q142516"],["Beauceville",46.2,-70.783,6285,"CA","Q139422"],["Pointe-Calumet",45.5,-73.967,6281,"CA","Q509329"],["Lac-Brome",45.219,-72.509,6252,"CA","Q142246"],["Les Saules",46.802,-71.31,6242,"CA","Q55599686"],["Saint-Césaire",45.417,-73,6129,"CA","Q142044"],["McMasterville",45.55,-73.233,6097,"CA","Q3303708"],["Saint-Henri",46.7,-71.067,6009,"CA","Q3462390"],["Saint-Pie",45.5,-72.9,5965,"CA","Q141366"],["Les Coteaux",45.283,-74.233,5938,"CA","Q3231806"],["Richelieu",45.45,-73.25,5872,"CA","Q142306"],["Lac-Mégantic",45.583,-70.883,5820,"CA","Q142020"],["Verchères",45.783,-73.35,5776,"CA","Q2514459"],["Sainte-Martine",45.25,-73.8,5734,"CA","Q2339439"],["Val-David",46.033,-74.217,5733,"CA","Q3553367"],["Saint-Roch-de-l'Achigan",45.85,-73.6,5631,"CA","Q3463283"],["Hudson",45.45,-74.15,5542,"CA","Q141445"],["Chertsey",46.167,-73.917,5478,"CA","Q2962800"],["Cookshire-Eaton",45.413,-71.631,5468,"CA","Q142239"],["Lanoraie",45.962,-73.221,5387,"CA","Q3217608"],["Windsor",45.567,-72,5380,"CA","Q139415"],["Sainte-Anne-de-Bellevue",45.404,-73.953,5380,"CA","Q141500"],["WatLine truncated