ExifTool Forum

General => Metadata => Topic started by: dtapia on January 08, 2019, 03:38:19 AM

Title: Negative Coordinates
Post by: dtapia on January 08, 2019, 03:38:19 AM
Hello all

I use to work importing metadata from a CSV to images. My problem appears when I work with negative coordinates (for example longitude). I try to import a negative longitude, but when I use another program to check it, I see that the longitute transformed in positive (so the photo appears in other location).

Here is my CSV sample:

SourceFile,GPSLatitude,GPSLongitude,GPSAltitude,GPSPitch,GPSRoll,GPSImgDirection
ladybug_panoramic_000000.jpg,36.70900498,-4.413488588,5.2,179,5,10

And here is my code:
exiftool -config example.config -csv="GPS.csv" *.jpg

I would appreciate any help with this.
Thanks all

Title: Re: Negative Coordinates
Post by: dtapia on January 08, 2019, 03:41:36 AM
Hello,

I used GPSlongitudeRef "W" and it worked.
Title: Re: Negative Coordinates
Post by: Phil Harvey on January 08, 2019, 07:01:12 AM
I'm glad you figured this out.  It was FAQ 14 (https://exiftool.org/faq.html#Q14).

- Phil