Bug 408667

Summary: In reverse geocoding, whow which address element correspond to each name
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Geolocation-ReverseGeoCodingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: iwannaberich
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:
Attachments: Reverse geocoding tool, showing the corresponding full tag tree for a picture

Description MarcP 2019-06-13 22:15:43 UTC
Created attachment 120852 [details]
Reverse geocoding tool, showing the corresponding full tag tree for a picture

SUMMARY

In the reverse geocoding tool, you can select which address elements you want to use to tag your pictures. However, often not all elements are available, and digikam will only show you those that found.

In order to fine tune which elements are which, and fine-tune the structure, it would be useful if it indicated which address element a specific place is, either by hovering your mouse over it, or displaying it next to the name. (e.g. hovering over the word "New York City" you should see "{City}".

See the attached screenshot. I basically would like to know which of the words in Green correspond to the words in Red.

STEPS TO REPRODUCE
1. Reverse-geolocate a picture using all address elements.
2. Observe the results in the tool's tree view.

SOFTWARE/OS VERSIONS
digikam-6.2.0-git-20190612T102714-qtwebkit-x86-64.appimage in Ubuntu 18.04
Comment 1 Maik Qualmann 2019-06-14 19:21:13 UTC
Git commit 6ad60e04a24e2410400bf9b60c5806a414c9d047 by Maik Qualmann.
Committed on 14/06/2019 at 19:20.
Pushed by mqualmann into branch 'master'.

In reverse geocoding, add tooltips to the address elements
FIXED-IN: 6.2.0

M  +2    -2    NEWS
M  +1    -0    core/utilities/geolocation/geoiface/items/gpsitemcontainer.h
M  +39   -21   core/utilities/geolocation/geoiface/reversegeocoding/rgtagmodel.cpp
M  +2    -2    core/utilities/geolocation/geoiface/reversegeocoding/rgtagmodel.h
M  +1    -0    core/utilities/geolocation/geoiface/reversegeocoding/treebranch.h

https://invent.kde.org/kde/digikam/commit/6ad60e04a24e2410400bf9b60c5806a414c9d047