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":[["Pucusana",-12.482,-76.798,14891,"PE","Q7258273"],["San Agustín",-11.972,-75.256,14310,"PE","Q49278126"],["Chilca",-12.519,-76.739,13920,"PE","Q16890238"],["Oxapampa",-10.58,-75.4,12826,"PE","Q1014523"],["Supe Puerto",-10.805,-77.743,12786,"PE","Q3504032"],["Supe",-10.797,-77.713,12492,"PE","Q33499647"],["San Jerónimo de Tunán",-11.949,-75.283,11601,"PE","Q33479561"],["Pativilca",-10.696,-77.774,11467,"PE","Q3368805"],["Yanahuanca",-10.491,-76.514,11333,"PE","Q3344095"],["Quilmaná",-12.95,-76.384,10491,"PE","Q27194717"],["Santa Eulalia",-11.897,-76.663,9941,"PE","Q33481268"],["Chupaca",-12.062,-75.287,9877,"PE","Q3344173"],["Santa Rosa de Sacco",-11.567,-75.956,8956,"PE","Q130483348"],["Yauyos",-11.781,-75.499,8637,"PE","Q130483296"],["Caleta de Carquín",-11.092,-77.627,8049,"PE","Q34789278"],["Ambo",-10.131,-76.205,7444,"PE","Q3317423"],["Huayllay",-11.001,-76.373,6736,"PE","Q13191218"],["Huamancaca Chico",-12.081,-75.242,6581,"PE","Q130483323"],["Aucallama",-11.562,-77.173,6504,"PE","Q137716780"],["Huayucachi",-12.138,-75.223,6477,"PE","Q49277584"],["Huariaca",-10.442,-76.19,6175,"PE","Q137708733"],["Saño",-11.957,-75.257,5491,"PE","Q130483293"],["Ricardo Palma",-11.924,-76.66,5358,"PE","Q33475284"],["Hualhuas",-11.972,-75.251,5251,"PE","Q130483291"],["Sayán",-11.133,-77.195,4422,"PE","Q33481992"],["Chongos Bajo",-12.134,-75.268,3764,"PE","Q131394414"],["San Mateo, Huarochirí Province",-11.761,-76.309,3669,"PE","Q27783597"],["Chiquián",-10.151,-77.156,3641,"PE","Q1074644"],["Matahuasi",-11.894,-75.344,3268,"PE","Q130483339"],["Ahuac",-12.086,-75.321,3137,"PE","Q27194427"],["Sausa",-11.794,-75.484,3060,"PE","Q131394441"],["Yauli",-11.666,-76.087,2993,"PE","Q130483360"],["Quilcas",-11.937,-75.259,2989,"PE","Q130483295"],["Palca",-11.346,-75.569,2724,"PE","Q115164510"],["Tres de Diciembre",-12.11,-75.246,2665,"PE","Q130483326"],["El Carmen",-13.5,-76.058,2639,"PE","Q28314364"],["Santa Ana de Tusi",-10.472,-76.354,2632,"PE","Q137708743"],["Lunahuaná",-12.963,-76.142,2617,"PE","Q1877336"],["Viques",-12.16,-75.232,2589,"PE","Q130483294"],["Tate de La Capilla",-14.156,-75.708,2544,"PE","Q33505671"],["San Pedro de Cajas",-11.251,-75.861,2495,"PE","Q25400021"],["Pucucho",-11.822,-75.392,2459,"PE","Q130483300"],["Ninacaca",-10.856,-76.113,2400,"PE","Q55129680"],["Muquiyauyo",-11.814,-75.454,2311,"PE","Q131394979"],["Pucará",-12.172,-75.145,2220,"PE","Q131395032"],["San Lorenzo",-11.847,-75.382,2165,"PE","Q130483315"],["San Rafael",-10.338,-76.182,2056,"PE","Q137700490"],["Santo Domingo del Prado",-11.898,-75.318,2023,"PE","Q130483338"],["Huácar",-10.16,-76.237,2019,"PE","Q137700482"],["Ocros",-10.404,-77.396,2000,"PE","Q3317427"],["Leticia",-11.377,-75.752,1999,"PE","Q119109056"],["Tomayquichua",-10.078,-76.213,1950,"PE","Q26980595"],["Churin",-10.817,-76.883,1834,"PE","Q5118292"],["Iscozacín",-10.184,-75.15,1814,"PE","Q137708750"],["Cauri",-10.142,-76.626,1704,"PE","Q113368834"],["Canta",-11.467,-76.624,1646,"PE","Q3322638"],["Tapuc",-10.455,-76.462,1644,"PE","Q137708744"],["Sincos",-11.892,-75.387,1454,"PE","Q131394982"],["Castrovirreyna",-13.278,-75.316,1449,"PE","Q3348254"],["Vicco",-10.841,-76.236,1400,"PE","Q42894269"],["Río Grande",-14.52,-75.201,1394,"PE","Q33476950"],["San Miguel",-12.015,-75.346,1387,"PE","Q130483331"],["Vilcabamba",-10.479,-76.447,1364,"PE","Q137708746"],["Margos",-10.005,-76.523,1324,"PE","Q137700452"],["Huancaní",-11.864,-75.414,1321,"PE","Q131395005"],["Goyllarisquizga",-10.475,-76.408,1320,"PE","Q137708737"],["Huáchac",-12.02,-75.341,1311,"PE","Q130483322"],["Pazos",-12.259,-75.07,1301,"PE","Q131176134"],["Huacrapuquio",-12.174,-75.219,1297,"PE","Q130483290"],["Huamalí",-11.807,-75.424,1290,"PE","Q130483306"],["Cajatambo",-10.473,-76.994,1275,"PE","Q2638247"],["Chontabamba",-10.603,-75.439,1221,"PE","Q137708736"],["Huachón",-10.636,-75.951,1221,"PE","Q137708738"],["Paccha",-11.473,-75.96,1213,"PE","Q130312656"],["Ticlacayán",-10.534,-76.164,1212,"PE","Q137708742"],["Aco",-11.958,-75.368,1209,"PE","Q130483333"],["Apata",-11.855,-75.354,1206,"PE","Q131394386"],["Asia",-12.779,-76.557,1198,"PE","Q126021564"],["Santa Rosa",-11.877,-75.295,1198,"PE","Q13190718"],["Pozuzo",-10.067,-75.533,1194,"PE","Q278871"],["San Antonio de Rancas",-10.69,-76.317,1193,"PE","Q137708741"],["Marca",-10.089,-77.474,1191,"PE","Q13190032"],["Huay-Huay",-11.723,-75.905,1130,"PE","Q130483346"],["Quichuay",-11.89,-75.286,1128,"PE","Q13190448"],["San Pedro de Pillao",-10.439,-76.495,1099,"PE","Q137708749"],["Jarpa",-12.126,-75.436,1073,"PE","Q131394496"],["Muqui",-11.833,-75.434,1013,"PE","Q130483302"],["Huancabamba",-10.426,-75.524,1012,"PE","Q137708739"],["Huaricolca",-11.512,-75.653,1011,"PE","Q115239543"],["Ataura",-11.803,-75.438,1006,"PE","Q131394405"]]}