Automatic filling of IPTC/XMP location tags based on GPS coordinates

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

Automatic filling of IPTC/XMP location tags based on GPS coordinates

Milan Knížek
Hello,

are there any plans among digiKam developers to implement automatic
population of location tags on the basis of GPS coordinates? (I.e.
search through internet databases and fill country and city, which is
closest to the GPS location.)

There seem to be some tools for MS Windows: http://www.geosetter.de/en
But I have not found anything for linux.

Regards,

Milan Knizek
knizek (dot) confy (at) volny (dot) cz
http://www.milan-knizek.net - About linux and photography (Czech
language only)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Michael G. Hansen
Hi Milan,

On 05/09/2010 10:31 AM, Milan Knížek wrote:
> Hello,
>
> are there any plans among digiKam developers to implement automatic
> population of location tags on the basis of GPS coordinates? (I.e.
> search through internet databases and fill country and city, which is
> closest to the GPS location.)

yes, there are! Gabriel Voicu is working on this as part of his GSOC
project. We intend to get data from Google Maps reverse geocoding,
openstreetmap nominatim and geonames.org.

Cheers,

Michael

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Milan Knížek
Michael G. Hansen píše v Ne 09. 05. 2010 v 11:28 +0200:
> On 05/09/2010 10:31 AM, Milan Knížek wrote:
> > are there any plans among digiKam developers to implement automatic
> > population of location tags on the basis of GPS coordinates? (I.e.
> > search through internet databases and fill country and city, which is
> > closest to the GPS location.)
>
> yes, there are! Gabriel Voicu is working on this as part of his GSOC
> project. We intend to get data from Google Maps reverse geocoding,
> openstreetmap nominatim and geonames.org.

Excelent! I hope that finally the xmp location tags will find their way
into digiKam also for easy editing and searching.

regards,

Milan Knizek
knizek (dot) confy (at) volny (dot) cz
http://www.milan-knizek.net - About linux and photography (Czech
language only)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Michael G. Hansen
On 05/09/2010 02:33 PM, Milan Knížek wrote:

> Michael G. Hansen píše v Ne 09. 05. 2010 v 11:28 +0200:
>> On 05/09/2010 10:31 AM, Milan Knížek wrote:
>>> are there any plans among digiKam developers to implement automatic
>>> population of location tags on the basis of GPS coordinates? (I.e.
>>> search through internet databases and fill country and city, which is
>>> closest to the GPS location.)
>>
>> yes, there are! Gabriel Voicu is working on this as part of his GSOC
>> project. We intend to get data from Google Maps reverse geocoding,
>> openstreetmap nominatim and geonames.org.
>
> Excelent! I hope that finally the xmp location tags will find their way
> into digiKam also for easy editing and searching.

I did not think about these yet, but will have a look. Thanks for the hint!

Michael

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Michael G. Hansen
In reply to this post by Milan Knížek
On 05/09/2010 02:33 PM, Milan Knížek wrote:

> Michael G. Hansen píše v Ne 09. 05. 2010 v 11:28 +0200:
>> On 05/09/2010 10:31 AM, Milan Knížek wrote:
>>> are there any plans among digiKam developers to implement automatic
>>> population of location tags on the basis of GPS coordinates? (I.e.
>>> search through internet databases and fill country and city, which is
>>> closest to the GPS location.)
>>
>> yes, there are! Gabriel Voicu is working on this as part of his GSOC
>> project. We intend to get data from Google Maps reverse geocoding,
>> openstreetmap nominatim and geonames.org.
>
> Excelent! I hope that finally the xmp location tags will find their way
> into digiKam also for easy editing and searching.

Just to be sure we are talking about the same thing here: You mean the
City/Sublocation/State/Province/Country fields in the "Edit
Metadata->XMP->Origin" plugin?

Output of exiv2 -PX
Xmp.photoshop.City                   XmpText     8  somecity
Xmp.photoshop.State                  XmpText    14 state/province
Xmp.photoshop.Country                XmpText     7  Germany
Xmp.iptc.Location                    XmpText    11  sublocation
Xmp.iptc.CountryCode                 XmpText     3  DEU

Cheers,

Michael

--
Michael Hansen - [hidden email]
http://www.pfna.de/
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Gilles Caulier-4
2010/5/9 Michael G. Hansen <[hidden email]>:

> On 05/09/2010 02:33 PM, Milan Knížek wrote:
>> Michael G. Hansen píše v Ne 09. 05. 2010 v 11:28 +0200:
>>> On 05/09/2010 10:31 AM, Milan Knížek wrote:
>>>> are there any plans among digiKam developers to implement automatic
>>>> population of location tags on the basis of GPS coordinates? (I.e.
>>>> search through internet databases and fill country and city, which is
>>>> closest to the GPS location.)
>>>
>>> yes, there are! Gabriel Voicu is working on this as part of his GSOC
>>> project. We intend to get data from Google Maps reverse geocoding,
>>> openstreetmap nominatim and geonames.org.
>>
>> Excelent! I hope that finally the xmp location tags will find their way
>> into digiKam also for easy editing and searching.
>
> Just to be sure we are talking about the same thing here: You mean the
> City/Sublocation/State/Province/Country fields in the "Edit
> Metadata->XMP->Origin" plugin?
>
> Output of exiv2 -PX
> Xmp.photoshop.City                   XmpText     8  somecity
> Xmp.photoshop.State                  XmpText    14 state/province
> Xmp.photoshop.Country                XmpText     7  Germany
> Xmp.iptc.Location                    XmpText    11  sublocation
> Xmp.iptc.CountryCode                 XmpText     3  DEU

These tags exist too in IPTC schema, where XMP is an adaptation. Of
course, XMP is the right way to set these information to metadata,
instead to used IPTC. At leaset both can be synchronized when it's
possible. Remember IPTC limitation in strings size and char encoding.

http://www.exiv2.org/iptc.html

http://www.exiv2.org/tags-xmp-photoshop.html

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Marcel Wiesweg
In reply to this post by Michael G. Hansen


> > Excelent! I hope that finally the xmp location tags will find their way
> > into digiKam also for easy editing and searching.
>
> I did not think about these yet, but will have a look. Thanks for the hint!

These fields are as far as I remember scanned, stored in the database and
edited with the Template mechanism already. No support in Advanced search, but
that's easy.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Gabriel Voicu
Hello everyone,

    My project from this year GSoC has included the integration of "Search by location" into the Advanced Search tool, too. If you have suggestion about it, just let me know.

Best Regards,

Gabriel Voicu

On Mon, May 10, 2010 at 7:27 PM, Marcel Wiesweg <[hidden email]> wrote:


> > Excelent! I hope that finally the xmp location tags will find their way
> > into digiKam also for easy editing and searching.
>
> I did not think about these yet, but will have a look. Thanks for the hint!

These fields are as far as I remember scanned, stored in the database and
edited with the Template mechanism already. No support in Advanced search, but
that's easy.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Milan Knížek
In reply to this post by Gilles Caulier-4
Gilles Caulier píše v Po 10. 05. 2010 v 12:30 +0200:

> 2010/5/9 Michael G. Hansen <[hidden email]>:
> >
> > Just to be sure we are talking about the same thing here: You mean the
> > City/Sublocation/State/Province/Country fields in the "Edit
> > Metadata->XMP->Origin" plugin?
> >
> > Output of exiv2 -PX
> > Xmp.photoshop.City                   XmpText     8  somecity
> > Xmp.photoshop.State                  XmpText    14 state/province
> > Xmp.photoshop.Country                XmpText     7  Germany
> > Xmp.iptc.Location                    XmpText    11  sublocation
> > Xmp.iptc.CountryCode                 XmpText     3  DEU
>
Yes, that is what I meant.

> These tags exist too in IPTC schema, where XMP is an adaptation. Of
> course, XMP is the right way to set these information to metadata,
> instead to used IPTC. At leaset both can be synchronized when it's
> possible. Remember IPTC limitation in strings size and char encoding.

I had used only the original IPTC schema in the past years, but during
the last weekend I migrated those to the new XMP schema as Michael
wrote.

I plan to keep both XMP/IPTC location schemas updated also for the
future, even that it requires to use other software then digiKam at the
moment :-(

regards,

Milan Knizek
knizek (dot) confy (at) volny (dot) cz
http://www.milan-knizek.net - About linux and photography (Czech
language only)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Milan Knížek
In reply to this post by Gabriel Voicu
Gabriel Voicu píše v Po 10. 05. 2010 v 19:36 +0300:
> Hello everyone,
>
>
>     My project from this year GSoC has included the integration of
> "Search by location" into the Advanced Search tool, too. If you have
> suggestion about it, just let me know.

I do not have special needs - search by name for individual XMP location
tags like it exists for other picture properties would be sufficient.


Alternative search technique would be to pin point a place on the globe
(pre-searched by entering country or town or street) and to define
area/range around that point in km/miles. The result of the query should
be images with GPS location in that perimeter or images without GPS info
but with XMP location.

There is already a geo-location tab in the interface for displaying the
selected image on the globe, so instead of preparing a new GUI, this
existing one could be made interactive.

regards,

Milan Knizek
knizek (dot) confy (at) volny (dot) cz
http://www.milan-knizek.net - About linux and photography (Czech
language only)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Gabriel Voicu
Hello,
 
I do not have special needs - search by name for individual XMP location
tags like it exists for other picture properties would be sufficient.


It's OK, this part is integrated in my Google Summer of Code project . If you want and want to speak more about this subject, you can follow my blog here: www.digikam.org/drupal/blog/150 .
 

Alternative search technique would be to pin point a place on the globe
(pre-searched by entering country or town or street) and to define
area/range around that point in km/miles. The result of the query should
be images with GPS location in that perimeter or images without GPS info
but with XMP location.

There is already a geo-location tab in the interface for displaying the
selected image on the globe, so instead of preparing a new GUI, this
existing one could be made interactive.

Thank you for the idea. Me and Michael Hansen have thought on some ideas (one of them was the one proposed by you), but we haven't decided yet on how the "Search by location tool" will be improved. 

Best Regards,

Gabriel


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Automatic filling of IPTC/XMP location tags based on GPS coordinates

Marcel Wiesweg

> > Alternative search technique would be to pin point a place on the globe
> > (pre-searched by entering country or town or street) and to define
> > area/range around that point in km/miles. The result of the query should
> > be images with GPS location in that perimeter or images without GPS info
> > but with XMP location.
> >
> > There is already a geo-location tab in the interface for displaying the
> > selected image on the globe, so instead of preparing a new GUI, this
> > existing one could be made interactive.
>
> Thank you for the idea. Me and Michael Hansen have thought on some ideas
> (one of them was the one proposed by you), but we haven't decided yet on
> how the "Search by location tool" will be improved.

Gabriel, there is already support for the "radius search" (one coordinate and
radius) and "rectangle search" (two coordinates) in the backend. You just need
to write the Search XML for that two work.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users