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":[["Whitefish Bay",43.112,-87.901,14954,"US","Q1944698"],["Lincoln Charter Township",42.024,-86.506,14929,"US","Q6550526"],["Whitewater",42.835,-88.736,14889,"US","Q1570484"],["Waunakee",43.187,-89.452,14879,"US","Q1246532"],["Greendale",42.938,-87.997,14854,"US","Q2193397"],["Sterling",41.8,-89.695,14764,"US","Q578314"],["Sycamore Township",42.023,-88.651,14702,"US","Q7659610"],["Salem Lakes",42.555,-88.111,14601,"US","Q1888183"],["Fruitport Charter Township",43.148,-86.152,14575,"US","Q5506463"],["Hickory Hills",41.724,-87.827,14505,"US","Q577695"],["Chicago Ridge",41.703,-87.779,14433,"US","Q1827599"],["Pleasant Township",41.658,-85.026,14424,"US","Q7204013"],["Niles Charter Township",41.817,-86.267,14417,"US","Q7037020"],["Lindenhurst",42.41,-88.026,14406,"US","Q2671195"],["Ada Township",42.954,-85.489,14388,"US","Q346327"],["Cannon Township",43.069,-85.488,14379,"US","Q5032799"],["Benton Charter Township",42.11,-86.416,14374,"US","Q4890547"],["Centre Township",41.625,-86.25,14368,"US","Q5062323"],["Forest Park",41.873,-87.811,14339,"US","Q2483749"],["Midlothian",41.626,-87.721,14325,"US","Q2500754"],["Tolleston",41.584,-87.368,14289,"US","Q7814396"],["Beach Park",42.424,-87.848,14249,"US","Q2671206"],["Chesterton",41.611,-87.064,14241,"US","Q3292506"],["Greenwood Township",42.366,-88.421,14184,"US","Q978842"],["Morris",41.375,-88.428,14163,"US","Q576304"],["Allouez",44.474,-88.025,14156,"US","Q2310089"],["Cedar Lake",41.367,-87.438,14106,"US","Q2252920"],["Mount Pleasant Township",40.187,-85.506,14102,"US","Q6922977"],["Wauconda",42.267,-88.143,14084,"US","Q2670246"],["Alpine Township",43.066,-85.714,14079,"US","Q4735533"],["Little Rock Township",41.676,-88.546,14036,"US","Q8000453"],["Verona",42.99,-89.536,14030,"US","Q1569520"],["Wood Dale",41.967,-87.981,14012,"US","Q575546"],["Medina Township",40.83,-89.583,13976,"US","Q6806941"],["Noble Township",40.798,-85.852,13922,"US","Q7045806"],["Newell Township",40.21,-87.584,13875,"US","Q8000072"],["Shorewood",43.092,-87.886,13859,"US","Q1435893"],["Calumet Heights",41.728,-87.58,13812,"US","Q2934414"],["Union Township",41.373,-85.023,13718,"US","Q7886209"],["Mahomet Township",40.185,-88.406,13697,"US","Q5802713"],["Cedar Creek Township",41.225,-85.017,13684,"US","Q7996445"],["Western Springs",41.806,-87.901,13629,"US","Q2666737"],["Warrenville",41.821,-88.186,13553,"US","Q576023"],["Plover",44.454,-89.584,13519,"US","Q2671434"],["La Grange Park",41.83,-87.869,13475,"US","Q2358179"],["Lincolnwood",42.005,-87.734,13463,"US","Q2025535"],["Montclare",41.93,-87.8,13426,"US","Q3322499"],["Antwerp Township",42.197,-85.827,13425,"US","Q4777487"],["Auburn",41.367,-85.059,13412,"US","Q1075822"],["Archer Heights",41.81,-87.73,13393,"US","Q279159"],["Armour Square",41.84,-87.633,13391,"US","Q2862800"],["Channahon",41.429,-88.229,13383,"US","Q2672298"],["Hazel Crest",41.573,-87.686,13382,"US","Q2599354"],["Ionia",42.982,-85.067,13378,"US","Q2469271"],["LaSalle Township",41.333,-89.1,13369,"US","Q6460894"],["Glendale",43.13,-87.928,13357,"US","Q1569527"],["Flagg Township",41.937,-89.111,13296,"US","Q987723"],["Lincoln",40.148,-89.364,13288,"US","Q568563"],["Lake Station",41.57,-87.26,13235,"US","Q2087890"],["Stoughton",42.921,-89.224,13173,"US","Q1570402"],["Winfield Township",41.387,-87.253,12927,"US","Q5945719"],["Cleveland Township",41.722,-86.031,12858,"US","Q841879"],["Northlake",41.914,-87.905,12840,"US","Q578778"],["Suamico",44.632,-88.039,12820,"US","Q2221968"],["Richton Park",41.482,-87.725,12775,"US","Q2148211"],["Minooka",41.455,-88.26,12758,"US","Q2742114"],["Winnetka",42.106,-87.738,12744,"US","Q1016595"],["Cedar Creek Township",41.255,-87.379,12725,"US","Q5056649"],["Greenville",44.293,-88.527,12687,"US","Q123581296"],["Greenville",44.282,-88.584,12687,"US","Q3710324"],["Justice",41.746,-87.834,12600,"US","Q2456850"],["Fort Atkinson",42.927,-88.841,12579,"US","Q1570350"],["O'Hare",42,-87.92,12576,"US","Q3347404"],["Baraboo",43.468,-89.742,12556,"US","Q1023544"],["Kewanee",41.246,-89.925,12509,"US","Q578989"],["Brown Deer",43.173,-87.978,12507,"US","Q2346859"],["Streator",41.121,-88.835,12500,"US","Q577816"],["Harrison",44.227,-88.333,12418,"US","Q14714446"],["Rantoul",40.305,-88.152,12371,"US","Q1025637"],["Port Washington",43.393,-87.881,12353,"US","Q1016131"],["Pontiac Township",40.888,-88.643,12290,"US","Q943666"],["Fondulac Township",40.717,-89.533,12231,"US","Q5465020"],["Purdue University CDP",40.429,-86.924,12183,"US","Q5397138"],["Pipe Creek Township",40.244,-85.801,12125,"US","Q7197215"],["Cedarburg",43.288,-87.987,12121,"US","Q1052560"],["Grafton",43.319,-87.932,12094,"US","Q959651"],["Palos Heights",41.664,-87.796,12068,"US","Q578625"],["Midtown",41.577,-87.344,12056,"US","Q6843068"],["Algoma Township",43.167,-85.608,12055,"US","Q4724312"],["Zeeland Charter Township",42.815,-85.955,12008,"US","Q1921196"],["Niles",41.83,-86.253,11988,"US","Q2442951"],["Plano",41.663,-88.536,11847,"US","Q575061"],["Bruce Township",41.166,-88.846,11800,"USLine truncated