How to extract GPS coordinates from TIFF image file

Started by shailaja.vemula, April 25, 2019, 02:04:20 PM

Previous topic - Next topic

shailaja.vemula

Hi,

I am trying to find GPS coordinates information from TIFF image files using ExifTool but I am unable to find them. Can you please guide me?


Thanks.

Phil Harvey

exiftool "-gps*" SOME_FILE.tiff

If this produces no output, then the file probably doesn't contain GPS information.

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

shailaja.vemula

Sorry, I am new to this.  SOME_FILE.tiff - is this should be a file name?

Thanks.

StarGeek

Yes.

If your current directory is the one that has the image, then all you need is the image name.  Otherwise you'll need to provide the full path.  For single files, you can drag the file from the desktop into the command/terminal window.  If you have more files, Linux/Mac supports dragging multiple files, but Windows doesn't.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

shailaja.vemula

#4
Hi,

I attached a screenshot which is showing an error, can you please look at this?


Thanks.



SG edit: inlined image

StarGeek

You need a space after "-gps*" otherwise the filename gets connected to the tag name.

My apologies for not mentioning it if you're dragging/dropping like I suggested.

The second error seems to be an incorrect file name.  I'm assuming the .tiff was added afterwards.  Otherwise, if the file exists, it should have worked.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

shailaja.vemula

Hi,

Amazing, it worked. Thank you very much for your help.