

"-gpstimestamp<$-00:00"įinally if I do a visual comparison of data from the same file with valid timezone data (right) and one without (left) the addition of "Date/Time Digitized" stands out as being added, so I'm guessing this is why that file works. So simply put how do I set the time zone for GPS data? I've tried the following commands and a range of others which all fail.

If I use GeoSetter to set the time zone then upload to Flickr it now puts it in the correct position. So Flickr gets it wrong, but GeoSetter gets it right from the exact same image.Īfter digging around I find this is the reason. So after checking another tool (GeoSetter) which has a map preview, it loads the same image and put it in the correct position? This drops the negative from the longitude and puts the GPS tag in the wrong position (as if the value was +ve)Īfter doing the xmp based command and I load the file into say Flickr it will put it's location in the exact same spot as if the longitude value was positive! exiftool -gpslatitude -gpslongitude -GPSAltitude -gpsxyaccuracy -gpszaccuracy -pitch -yaw -roll -T -n 0001.I have a GPS file containing data such as Then we import the extracted GPS coordinates from exif into QGIS to visualize and analyse the dataĪnother example to get exif data from an RTK drone is to use the next command, this is just for one image, but you can modify the command as above in order to get data for an entire directory with images.

In our case E:\DRONE folder contains multiple other folders. In order to run the script and get the data we want just simply run the following command: exiftool -r -filename -gpslatitude -gpslongitude -GPSAltitude -createdate -GPSDateStamp -GPSTimeStamp -T -n E:\DRONE > C:\Users\christos\OneDrive\Desktop\out.txt To do this press window+R and write cmd in the dialog box, then change the directory to C:/ by writing cd C:/

In order to run exiftool we open command line. In this post we aim to get GPS coordinates from exif from images in all of our sub-directories in order to create a database with all the image data we got up to date.įirst of all we download exif tool for windows from, we get the file exiftool(-k).exe and we renaim it to exiftool.exe, then copy and paste in C:/ direcotry Exiftool is a simple yet powerful tool to edit exif data from images.
