[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
<coordinates>
but not
<coordinates>-,-,0</coordinates>
. That does the trick but I assume there's an easier way than that.
Bye