Bug 342426

Summary: Lookup of missing altitude values fails
Product: [Applications] digikam Reporter: Quincy <bbc.quincy>
Component: Geolocation-ReverseGeoCodingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, justus
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0

Description Quincy 2015-01-02 23:02:40 UTC
If an image is pulled onto the map the coordinates for longitude and latitude are filled in automatically. The context menu contains the option "Look up of missing altitude values" which used to work in the past, but now (tested with 4.4.0 and 4.6.0) just returns with no visible change.

From the console I figured out that the plugin for example tries to open the URL http://ws.geonames.org/srtm3?lats=36.2432970827&lngs=-116.817792886
That fails if you do it in a browser with the message "ERR:10:Please add a username to each call in order for geonames to be able to identify the calling application and count the credits usage." which seems also to be the solution to the error.

Reproducible: Always
Comment 1 justus 2015-03-01 12:37:04 UTC
i think this is a duplicate of bug 333624 

even if digikam would use an application key for geonames.org,  there would be a limit on the number of requests. in the above bug i attached an implementation which uses http://open.mapquestapi.com/elevation/ which also requires a key for the application but does not seem to have a limit on the number of requests in a given timeframe.
Comment 2 caulier.gilles 2015-03-01 13:01:19 UTC

*** This bug has been marked as a duplicate of bug 333624 ***
Comment 3 caulier.gilles 2021-08-27 03:42:09 UTC
Fixed with #333624