This is probably something really obvious, sorry if I'm being stupid but I'm having problems extracting GPS coordinates from a whole bunch of .cr2 files. I've tried the below cmd as per previous forum entry:
exiftool -gpslatitude -gpslongitude -csv DIR > filename.csv
This yields only two columns SourceFile and FileName. I also tried the below cmd to get all GPS data:
exiftool -a -gps:all -csv DIR > filename.csv
Here the csv contains the columns; GPSVersionID; GPSAltitudeRef; GPSSatellites; GPSStatus; GPSImgDirectionRef; GPSImgDirection, and; GPSMapDatum
When I right click the .cr2 and select properties the coordinates are displayed in the GPS section, so I know that they're in there. It just seems like exiftool can't see them for some reason.
Any ideas much appreciated.
Quote from: RichG on August 20, 2014, 05:53:25 AM
exiftool -gpslatitude -gpslongitude -csv DIR > filename.csv
This yields only two columns SourceFile and FileName.
Very odd. There should be no FileName column with this command.
QuoteI also tried the below cmd to get all GPS data:
exiftool -a -gps:all -csv DIR > filename.csv
Here the csv contains the columns; GPSVersionID; GPSAltitudeRef; GPSSatellites; GPSStatus; GPSImgDirectionRef; GPSImgDirection, and; GPSMapDatum
When I right click the .cr2 and select properties the coordinates are displayed in the GPS section, so I know that they're in there. It just seems like exiftool can't see them for some reason.
Apparently the coordinates are not stored in the usual location. If you post the CR2 file (or email it to me: philharvey66 at gmail.com), I'll take a look.
- Phil
Quote from: Phil Harvey on August 20, 2014, 07:16:39 AM
Very odd. There should be no FileName column with this command.
My bad, it also contained the -filename switch.
Confession time - those cmd's work fine on all my other CR2's, apart from those I had tested on (naturally) as they didn't contain any coordinates. Oh the shame.....
Thanks Phil