Bug 474700

Summary: [Feature request] add alternative hillshading provider "osmscout.karry.cz/hillshade".
Product: [Applications] marble Reporter: dreieck <felics-kde>
Component: generalAssignee: marble-bugs
Status: REPORTED ---    
Severity: wishlist CC: felics-kde
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: All   
URL: https://phabricator.wikimedia.org/T187601#7686005
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: OpenStreetMap with Hillshading.

Description dreieck 2023-09-19 17:05:21 UTC
This is a request to add an alternative hillshading provider and re-enable the "hillshading" toggle in the maps provided with marble.

There is an alternative hillshading available: http://osmscout.karry.cz/hillshade/

For me, the following layer definition in a .dgml file works:

[code]
      <layer name="hillshading" backend="texture">
        <texture name="hillshading" expire="31536000">
          <sourcedir format="PNG"> earth/hillshading </sourcedir>
          <tileSize width="256" height="256"/>
          <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="17" mode="Custom"/>
          <projection name="Mercator"/>
          <downloadUrl protocol="https" host="osmscout.karry.cz" path="/hillshade/tile.php?z={zoomLevel}&amp;x={x}&amp;y={y}" />
          <downloadPolicy usage="Browse" maximumConnections="8"/>
          <downloadPolicy usage="Bulk" maximumConnections="4"/>
        </texture>
      </layer>
[/code]

Regards!
Comment 1 dreieck 2023-09-19 17:50:39 UTC
Oh, I had to correct. In the above, `?` should be replaced with `" query="`.

I attach a dgml file that adds hillshading to OpenStreetMap.
Comment 2 dreieck 2023-09-19 17:51:17 UTC
Created attachment 161731 [details]
OpenStreetMap with Hillshading.