Main Menu

Enforcement of Tags

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

Previous topic - Next topic

Archive

[Originally posted by runningwolf on 2009-07-27 08:46:10-07]

Hi,

I got another little prob.
I use the tags $filename, $ImageDescription, $usercomment as well as $gpslongitude,$gpslatitude. But not all of my images contain all data. E.g. if there's no usercomment, exiftool will not only ignore that tag but also the entire entry in the -p file (combines $filename, $ImageDescription, $usercomment). So I used option -f to enforce them (even if empty ones are replaced by "-"). Prob. then is that the geotag will also be filled with "-" if not present.
Since I want to launch google only if geotags are found I wrote a little program checking for the existance of
Code:
<coordinates>
but not
Code:
<coordinates>-,-,0</coordinates>
. That does the trick but I assume there's an easier way than that.

Bye

Archive

[Originally posted by runningwolf on 2009-08-11 16:38:02-07]

Any hint on this?

Cheerio........