1

I am trying to generate a map with terrain and elevation in QGIS and as a beginner I have followed tutorials on how to generate contours and hill shades succesfully. However, I don't know what are the next steps in order for me to apply style/colors on based on the elevation. As for my project I am using Global Elevation GeoTIFF from https://www.iscgm.org/gmd/. I am not sure though if this is the right base map/file that I should use to produce what I want, or if this produces accurate elevation data. The map I need to achieve is a terrain + elevation map just like what SkyVector uses. Also, if I am able to do this, will there be a way to stitch or collage multiple layers from different sections of a map since processing the entire map takes forever, whilst for a certain country only takes a minute.

3

I usually do the following. I place the DEM layer on top and the hillshade layer below the DEM. In order to assign a color palette to the DEM you have to choose the DEM layer right click and ask for the properties, go to the style tab and choose single band pseudo color for the render type. You have to choose a color palette and also to load min/max values and actual accuracy as shown in the image

enter image description here

One note, you are not going to find the color palette DEM Print in QGIS I downloaded the svg ramp from

http://soliton.vm.bytemark.co.uk/pub/cpt-city/views/totp-cpt.html

and defined as a ramp using the SVG2color plugin. In the site mentioned above you can find several color ramps that you can use. Just download the svg of the ones you like, convert them using the plugin mentioned and they will be available to be selected.

Now go to the transparency section of the DEM layer properties and define that you want a transparency of 50%.

enter image description here

Once you hit ok, you can see the DEM and the Hillshade at the same time, for instance

enter image description here

hope it helps

Gerardo

  • I'm not sure why the style is not applying to my layer. Is a DEM file .dem or .tiff and added as a raster or vector layer in QGIS? – Little Tiny Dev Oct 11 '15 at 5:36
  • According the site you mention, the elevation data comes in BIL format. Download the elevation data. Then go to ad a raster layer and for the file type select "ESRI .hdr labeled (.bil *.BIL)". When you load the data it could be in gray scale, but you can follow the answer to apply a color scheme to the DEM. You have to remember that elevation data could come in a variety of formats like *.tif (geo tiff) or even ascii (.xyz). BIL is one of them. – Gerardo Jimenez Oct 12 '15 at 0:45
  • It's still not working. I guess this is a bug in QGIS 2.10.1 Pisa for Mac OS X El Capitan. Are you using Windows or Linux? – Little Tiny Dev Oct 12 '15 at 5:57
  • It is working now with QGIS 2.8 on Mac OS X El Capitan. – Little Tiny Dev Oct 12 '15 at 10:51
  • Glad it worked. I am using both 2.8 and 2.10 on windows, I think the issue you faced is a Mac problem. Look at gis.stackexchange.com/questions/166180/… – Gerardo Jimenez Oct 12 '15 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.