Fix srtm2 (ele profile) download. Avoid fko=>mko redirects.
ClosedPublic

Authored by nienhueser on Jan 17 2016, 9:44 AM.

Details

Summary

Fixed:

  • After moving from files.kde.org to maps.kde.org the elevation profile data in the srtm2 map theme failed to download.
  • After moving to maps.kde.org all queries to tiles on files.kde.org caused another http lookup to process the redirect.

Old DGML files keep working, but there is more flexibility now: MarbleServerLayout can be used and still override the server URL and the path. I wonder however if this kind of flexibility is useful?

Diff Detail

Repository
R34 Marble
Branch
master
Lint
Lint ErrorsExcuse: no cpp files
SeverityLocationCodeMessage
Errordata/maps/earth/srtm2/srtm2.dgml:1CppchecksyntaxError
Unit
No Unit Test Coverage
nienhueser updated this revision to Diff 1988.Jan 17 2016, 9:44 AM
nienhueser retitled this revision from to Fix srtm2 (ele profile) download. Avoid fko=>mko redirects..
nienhueser updated this object.
nienhueser edited the test plan for this revision. (Show Details)
nienhueser added reviewers: Marble, rahn.
nienhueser added a project: Marble.
nienhueser added a subscriber: Marble.
nienhueser updated this revision to Diff 1989.Jan 17 2016, 10:05 AM

Improve backward compatibility: If no server is set, use old-style URL

This means that no changes are required to DGML files to keep them working,
but still the redirect from files.kde.org to maps.kde.org goes away.

nienhueser updated this object.Jan 17 2016, 10:11 AM
nienhueser updated this revision to Diff 1990.Jan 17 2016, 2:52 PM

Remove redundant downloadUrl parameter in dgml files

This revision was automatically updated to reflect the committed changes.