Bug 167279

Summary: Feature Request: add a list of favorite place to gps locater window (e.g. new drop down menu)
Product: [Applications] digikam Reporter: hans meier <hansmeier>
Component: Plugin-Generic-GeolocationEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: opensourcecat, rharrison
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.0
Attachments: Bookmarks in the GPS Correlator
Bookmarks in the coordinate editor
Add bookmarks to the GPS dialogs

Description hans meier 2008-07-23 10:09:15 UTC
Version:            (using KDE 3.5.9)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Please add an editable list of name positions pairs to the pgs locater windows for easier handling of different places like home or studio.
Comment 1 Russell Harrison 2008-11-05 16:07:04 UTC
This is an excellent idea.  Say if there was an additional button at the bottom "Save location to favorites" or something like it.  Then you could select that location from your list and be taken directly to it later.
Comment 2 Michael G. Hansen 2009-11-21 15:49:50 UTC
Created attachment 38472 [details]
Bookmarks in the GPS Correlator
Comment 3 Michael G. Hansen 2009-11-21 15:50:27 UTC
Created attachment 38473 [details]
Bookmarks in the coordinate editor
Comment 4 Michael G. Hansen 2009-11-21 16:01:49 UTC
Created attachment 38474 [details]
Add bookmarks to the GPS dialogs

This patchs adds support for bookmarks in the GPS coordinate editor, the correlator and the track list editor. Bookmarks are stored using the KDE bookmark system as gps:-uris. Bookmarks are shared between all three dialogs.

Open questions:
- Where do we store the bookmark file? Currently under KStandardDirs::locateLocal("data", "kipi/geobookmarks.xml"), so that it can be accessed by all applications using kipi-plugins. If there are other applications that would like to share the bookmarks with us, we could of course change the location.
- When the user clicks "Add bookmark", a dialog is opened prompting for a name. However, if the user clicks cancel, I see no way to actually cancel the bookmarking request without an error-message due to the way the KDE-bookmark system works.
- I tried to follow an upcoming RFC on geo:-uris, which requires that the altitude should only be stored if it is actually known. However, we currently have no way of specifying "no altitude". But we could add an "hasAltitude" flag to the GPSDataContainer.
RFC: http://tools.ietf.org/html/draft-ietf-geopriv-geo-uri-04

Michael
Comment 5 Michael G. Hansen 2009-11-21 16:18:48 UTC
*** Bug 205806 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2009-11-22 08:38:58 UTC
Michael, No problem for me to apply this patch on trunk...

Gilles
Comment 7 Michael G. Hansen 2009-11-22 17:31:16 UTC
SVN commit 1052843 by mghansen:

Add bookmarks for locations to the correlator, the coordinates editor and the track list.

BUG: 167279



 M  +3 -2      NEWS  
 M  +2 -1      gpssync/CMakeLists.txt  
 A             gpssync/gpsbookmarkowner.cpp   [License: GPL (v2+)]
 A             gpssync/gpsbookmarkowner.h   [License: GPL (v2+)]
 M  +2 -0      gpssync/gpsdatacontainer.h  
 M  +41 -2     gpssync/gpseditdialog.cpp  
 M  +2 -0      gpssync/gpseditdialog.h  
 M  +78 -17    gpssync/gpslistviewcontextmenu.cpp  
 M  +9 -1      gpssync/gpslistviewcontextmenu.h  
 M  +6 -1      gpssync/gpssyncdialog.cpp  
 M  +11 -4     gpssync/gpstracklisteditdialog.cpp  


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