[digiKam-users] Want to show pictures with geocoding in Piwigo

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Want to show pictures with geocoding in Piwigo

Lutz Epperlein-2
Hi,

I geocoded a bunch of my images and want to upload them afterwards in
my Piwigo gallery. Uploading is fine so far, the edited titles and
description are shown.
But the location of the image isn't shown on the map. I have to do the
geolocation again in Piwigo manually.

Why isn't the geolocation exported to Piwigo? Am I do something wrong?
This is with Digikam 5.9.0 on Linux.

Regards
Lutz


attachment0 (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

Remco Viëtor
On mardi 10 avril 2018 22:27:01 CEST Lutz Epperlein wrote:

> Hi,
>
> I geocoded a bunch of my images and want to upload them afterwards in
> my Piwigo gallery. Uploading is fine so far, the edited titles and
> description are shown.
> But the location of the image isn't shown on the map. I have to do the
> geolocation again in Piwigo manually.
>
> Why isn't the geolocation exported to Piwigo? Am I do something wrong?
> This is with Digikam 5.9.0 on Linux.

First thing to do it to make sure your image files actually carry the
geolocation data, and under which tag names.

If they are present, but Piwigo doesn't read them, it might be that Piwigp
expects a different tag (or format) than Digikam writes, or that Piwigo refuses
to take the data from the image metadata.

I don't know if this is relevant:
https://github.com/xbgmsharp/piwigo-openstreetmap/issues/109

Remco
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

Lutz Epperlein-2
Thanks for the answer.
I do the export to Piwigo using the plugin of digikam.
Further investigation reveals that this plugin seems to do something on
its own. The edited titles and descriptions are not in the exif data and
in the sidecar files. But these elements are shown in the gallery
itself, but not the coordinates. The gps coordinates aren't in exif data
and the sidecar too, aren't exported to the gallery. Digikam shows the
coordinates on the map.
The Piwigo version is up-to-date, so the mentioned issue should be
fixed.
I will do a test, writing the coordinates into a test image and export
it to Piwigo.

Regards
Lutz

Am 11.04.2018 07:33 schrieb Remco Viëtor:

> First thing to do it to make sure your image files actually carry the
> geolocation data, and under which tag names.
>
> If they are present, but Piwigo doesn't read them, it might be that
> Piwigp
> expects a different tag (or format) than Digikam writes, or that Piwigo
> refuses
> to take the data from the image metadata.
>
> I don't know if this is relevant:
> https://github.com/xbgmsharp/piwigo-openstreetmap/issues/109
>
> Remco
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

Lutz Epperlein-2
It seems to be all a bit complicated ...

At first, uploading images with gps coordinates will be processed by
piwigo.
But most of my pictures geocoded within digikam don't show the
coordinates in piwigo, simply because there aren't any coordinates in
the file.

I rechecked and double-checked my settings in digikam regarding
metadata. My settings are now:
- Behavior (the first tab at metadata settings, I have the German
  version of digikam, there is it called "Verhalten"):
  - Keywords
  - Description and title
  - Rating
  - Timestamp
  - Metadata templates
- Sidecars
  - Write in sidecar file: Write into image and XMP sidecar file

If I change the coordinates of an image they are written into the xmp
sidecar file and when I force to write the metadata into the picture
these coordinates appear in the exif data too. So far so good.

But if I want to write the gps data already exists into the image
nothing happens, the coordinates aren't in the exif data and in the xmp
sidecar file. Only if I touch the geolocation of the image again, it
will work.

Again, what I'm doing wrong or is there another way to workaround this
problem.

Thanks in advance
Lutz Epperlein


attachment0 (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

AndriusWild
Are you using digikam 5.9.0 ?

I think this malfunction has been fixed already.



Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Lutz Epperlein <[hidden email]>
Date: 2018-04-11 2:00 PM (GMT-07:00)
Subject: Re: [digiKam-users] Want to show pictures with geocoding in Piwigo

It seems to be all a bit complicated ...

At first, uploading images with gps coordinates will be processed by
piwigo.
But most of my pictures geocoded within digikam don't show the
coordinates in piwigo, simply because there aren't any coordinates in
the file.

I rechecked and double-checked my settings in digikam regarding
metadata. My settings are now:
- Behavior (the first tab at metadata settings, I have the German
  version of digikam, there is it called "Verhalten"):
  - Keywords
  - Description and title
  - Rating
  - Timestamp
  - Metadata templates
- Sidecars
  - Write in sidecar file: Write into image and XMP sidecar file

If I change the coordinates of an image they are written into the xmp
sidecar file and when I force to write the metadata into the picture
these coordinates appear in the exif data too. So far so good.

But if I want to write the gps data already exists into the image
nothing happens, the coordinates aren't in the exif data and in the xmp
sidecar file. Only if I touch the geolocation of the image again, it
will work.

Again, what I'm doing wrong or is there another way to workaround this
problem.

Thanks in advance
Lutz Epperlein

Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

Lutz Epperlein-2
Am Wed, 11 Apr 2018 14:09:43 -0600
schrieb Andrey Goreev <[hidden email]>:

> Are you using digikam 5.9.0 ?

Yes, this is 5.9.0 on SUSe Leap 42.3

attachment0 (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

AndriusWild
Probably Piwigo does not read the GPS tag created by your phone/camera. And probably digiKam writes GPS info in more than one tag one of which supported by Piwigo.



Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Lutz Epperlein <[hidden email]>
Date: 2018-04-11 2:20 PM (GMT-07:00)
Subject: Re: [digiKam-users] Want to show pictures with geocoding in Piwigo

Am Wed, 11 Apr 2018 14:09:43 -0600
schrieb Andrey Goreev <[hidden email]>:

> Are you using digikam 5.9.0 ?

Yes, this is 5.9.0 on SUSe Leap 42.3
Reply | Threaded
Open this post in threaded view
|

Re: Want to show pictures with geocoding in Piwigo

hajo
Not in front of Digikam, but I'd start with this (as far as it's still relevant today): http://digikam.1695700.n4.nabble.com/writing-tags-to-the-files-td4659225.html

and then use a tool like exiv2 or exiftools to investigate which metadata is actually written to _the original_ image file after geotagging in Digikam; checking if this metadata is also in the exported image file and then, if Piwigo doesn't pick up the coordinates, tagging the file again in Piwigo and checking where Piwigo wrote the coords to. That should pinpoint the detail that Piwigo is missing...

--
Sent from my mobile device, apologies for typos

PGP key: http://tinyurl.com/2016PGPKEY

On Thu, Apr 12, 2018 at 4:28 AM, Andrey Goreev <[hidden email]> wrote:
Probably Piwigo does not read the GPS tag created by your phone/camera. And probably digiKam writes GPS info in more than one tag one of which supported by Piwigo.



Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Lutz Epperlein <[hidden email]>
Date: 2018-04-11 2:20 PM (GMT-07:00)
Subject: Re: [digiKam-users] Want to show pictures with geocoding in Piwigo

Am Wed, 11 Apr 2018 14:09:43 -0600
schrieb Andrey Goreev <[hidden email]>:

> Are you using digikam 5.9.0 ?

Yes, this is 5.9.0 on SUSe Leap 42.3