Bug 182110 - Geolocation tab : add "loc.alize.us" support to the more info web service link
Summary: Geolocation tab : add "loc.alize.us" support to the more info web service link
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-ReverseGeoCoding (show other bugs)
Version: 2.6.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2009-01-28 00:30 UTC by Patrick
Modified: 2017-08-19 06:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments
Patch for bug 182110 (1.14 KB, patch)
2012-03-24 19:57 UTC, Smit Mehta
Details
Patch for bug 182110 (.h file) (502 bytes, patch)
2012-03-24 19:58 UTC, Smit Mehta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2009-01-28 00:30:19 UTC
Version:           0.10.0-rc1 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

Add loc.alize.us to the GPS info link (where Google maps and the rest already are).
Comment 1 caulier.gilles 2009-01-28 09:47:09 UTC
Sorry, i don't understand what you mean...

Please give us more informations...

Gilles Caulier
Comment 2 Patrick 2009-01-28 17:24:20 UTC
When one views a picture with attached GPS info in Digikam, he can click the more info (which, BTW, might need to be renamed in "open service page" or something more explicit) button to be redirected to Google maps and other services. I'd like to have the service http://loc.alize.us to be added to the list of proposed services.
Comment 3 Patrick 2009-01-29 00:17:30 UTC
When one views a picture with attached GPS info in Digikam, he can click the more info (which, BTW, might need to be renamed in "open service page" or something more explicit) button to be redirected to Google maps and other services. I'd like to have the service http://loc.alize.us to be added to the list of proposed services.
Comment 4 caulier.gilles 2009-07-29 11:26:48 UTC
Patrick,

How to pass GPS position of items to loc.alize.us url and ask to display visible placemarks over map ?

Gilles Caulier
Comment 5 Patrick 2009-08-02 22:03:56 UTC
Gilles,

I don't know but am deducting...

If the picture is on Flickr:
http://loc.alize.us/#/flickr:[photo-ID]

By position:
East: 4.381351, North: 50.843583

Same info in Flickr:
50°50'37"N, 4°22'53"E
(50.8435, 4.3813)

gives
http://loc.alize.us/#/geo:50.843583,4.381351,15,k/

Where the 15 is the zoom level and the "k" is ... automatically added to any URL.

The placemarks are the ones of pictures on Flickr.

Seen the apparent lack of documentation, I am sending a message to the contact email address of the devlopers of loc.alize.us in the hope they will provide us with more info.

Patrick
Comment 6 Heikki Naski 2012-02-08 18:34:54 UTC
Confirmed on the following setup:
Version: 1.9.0 (Using KDE Development Platform 4.6.5 (4.6.5))
OS: Linux
Installed from: Kubuntu default repositories

Since this is marked as a junior job I made a summary of the task:

=What did I do=
I select an image. If the image does not have GPS coordinates, I set these
coordinates from the main menu: Image -> Geolocation -> Edit coordinates.
On the sidebar on the right edge of the screen I click on "Geolocation" (icon of a globe).
Then on the bottom right corner of the screen I click on a select list which
contains items such as "MapQuest", "Google Maps" etc. and I try to find
"loc.alize.us" there.

=What happened=
I can't find "loc.alize.us" in this list.

=What should have happened=
I would have found "loc.alize.us" in this list, selected it and then clicked
on the button immediately to the right of this select list and
"loc.alize.us"-service would have opened a browser window with the map
pointing to the coordinates in the image.
--

I also played around with the loc.alize.us URL and it seems like it does take the coordinates in the URL like Patrick mentioned. I'm not sure if you can have arbitrary markers on that map since it looks like it adds those markers to all images that are recorded in that service.
Comment 7 Smit Mehta 2012-03-24 10:10:14 UTC
Hi

I am interested to solve this bug. Can any developer please guide me which part of the code do I exactly need to look into to change the geo-location's maps' options?

Thanks in advance.

Smit
Comment 8 caulier.gilles 2012-03-24 10:33:22 UTC
Michael G. Hansen can guide you. He has written Geolocation code (in digiKam core and libkgeomap)

Gilles Caulier
Comment 9 Smit Mehta 2012-03-24 19:57:20 UTC
Created attachment 69863 [details]
Patch for bug 182110

Hi Gilles / Michael

Kindly review the above patch. I think it should do the job.

Smit
Comment 10 Smit Mehta 2012-03-24 19:58:54 UTC
Created attachment 69864 [details]
Patch for bug 182110 (.h file)

* It is related to the above patch. This modifies the ibs/imageproperties/imagepropertiesgpstab.h . The patch before this modifies ibs/imageproperties/imagepropertiesgpstab.cpp .
Comment 11 caulier.gilles 2012-03-26 14:10:57 UTC
Git commit 13c62127cd60c97a8fd36a5ad89fc25f0aa0a80b by smit mehta.
Committed on 26/03/2012 at 14:42.
Pushed by smitmehta into branch 'master'.

BUGS 182110

Adds "loc.alize.us" support to the more info web service link in the geolocation tab.

M  +11   -0    libs/imageproperties/imagepropertiesgpstab.cpp
M  +2    -1    libs/imageproperties/imagepropertiesgpstab.h

http://commits.kde.org/digikam/13c62127cd60c97a8fd36a5ad89fc25f0aa0a80b