Hi,
my camera has built-in gps. When a position cannot be established, the camera writes 0-0-0 coordinates into the exif data.
I would like to remove geotags for all pictures with zero coordinates. How can I do that?
Offtopic: How can exiftool renew preview pictures?
Cheers
Andreas
Hi Andreas,
You could do something like this:
exiftool -gps:all= -if "$gpslatitude# == 0" DIR
Where DIR is the name of a directory containing the images. (Note: Use double quotes as above in Windows, or single quotes in Mac/Linux.)
ExifTool can write preview images but it can't generate them. (ExifTool doesn't do any image manipulation.) You need to use another utility to generate the preview.
- Phil
Thanks a lot!
I ended up with -overwrite_original -gpsLatitude= -GPSLongitude= -GPSVersionID= -if "$gpslatitude# == 0" *.jpg, so height and compass information are preserved
Cheers
Andreas