Search folder for photos in a gps coordinate range

Started by captainbogart, March 10, 2018, 08:37:52 PM

Previous topic - Next topic

captainbogart

 :D
Is there a way to search a huge folder for photos in a gps coordinate range and then copy those photos to a new folder?
Like everything between a north/west through south/east coordinates.  Am I asking for too much?   :D :D
The folder has every photo I've taken with my iPhones for the last 6 or 7 years and I want to copy all of the photos
taken in a certain area of town.
Thank you for any help.

Chris

Phil Harvey

exiftool -n -if "$gpslatitude>10 and $gpslatitude<12 and $gpslongitude ..." -directory=newdir -o . -r DIR

The -o . is necessary for the file to be copied instead of moved.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

captainbogart

That did the trick!  Now I just need to nail down the exact coordinates I'm looking for.
Thank you!
-Chris