Bug 135406 - History for last used GPS coordinates
Summary: History for last used GPS coordinates
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Bookmarks (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 20:53 UTC by Klaus Weidenbach
Modified: 2017-08-19 05:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Weidenbach 2006-10-10 20:53:24 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Slackware Packages

It would be nice if there exists a history in the gpssync component of the last used GPS coordinates you choosed from the Google Map. For me it happened often that I missed one image or that you have places where you often take pictures and navigating everytime from zero to often the same places takes much time. Maybe just to remember and start from the last position would also already help. :) Thanks!
Comment 1 caulier.gilles 2006-10-11 07:44:32 UTC
Klaus,

Just a notice to use GPSSync plugin : if you want to set GPS location manually to more than one picture at the same time, just take a selection of items in the list, start Location Editor, set GPS info, and close editor. All pictures selected will be set with the same GPS values.

Gilles
Comment 2 Klaus Weidenbach 2006-10-11 15:52:47 UTC
Yes, I know that kind of selecting pictures and assigning values. :) But anyway I forget often one or have many pictures in different folders that are taken at the same place. But I think just remembering the last values when opening the window would already be enough. Why always starting in the world map when mostly you work with your pictures they are not spread that far over the whole map. :)
Comment 3 peter kreutzer 2006-10-23 20:35:10 UTC
Hi Gilles,

I like the GPS sync plugin very much. I was always looking forward to connect my pictures with GPS location. Some month ago I started to use Google earth.
In Google earth you can define your own list of location, which are stored in a .kml file. http://code.google.com/apis.html
It would be a very good functionality to have this location data stored in kml shown in the google map or listed in the a flat list so you can assign them to the pictures in the list. Therefore the kml file would need to be selected in the settings.

May be this would be a functionality that also supports the requirements from Klaus.

Thanks Peter

Comment 4 Gilles Schintgen 2007-04-09 18:30:07 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Geoff King 2007-06-29 01:10:47 UTC
I think this would be useful feature.  I like to assign GPS locations to as many pictures as possible and keep finding myself navigating to several of the same places on the map or entering coordinates, which can become tedious.  

I usually don't have a GPS running all the time, so the correlator can't always to the trick (although that's a sweet feature!).

Having a dropdown or listbox with possible common entries would be useful.  I think Peter has a good idea with storing this in a .kml file.  

Here's an example of a few locations stored as .kml...

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Document><name>gps-example</name>
<Folder>
<name>Digikam Waypoints</name>
<Placemark>
<name>Sequoia Lakes Trail</name>
<description></description>
<Point><coordinates>-118.681965,36.602036,2857</coordinates>
</Point>
</Placemark>
<Placemark>
<name>Sequoia WatchTower</name>
<description></description>
<Point><coordinates>-118.699187,36.606576,2720</coordinates>
</Point>
</Placemark>
</Folder>
</Document>
</kml>
Comment 6 Fabien 2007-06-29 14:39:26 UTC
I like the idea too, but not the format.

KML is a specific file format from Google Earth.
It would be better to use a GPX file with standard waypoints for that I think...
Comment 7 caulier.gilles 2007-06-29 14:50:19 UTC
Why do you want to use a specific file format to store the last GPS location used with GoogleMaps between plugin session.

KDE provide a standard way to store this information in kipi.rc local config file as well. There are lots of plugins which use this way already. No need to re-invent the wheel...

This can be coded with few line of code. It's can be a begineer task. Let's go guy...

Gilles Caulier
Comment 8 Geoff King 2007-06-29 19:29:05 UTC
Giles,
I am willing to give it a try.  It may take a couple weeks or months(but hopefully not years) since I will be learning C++/Qt from scratch.  My programming experience is very limited with some SQL/PHP and much longer ago Fortran77 and MicrosoftBasic. Hopefully, I'm not trying to take too much on here - I think there is a lot to learn. 
Geoff
Comment 9 caulier.gilles 2007-06-29 19:48:01 UTC
Geoff,

To give you some inspiration, take a look into Time Adjust plugin dialog which remember date & time apply between session :

http://websvn.kde.org/branches/extragear/kde3/libs/kipi-plugins/timeadjust/timeadjustdialog.cpp?revision=673188&view=markup

in void TimeAdjustDialog::readSettings() and void TimeAdjustDialog::saveSettings() methods.

... it's very simple to do (:=)))

If you need more help, let's me hear...

Gilles
Comment 10 peter kreutzer 2007-06-29 20:53:20 UTC
Hi Gilles,

the advantage of using KML would be that you can manage this information in Google earth.
In Google earth you have very good functionality to search for location and to manage them.
parsing the kml and just listing up the location in a list for selection would be enough.
selecting a location could give back the coordinates to the selected pictures.
if would be very nive if the location selected would also be shown in a small google map.

regards peter
Comment 11 Geoff King 2007-08-11 02:46:03 UTC
FYI - I have not made much progress on this, and don't expect to anytime soon.  I have a new baby boy and my real job is too busy at the moment.  What I think needs to be done is to create a listbox of commonly used locations to pick from.  This will also require a way to add and remove unused locations.  I will try to pick this idea back up again in a few months or when digikam KDE4/QT4 is done, but maybe someone else will want to do something before then.  Sorry for volunteering and then backing out. 
Geoff
Comment 12 Treviño 2008-01-10 20:53:52 UTC
I think this is a very needed feature... 
It's annoying setting the geolocation every time I add a new album searching always the same location!
It would be useful (for those who haven't a gps device) a small database with the latest used places to be reused...
Comment 13 Treviño 2008-01-10 21:03:12 UTC
Sorry for double-posting, btw an Idea for doing this could be also saving a GPX file for A (= one only per file) given position (you can also use http://quikmaps.com/new to get one) then loading it for the images in that position.

Unfortunately actually it can't be done easily since you should define in the GPX file also a time, but maybe with few hacks...
Comment 14 Rick Wagner 2008-01-11 08:34:56 UTC
As an alternative, or in addition to a history, I would like to assign a label to locations which I often return to.  For example, if I have a favorite beach or hiking spot to which I often take pictures, I could assign a label, such as "Favorite Beach".  Then next time I have photos to assign, I can just select the label, instead of navigating the map.
Comment 15 Arnd Baecker 2008-01-11 08:50:13 UTC
*** Bug 154209 has been marked as a duplicate of this bug. ***
Comment 16 caulier.gilles 2008-03-03 20:39:01 UTC
*** Bug 158734 has been marked as a duplicate of this bug. ***
Comment 17 Michael G. Hansen 2009-11-21 16:09:47 UTC
Please have a look at bug #167279, which now has a patch attached and asks for roughly the same.

Michael
Comment 18 Michael G. Hansen 2009-11-25 11:42:36 UTC
SVN commit 1054013 by mghansen:

Add a "Recent locations" menu to the coordinate editor.

FEATURE: 135406



 M  +2 -1      NEWS  
 M  +5 -45     gpssync/gpsbookmarkowner.cpp  
 M  +67 -0     gpssync/gpsdatacontainer.h  
 M  +109 -25   gpssync/gpseditdialog.cpp  
 M  +2 -2      gpssync/gpseditdialog.h  


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