Are these GPS-tags ok?

Started by Archive, May 12, 2010, 08:54:03 AM

Previous topic - Next topic

Archive

[Originally posted by linuxuser on 2007-04-13 21:08:36-07]

I try to add GPS and other geo-information with a shell-script, which are imported from a textfile. Groups of pictures are tagged with the same info, so sometimes the pictures could be made within a few meters or within hundreds of kilometers as a worst case. Which field would be a good idea to use for a gps-comment? The comment-fields are already used for other info. I am unsure how some tags have to be defined. Is it always ISO_3166-1? How are countries defined, in English or as the official name of the country? How are regions of a country or provinces defined? In English? It is not so easy to find out the English name of some provinces around the world. Do you think that this code would be ok:

Code:
exiftool -IPTC:Country-PrimaryLocationName="Germany" -XMP:Country="Germany" -IPTC:Country-PrimaryLocationCode="DEU" -XMP-iptcCore:CountryCode="DEU" -IPTC:Province-State="Bayern" -XMP:State="Bayern" -IPTC:City="Burghausen" -XMP:City="Burghausen" -XMP:ShotLocation="Burg" -GPS:GPSLatitude="48.156670" -GPS:GPSLatitudeRef="N" -GPS:GPSLongitude="12.829440" -GPS:GPSLongitudeRef="E" -GPS:GPSAltitude=389 -GPS:GPSAltitudeRef="above" -GPSMeasureMode=3 -GPSMapDatum="WGS-84"

Did I forget an important tag?

I also ask for tag, maybe in [Composite], which shows the gps-coordinates as a decimal-value. It looks like it doesn't matter how the input is made.

Archive

[Originally posted by exiftool on 2007-04-14 11:50:42-07]

I'll try to answer your questions:

1) There are many comment fields you can use: Comment (JPEG only), ImageDescription, UserComment and XPComment.  You can pick one to use for your GPS comment.

2) Read FAQ
#10
for a description of how coded character sets are handled.

3) Read the appropriate specification for details about country codes and tag
content:
EXIF,
XMP,
IPTC.

4) I don't see any obvious tags that you are missing.

5) Use the -n option to extract the GPS coordinates in decimal form.

- Phil