4 ms·
Maybe an offline mapping table + a bit of similarity algorithm can roughly solve this problem, just not too precise for cities.
by mazzystar 4y ago
Maybe an offline mapping table + a bit of similarity algorithm can roughly solve this problem, just not too precise for cities.
- geocar 4y agoWhy not? How many cities do you think there are? Including a dump of just lat/lon/rad->city from openstreetmap probably kilobytes. Including towns and features might be low megabytes.
- mazzystar 4y agoMaybe you're right, I'll try.
- tough 4y agoMapbox added offline map support a few years back on their SDKs, Found a couple medium articles on it, but no code to share. Wondering if there might be any mapbox FOSS replacements that offer this?
- mazzystar 4y agoMy current idea is probably: store the latitude and longitude of major cities in the world in a txt file, load it, and then estimate the distance based on the difference between them and the current photo, not sure about the space taken and the time consumed.