Main Menu

Negative Coordinates

Started by dtapia, January 08, 2019, 03:38:19 AM

Previous topic - Next topic

dtapia

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


dtapia

Hello,

I used GPSlongitudeRef "W" and it worked.

Phil Harvey

I'm glad you figured this out.  It was FAQ 14.

- 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 ($).