This object is in archive! 

Hill shading & colored altitude

Rolf Herrmann shared this question 8 years ago
Answered

I would like to display hill shading AND colored altitude simultaneously from srtm elevation data (hill shading as overlay for colored altitude). Is this possible?

Replies (6)

photo
1

1. Download site map http://download.osmand.net/hillshade/ your desired region (sqlitedb)

2. and specify it as an overlay. Any raster or vector base maps.

171ed9f51274c99d4d7f77612db09c7d e5df32d247f3ae2fd5ae8e4433712676

photo
1

~ OR ~


overlay - online map Google-Relief


f552d24df897c819e5a621f63e17930f


~ OR ~


slopes instead colour palette
7479edd91aae10e41e09e1f0c7851e6b

photo
1

Hi Igor!

I have a modified provider file for years, how did you get that relief overlay map?

photo
1

Hi Hallgeir

I not sure understand you correctly, if you're talking about the Google Relief, then you want to paste the in your providers.xml is:


  1. <provider id="10023" type="0" visible="true" background="-1">
  2. <name>Google</name>
  3. <mode>Relief</mode>
  4. <url><![CDATA[]></url>]http://mt{s}.google.com/vt/lyrs=t,r&hl=ru&x={x}&y={y}&z={z}]]></url>;;
  5. <serverPart>0;1;2;3</serverPart>
  6. <zoomPart>{z}-8</zoomPart>
  7. <zoomMin>8</zoomMin>
  8. <zoomMax>29</zoomMax>
  9. <tileSize>256</tileSize>
  10. <countries>World map</countries>
  11. <attribution><![CDATA[]]></attribution>
  12. <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
  13. <extraHeader><![CDATA[Referer#]></extraHeader>]http://maps.google.com/]]></extraHeader>;;
  14. </provider>

Make sure that the provider ID (in bold) in your providers.xml is unique. If not, change the ID.

photo
1

You understood perfectly, thank you sir ☺

photo
1

Thanks Igor. Unfortunately, both options that you suggested are based on SRTM 3 arc-sec resolution, which has huge data gaps in the area that I need to cover. I have generated 1 arc-sec hgt files, which work great. I am looking for a solution where hill shading and colored altitude can be combined based on hgt DEM.

photo
1

Map shading offers three modes (incl. shade and color), but not any combination of those.

Hence it would require Menion's coding to make that happen, I suppose.

photo
1

Good evening Rolf, Igor and Michael,

unfortunately as Michael wrote, using of more overlays at once is not currently possible and it is not even planned. Only method how to achieve it now, is using another overlay map as suggested Igor. Thanks for understanding.

photo
1

Problem: I also want both hill shading + colored elevation, yet neither google relief nor osmand worked for me.

Solution: Use ESRI World Hillshade map, which is based on high-resolution LIDAR DTM files. The correct providers.xml text is below, just remember to type in a unique provide id. For more info see the detailed server overview or live/online view.


<provider id="10311" type="0" visible="true" background="-1">
<name>ESRI World</name>
<mode>Hillshade</mode>
<countries>World</countries>
<url><![CDATA[http://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}.png]]></url>;
<zoomPart>{z}-8</zoomPart>
<zoomMin>8</zoomMin>
<zoomMax>24</zoomMax>
<tileSize>256</tileSize>
<attribution><![CDATA[© ESRI <a href="http://www.esri.com/legal/licensing/termsofuse.html">(ESRI Terms of Use)</a>]]></attribution>
<extraHeader><![CDATA[Referer#http://arcgisonline.com/home/]]></extraHeader>;
<extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
</provider>



Try it out for yourself. You can even see boulders, roads and rivers.

Replies have been locked on this page!