Bug 474700 - [Feature request] add alternative hillshading provider "osmscout.karry.cz/hillshade".
Summary: [Feature request] add alternative hillshading provider "osmscout.karry.cz/hil...
Status: REPORTED
Alias: None
Product: marble
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.1
Platform: Arch Linux All
: NOR wishlist
Target Milestone: ---
Assignee: marble-bugs
URL: https://phabricator.wikimedia.org/T18...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 17:05 UTC by dreieck
Modified: 2023-09-19 17:51 UTC (History)
1 user (show)

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


Attachments
OpenStreetMap with Hillshading. (21.00 KB, application/xml)
2023-09-19 17:51 UTC, dreieck
Details

Note You need to log in before you can comment on or make changes to this bug.
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.