[Digikam-devel] Digikam plugin for GPS image tagging

Gilles Caulier caulier.gilles at kdemail.net
Thu Sep 21 14:03:56 BST 2006


Alex,

The first beta version of the plugin is ready to use. Look my recent commit on 
svn :

http://websvn.kde.org/trunk/extragear/libs/kipi-plugins/gpssync/?rev=587073&view=rev

We don't use GPSBabel in this version. a GPX file format parser have been 
implemented. This will be enough.

In charge for you to improve this plugin in the future, for example to use 
GPSBabel to convert exotic GPS data file to GPX format and imprt GPS 
informations to the plugin.

My 10cts €

Gilles

On Wednesday 20 September 2006 17:34, Alexios Beveratos wrote:
> Gilles
>
> I see that you had alreadyy implemeted the 1st point. good
>
> the usage is the following
>
> gpsbabel -t -i geo -f /tmp/geocaching.loc -o gpx -F /tmp/geocaching.gpx
>
> -t : We would like to download track points (i am pretty sure it is
> -t. otherwise it should be -w for waypoitns, but I will check)
>
> -i : input format. It is user selectable.
> -f : the input file. it can be a /dev/gps. For exemple this works for
> Garmin GPS. You can directly read
>
> -o : output format
>
> -F : output file. It can be a tmp file
>
> I will check wich output format is the easiest to use and will tell you (I
> think tha gpspoint format is quite handy)
>
> Alex
>
> On 9/20/06, Alexios Beveratos <alexios.beveratos at gmail.com> wrote:
> > Hello Gilles
> >
> > Woaa, you code much faster than I even have time to look at what you 
> > have coded.
> >
> > For GpsBabel. Well, normally this program can get any type of input file
> > and output any type of output file, ranging from garmin / magellan /
> > googleearth kmz etc file.
> >
> > I think there are 2 solutions
> >
> > 1) call externally gpsbabel, asking the input file and format. We
> > internally transform it to (for exemple) gpspoint file (like the test
> > exemple) and continue with the plugin
> >
> > 2) Re-implement gpsbabel as an external class, and we do like above.
> >
> > The advantage of the 1) sollution is that we can take advantage of the
> > evolution of gpsbabel. It is "just" one more dependency.
> >
> > Tell me what you thing about it
> >
> > Alex
> >
> > PS : I am not french, but a greek working in Paris :-)
> >
> > On 9/20/06, Gilles Caulier < caulier.gilles at kdemail.net> wrote:
> > > On Tuesday 19 September 2006 14:09, Alexios Beveratos wrote:
> > > > Gilles,
> > > >
> > > > Your proposition seems very good for me. I will subscribe to kipi
> > > > (how
> > >
> > > do I
> > >
> > > > get a svn access ?) and begin coding. The only thing is that I do not
> > >
> > > have
> > >
> > > > a lot of time, and hence it may lag a bit behind
> > > >
> > > >  Cheers
> > > > Alex
> > >
> > > Alexios ,
> > >
> > > The first implementation of the plugin is in svn.
> > >
> > > http://websvn.kde.org/trunk/extragear/libs/kipi-plugins/gpssync
> > >
> > > It's not yet complete : a GPS file data parser implementation using
> > > GPSBabel
> > > is missing !
> > >
> > > All others part of the plugin are done. Just look my TODO/FIXME tags in
> > > the
> > > source code for details.
> > >
> > > The parser class is gpsdataparser.cpp. On this class there is a QMap
> > > container
> > > used to strore the GPS positions decoded from the GPS file accordinly
> > > with
> > > the date stamp. Just use a QMap::find() method to sync the Picture date
> > > with
> > > the GPS position... simple !
> > >
> > > You need to help me to implement the parser using the GPSBabel program.
> > > The question is how to use properly this program. Witch GPS file format
> > > to use
> > > in input/ouput ?
> > >
> > > Gilles Caulier
> > >
> > > PS : i see your this email <alexios dot beveratos at lpn.cnrs.fr> in
> > > your
> > > exif_gps.h file. Are you a French guy ?
> > >
> > > _______________________________________________
> > > Digikam-devel mailing list
> > > Digikam-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/digikam-devel



More information about the Digikam-devel mailing list