Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: EvanThoms on June 05, 2012, 10:24:39 PM

Title: PS not recognizing GPSAltitude tag
Post by: EvanThoms on June 05, 2012, 10:24:39 PM
I am geotagging photos through a python script. PS recognizes the lat and long tags but it always imports 0 for the Altitude. When I look at the tags in Irfanview, the altitude is interpreted correctly, so it would appear that it's getting written correctly. An example and the script is attached. Any suggestions?
Title: Re: PS not recognizing GPSAltitude tag
Post by: Dmitry Semyonov on June 07, 2012, 08:36:12 PM
Hello Evan,

Thank you for reporting the problem. We can confirm that GPSAltitude EXIF tag is not imported correctly from TIFF files in 0.8.5 version. Altitude information from JPEG files is imported properly.

The problem will be fixed in the next update. At the moment you can try using JPEG files as a workaround or load GPS data from external file.

Sorry for inconvenience.
Title: Re: PS not recognizing GPSAltitude tag
Post by: EvanThoms on June 12, 2012, 10:50:02 PM
Ok, thanks. Actually it was just couple more lines of code to write out a text file from which the XYZ are imported just fine.