News for hackers. Stuff that matters.
Re:Run Clip on iPhone to Search Photos by mazzystar on Tuesday February 07, 2023 @04:16AM (#34690498)
Maybe an offline mapping table + a bit of similarity algorithm can roughly solve this problem, just not too precise for cities.
Re:Run Clip on iPhone to Search Photos by geocar on Tuesday February 07, 2023 @05:47AM (#34691116)
Why 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.

Re:Run Clip on iPhone to Search Photos by mazzystar on Tuesday February 07, 2023 @06:18AM (#34691309)
Maybe you're right, I'll try.
Re:Run Clip on iPhone to Search Photos by tough on Wednesday February 08, 2023 @09:55AM (#34708810)
Mapbox 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?
Re:Run Clip on iPhone to Search Photos by mazzystar on Wednesday February 08, 2023 @08:49PM (#34718692)
My 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.