Bug 372538 - No OpenStreetMaps
Summary: No OpenStreetMaps
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: data (show other bugs)
Version: 1.14 (KDE Applications 16.04)
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-16 14:53 UTC by Claude Brodeur
Modified: 2017-01-20 20:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claude Brodeur 2016-11-16 14:53:01 UTC
I want to use OpenStreetMaps but they are not displayed in Marble. Other themes are displayed. Computer is Dell Latitude E6420 running Windows 7 pro (64-bit). Each time I zoom or pan the progress bar indicates something is downloaded but nothing is ever displayed. I searched in Marble's installation folder but the Openstreetmap folder contains no maps except 0.png in 0 folder. I happily used Marble in previous computers running different flavors of windows (Vista 64-bit and 7 Starter 32-bit) with success.

Thanks for your help.
Comment 1 Claude Brodeur 2016-11-20 13:08:10 UTC
Installed Marble on desktop computer running also Windows 7 pro 64bit with same results: no OSM ever.
Comment 2 Mirko Stanisak 2017-01-12 12:26:40 UTC
Same problem here with a fresh Windows 10 (64 bit) installation. The download map functionality does not work at all, too. A colleague observed the same behaviour on a 32 bit Windows 7 installation. We used the Windows installers from https://marble.kde.org/install.php.

Thank you.
Comment 3 Mirko Stanisak 2017-01-20 16:37:57 UTC
I could narrow this down further. The default Qt5 windows installer does NOT include openSSL due to legal reasons. Thus, all SSL requests fail. For openstreetmap, https is used per default. Manually patching the OSM map in marble's data folder to use http instead of https solved this for me!
Comment 4 Claude Brodeur 2017-01-20 20:47:53 UTC
We have to be grateful to Mirko Stanisak for the solution to this problem. It works! I had to search a bit to find where this https error resides. 
It is in the file openstreetmaps.dgml
in the folder C:\Program Files (x86)\Marble\data\maps\earth\openstreetmap  which is a read-only folder. You have to remove this property to be able to do the corrections.
Three lines in this file have to be corrected, https to http, like Mirko wrote.
Do a search in the file editor to find the three occurences of https, each in a different concurrent line.
Thank you so much, Mirko.