Picasa metadata into EXIF with ExifTool

Started by yarda, February 26, 2016, 01:55:12 PM

Previous topic - Next topic

yarda

Hello there,

I've noticed that you discussed Picasa-related topics before. So, maybe you can help me with this one too...

I do not want to invest too much time into developing a script/something which might be around already - did not find anything on Google tho'.. :-)

I have the famous .picasa.ini file which contains sections like the following one:

[20160131.Picture.jpg]
caption=31/01 - Beautiful picture
geotag=50.035803,14.135728
originhash=23f1c865ba7a03ee0000000000000000
rotate=rotate(0)

And I would like to export caption and geotag ideally into the following XML structure as the life would be easy for me then... :-D

<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF>
<rdf:Description>
<FileName>20160131.Picture.jpg</FileName>
<Description>31/01 - Beautiful picture</Description>
<GPS:GPSLatitude>50.035803</GPS:GPSLatitude>
<GPS:GPSLongitude>14.135728</GPS:GPSLongitude>
<GPS:GPSAltitude></GPS:GPSAltitude>
</rdf:Description>
</rdf:RDF>

Any ideas how to parse the flat structure into xml with something which is around already?

Thank you,
Yarda.

StarGeek

That's interesting.  What version of Picasa are you using?  I've never seen those entries in my .picasa.ini files.  For me, the caption was always written directly to the XMP:Description tag.  I never tried to geotag with Picasa and it currently doesn't work for me, throwing a script error with the google map api.   

"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

yarda

Just download a web album into Picasa - I use 3.9 (I think), the latest.(for sure). The .picasa.ini contains other valuable info. Maps working for me like a charm - I mean, not for long as Google announced the retirement of Picasa.