extragear/libs/kipi-plugins/gpssync

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

extragear/libs/kipi-plugins/gpssync

Gilles Caulier
SVN commit 587073 by cgilles:

kipi-plugins from trunk : new plugin to synchronize pictures metadata with a GPS data file.

First beta version of GPSSync kipi-plugin is now available for testing.

To use it, you need a GPX xml file generated by your GPS device. The GPX file must be generated to render a wayspoints or trackpoints list.

If your GPS device do not support GPX, you can generate it using GPSBabel program like this :

# gpsbabel -w -i mapsource -f Driveback.mps -o gpx -F Driveback.gpx  

The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s is used to diff camera and GPS time-stamp. Of course, the date of your GPS device and your camera must be set properly (:=))).

Some links:

GPSBalbel: http://www.gpsbabel.org
GPX file format: http://www.topografix.com/gpx.asp
Plugin in action: http://digikam3rdparty.free.fr/Screenshots/newkipigpssyncplugin.png

CCMAIL: [hidden email], [hidden email], [hidden email], [hidden email], [hidden email]

BUG: 111560
CCBUGS: 133359

 M  +125 -34   gpsdataparser.cpp  
 M  +37 -6     gpsdataparser.h  
 M  +23 -5     gpslistviewitem.cpp  
 M  +3 -2      gpslistviewitem.h  
 M  +72 -45    gpssyncdialog.cpp  
 M  +9 -11     gpssyncdialog.h  
 M  +2 -1      plugin_gpssync.cpp  


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

Re: extragear/libs/kipi-plugins/gpssync

Bugzilla from Julien.Narboux@inria.fr
Great work !

> The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s is used to diff camera and GPS time-stamp.

Does that mean that it interpolates the position between two GPS points?


> Of course, the date of your GPS device and your camera must be set properly (:=))).

I think the GPS devices are always perfectly on time for they gets time
from the satellites.
To compute the offset of the camera a good way is to take a picture of
the clock of the gps. Maybe the offset between the camera and the ps
could be configured using a small help window with two options:
-1- I know the place of this picture (a picture that you have
geolocalized by hand using googlemaps for example)
-2- I know the GPS time of this picture (a picture of the gps device)

Thanks for the good work ! it is another great addition to digikam/kipi.

Julien


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

Re: extragear/libs/kipi-plugins/gpssync

Fabien-5
In reply to this post by Gilles Caulier
First, that's great !

Gilles Caulier wrote:
> SVN commit 587073 by cgilles:
>
> kipi-plugins from trunk : new plugin to synchronize pictures metadata with a GPS data file.
>
> First beta version of GPSSync kipi-plugin is now available for testing.
>
> To use it, you need a GPX xml file generated by your GPS device. The GPX file must be generated to render a wayspoints or trackpoints list.

That's a good point to use gpx as this is the only standard format and
more and more applications can use it...

> If your GPS device do not support GPX, you can generate it using GPSBabel program like this :
>
> # gpsbabel -w -i mapsource -f Driveback.mps -o gpx -F Driveback.gpx  
>
> The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s is used to diff camera and GPS time-stamp.
 >Of course, the date of your GPS device and your camera must be set
properly (:=))).

 From my own experience, 30s is usually not enough. It would be great to
be able to change it manually.
When I synchronize my pictures and my gps track, I use a 2 minutes
delay, which is enough for me (there is no new point in gpx file when I
stop to take pictures :) ).

Please, also note that times in GPX are GMT, so we also need an offset,
depending on the timezone.

Congratulations for this work !

--
Fabien

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

Re: extragear/libs/kipi-plugins/gpssync

Gilles Caulier-2
On Thursday 21 September 2006 15:41, Fabien wrote:

> First, that's great !
>
> Gilles Caulier wrote:
> > SVN commit 587073 by cgilles:
> >
> > kipi-plugins from trunk : new plugin to synchronize pictures metadata
> > with a GPS data file.
> >
> > First beta version of GPSSync kipi-plugin is now available for testing.
> >
> > To use it, you need a GPX xml file generated by your GPS device. The GPX
> > file must be generated to render a wayspoints or trackpoints list.
>
> That's a good point to use gpx as this is the only standard format and
> more and more applications can use it...
>
> > If your GPS device do not support GPX, you can generate it using GPSBabel
> > program like this :
> >
> > # gpsbabel -w -i mapsource -f Driveback.mps -o gpx -F Driveback.gpx
> >
> > The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s
> > is used to diff camera and GPS time-stamp.
> >
>  >Of course, the date of your GPS device and your camera must be set
>
> properly (:=))).
>
>  From my own experience, 30s is usually not enough. It would be great to
> be able to change it manually.

Yes, it's easy to do. I will do it.

> When I synchronize my pictures and my gps track, I use a 2 minutes
> delay, which is enough for me (there is no new point in gpx file when I
> stop to take pictures :) ).
>
> Please, also note that times in GPX are GMT, so we also need an offset,
> depending on the timezone.

You are right. i will fix it. Instead to set an offset, why not to add a
checkbox option to check the diff between the GMT time and the local datetime
from computer and use it directly?

>
> Congratulations for this work !
>

Thanks to suport digiKam...

and now, i need to buy GPS device at Christmast time (:=)))...

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

Re: extragear/libs/kipi-plugins/gpssync

Colin Guthrie-6
Gilles Caulier wrote:
> and now, i need to buy GPS device at Christmast time (:=)))...

Me too now that this plugin is here... :)

Think you could contact a manufacturer and get some Digikam (or Kipi)
branded ones at discount prices??? ;)

Col.

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

Re: extragear/libs/kipi-plugins/gpssync

Fabien-5
In reply to this post by Gilles Caulier-2
Gilles Caulier wrote:
> On Thursday 21 September 2006 15:41, Fabien wrote:
>
 > [...]
>>
>> From my own experience, 30s is usually not enough. It would be great to
>>be able to change it manually.
>
> Yes, it's easy to do. I will do it.

Ok, great !

>>When I synchronize my pictures and my gps track, I use a 2 minutes
>>delay, which is enough for me (there is no new point in gpx file when I
>>stop to take pictures :) ).
>>
>>Please, also note that times in GPX are GMT, so we also need an offset,
>>depending on the timezone.
>
>
> You are right. i will fix it. Instead to set an offset, why not to add a
> checkbox option to check the diff between the GMT time and the local datetime
> from computer and use it directly?

Well, if you take pictures during holidays in a foreign country and come
back to your computer, you will have to define manually the timezone.
I saw that some tools use the gps coord. to guess the timezone, but it's
a bit complex and not really useful I think :)

--
Fabien

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

Re: extragear/libs/kipi-plugins/gpssync

Gilles Caulier-2
In reply to this post by Bugzilla from Julien.Narboux@inria.fr
Le Jeudi 21 Septembre 2006 15:14, Julien Narboux a écrit :
> Great work !
>
> > The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s
> > is used to diff camera and GPS time-stamp.
>
> Does that mean that it interpolates the position between two GPS points?

Not yet. Interpolation still in todo.

>
> > Of course, the date of your GPS device and your camera must be set
> > properly (:=))).
>
> I think the GPS devices are always perfectly on time for they gets time
> from the satellites.
> To compute the offset of the camera a good way is to take a picture of
> the clock of the gps. Maybe the offset between the camera and the ps
> could be configured using a small help window with two options:
> -1- I know the place of this picture (a picture that you have
> geolocalized by hand using googlemaps for example)
> -2- I know the GPS time of this picture (a picture of the gps device)

Ok. I will take a look what i can do.
>
> Thanks for the good work ! it is another great addition to digikam/kipi.

Thanks to support digiKam

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

Re: extragear/libs/kipi-plugins/gpssync

Amos Shapira
In reply to this post by Fabien-5
On 22/09/06, Fabien <[hidden email]> wrote:
> Well, if you take pictures during holidays in a foreign country and come
> back to your computer, you will have to define manually the timezone.
> I saw that some tools use the gps coord. to guess the timezone, but it's
> a bit complex and not really useful I think :)

That's why I just completely gave up on setting local time in the
camera and leave it on GMT all the time. That way I don't have to
remember to deal with it either way...

Thanks for a great work. Maybe it'll give me enough push to finally
buy a replacement for my stolen GPS...

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

Re: extragear/libs/kipi-plugins/gpssync

Gilles Caulier-2
In reply to this post by Gilles Caulier-2
On Thursday 21 September 2006 16:19, Gilles Caulier(UNTRUSTED, sender is
<digikam-users-bounces-+caulier.gilles=[hidden email]>) wrote:
> >  From my own experience, 30s is usually not enough. It would be great to
> > be able to change it manually.
>
> Yes, it's easy to do. I will do it.

Done in svn

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

Re: extragear/libs/kipi-plugins/gpssync

Gilles Caulier-2
In reply to this post by Bugzilla from Julien.Narboux@inria.fr
On Thursday 21 September 2006 15:14, Julien Narboux wrote:
> I think the GPS devices are always perfectly on time for they gets time
> from the satellites.
> To compute the offset of the camera a good way is to take a picture of
> the clock of the gps. Maybe the offset between the camera and the ps
> could be configured using a small help window with two options:
> -1- I know the place of this picture (a picture that you have
> geolocalized by hand using googlemaps for example)
> -2- I know the GPS time of this picture (a picture of the gps device)
>

A new option to set the timezone of pictures have been added to svn
implementation

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

Re: extragear/libs/kipi-plugins/gpssync

Gilles Caulier-2
In reply to this post by Bugzilla from Julien.Narboux@inria.fr
On Thursday 21 September 2006 15:14, Julien Narboux wrote:
> Great work !
>
> > The plugin use the Exif time-stamp to correlate GPS data. Accuracy of 30s
> > is used to diff camera and GPS time-stamp.
>
> Does that mean that it interpolates the position between two GPS points?

Interpolations is implemented, following Gerhard algorithm (given into
[hidden email] ML)

I haven't tested indeep this part, because i have only one GPX file to test.
Possible bugs need to be found.

Thanks in advance to test and report

Gilles

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users