Bug 225161 - picasaweb export does not export photo geotag
Summary: picasaweb export does not export photo geotag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-01 17:24 UTC by Philippe ROUBACH
Modified: 2018-01-30 21:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2010-02-01 17:24:32 UTC
Version:           1.1.0 (using 4.3.98 (KDE 4.3.98 (KDE 4.4 RC3)), Mandriva Linux release 2010.1 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.33-desktop-0.rc6.1mnb

select a photo
then
launch picasaweb export
then
start sending
then
go to picasaweb site there is no geotag for this photo

geotag is not uploaded
Comment 1 Philippe ROUBACH 2010-02-01 17:25:22 UTC
addendum to my description :

digikam 1.1
kipi-plugins 1.1
Comment 2 Philippe ROUBACH 2010-02-01 18:00:54 UTC
it's a regression

no pb with digikam 1.0, kipi-plugins 1.0
Comment 3 Jens Mueller 2010-02-01 20:35:20 UTC
There is a missunderstandment of GPSVersionID between Picasa and other Programs/Cameras. For example my D90 write a GPSVersionID of 2.2.0.0.
Picasa do (apparently) requires a GPSVersionID of 0.0.2.2 as described in #196593.

*** This bug has been marked as a duplicate of bug 196593 ***
Comment 4 Philippe ROUBACH 2010-02-01 21:05:21 UTC
as with digikam 1.0, kipi-plugins 1.0 there is no pb see my comment #2
i don't understand your comment #3
the bug #196593 is about kipi-plugins 0.3
Comment 5 Jens Mueller 2010-02-01 21:23:19 UTC
Philippe,

there is no relevant code change to this. This bug must be really that old. Are you shure that you testet this with the same image? I assume that at least a with real Picasa tagged image will work. Propably also a (*right* tagged) image downloaded from Picasa Web albums. But I will check this.

Jens
Comment 6 Philippe ROUBACH 2010-02-02 09:52:33 UTC
Digikam 1.0
kipi-plugins 1.0

i take a snapshot with my DC
then
i import this photo with digikam
then
i geotag this photo with digikam
then
i export this photo to picasaweb
then
i go to picasaweb
then
i display the photo
then
i see the geotag is well uploaded : there is a minimap in the right panel
then
i conclude : there is a regression from 1.0 to 1.1
Comment 7 Philippe ROUBACH 2010-02-02 10:39:56 UTC
Digikam 1.1
kipi-plugins 1.1

i import the same photo from my DC with digikam
then
i geotag this photo with digikam
then
i export this photo to picasaweb
then
i go to picasaweb
then
i display the photo
then
i see the geotag is not uploaded : there is no minimap in the right panel
then
i conclude : there is a regression from 1.0 to 1.1
Comment 8 Jens Mueller 2010-02-02 11:36:46 UTC
Philippe,

this sounds believable. Could you please test one case more: take a image, tag it with installed digikam 1.0 & kipi.plugins 1.0 and upload it with digikam 1.1 & kipi-plugins 1.1?

Regards, Jens
Comment 9 Philippe ROUBACH 2010-02-02 12:21:34 UTC
uploading a digikam 1.0 geotagged photo with digikam 1.1 to picasaweb

result : geotag is well uploaded, there is a minimap in the right panel of picasaweb page

i conclude : there is a regression from 1.0 to 1.1
Comment 10 Philippe ROUBACH 2010-02-02 12:22:44 UTC
it's time to reopen this bug report , isn't it.
Comment 11 Jens Mueller 2010-02-02 13:20:11 UTC
Yes, it is. But, when I'm not completely wrong, this implies that the regression is visible with picasa web export but not caused by picasa web export.

Jens
Comment 12 Philippe ROUBACH 2010-02-02 13:32:17 UTC
Ah ok you think there is something wrong not in the plugin but in digikam
Comment 13 Philippe ROUBACH 2010-02-02 15:15:47 UTC
are you aware about this bug report ?

bug #199145
Comment 14 Jens Mueller 2010-02-02 23:18:49 UTC
Philippe,

I setup a vm and upload images tagged with 1.0.0 and 1.1.0. All display fine with the corresponding minimap in picasaweb. Same for 1.2.0 svn. Could you please provide me a link here, where you geotagged a image with 1.1.0 (which is for you not working)

Regards, Jens
Comment 15 Philippe ROUBACH 2010-02-02 23:57:44 UTC
digikam 1.1 geotagged photo
geotag is not uploaded with digikam 1.1

http://epistemepromeneur.free.fr/probleme/100_0602.jpg
Comment 16 Jens Mueller 2010-02-03 19:49:22 UTC
It seems that picasaweb do not like the XMP GPS metadata entries. Uploading of your image without XMP data is fine (picasa web display the right minimap). You can also check this with Image -> Metadata -> Remove XMP before uploading.

@Gilles: are there any settings whether GPS data is saved in exif only or exif && XMP?

Jens
Comment 17 Philippe ROUBACH 2010-02-03 20:31:52 UTC
is it possible picasaweb by default automaticaly deletes xmp data
because nobody knows this pb with the ability to unactivate this feature if google switch to xmp ?

many thanks for your work
Comment 18 Philippe ROUBACH 2010-02-03 22:03:53 UTC
addendum to my comment #17

when i  say "delete xmp" i don't mean "delete in the original photo"
but make a copy without xmp then transfert this copy or don't transfert xmp data
Comment 19 caulier.gilles 2010-02-04 09:09:49 UTC
To Jens, #16,

No, XP and Exif are always synchronized about GPS info.

XMP is given as a replacement of Iptc and also Exif. You will found in XMP all standard tags from Exif (not Makernotes of course, and this is aan another problem)

In libkexiv2, a wrapper set right tags at the right place in Xmp and Exif. Code is there :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2gps.cpp#312

Note: libkexiv2 try to follow this Metadata Working Group paper : 

http://www.metadataworkinggroup.org/specs/

Gilles Caulier
Comment 20 Jens Mueller 2010-02-04 18:13:44 UTC
@Phillipe: which KDE SC / LibKExiv2 version do you running alongside your Digikam 1.1? 

@Gilles: I think I got it, XMP GPS Metadata is new to KDE SC 4.4, right?

Jens
Comment 21 Philippe ROUBACH 2010-02-04 22:58:05 UTC
Mandriva 2010.1 alpha1 (cooker)
kde 4.4rc3 (4.3.98)

digiKam version 1.1.0
Exiv2 can write to Pgf: Non
Exiv2 peut écrire dans un fichier Jp2: Oui
Exiv2 peut écrire dans un fichier Jpeg: Oui
Exiv2 peut écrire dans un fichier Png: Oui
Exiv2 peut écrire dans un fichier Tiff: Oui
Exiv2 prend en charge les méta-données XMP: Oui
LibCImg: 130
LibExiv2: 0.19
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.3.98 (KDE 4.3.98 (KDE 4.4 RC3))
LibKExiv2: 1.0.0
LibKdcraw: 1.0.0
LibLCMS: 119
LibPGF: 6.09.44
LibPNG: 1.2.41
LibQt: 4.6.1
LibRaw: 0.8.5
LibTIFF: LIBTIFF, Version 3.9.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Parallelized demosaicing: Non
Élément graphique Marble: 0.9
LibGPhoto2: 2.4.8
Libkipi: 1.0.0
Comment 22 caulier.gilles 2010-02-05 11:23:56 UTC
yes, it's news with KDE 4.4. If i remember, ther is not GPS XMP metadata handling in libkexiv2 from KDE <= 4.3.x

Gilles
Comment 23 Jens Mueller 2010-02-06 00:16:34 UTC
SVN commit 1085802 by jmueller:

do not send XMP data in upload as Picasa do

BUGS: 225161  

 M  +2 -1      NEWS  
 M  +3 -0      picasawebexport/picasawebwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1085802
Comment 24 Philippe ROUBACH 2010-02-06 09:18:25 UTC
i am very happy

thanks
Comment 25 Jens Mueller 2010-02-06 10:17:30 UTC
I do further test today, it looks like picasaweb changed its backend (see also #225646). As of today, XMP tags are not confusing picasa anymore.

@Philippe: can you confirm? (take a picture, tag it with digikam 1.1/KDE SC 4.4 RC), check for existing XMP tags and upload it)
Comment 26 Philippe ROUBACH 2010-02-06 10:40:16 UTC
sorry but i don't use svn digikam or plugins version
Comment 27 Jens Mueller 2010-02-06 10:45:52 UTC
No, Phillipe, you can do this with your existing Digikam 1.1 installation. It looks like that my patch for 1.2 is not neccessary anymore.
Comment 28 Philippe ROUBACH 2010-02-06 17:01:59 UTC
success

tag
geotag
caption

are well uploaded

i am impatient for movie
i test it
only tag, caption are uploaded
and movie is not well uploaded
Comment 29 Jens Mueller 2010-02-08 23:17:53 UTC
SVN commit 1087377 by jmueller:

revert commit 1085802, as picasaweb is not confused by xmp tags anymore

CCBUGS: 225161

 M  +1 -1      picasawebwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1087377