Thursday, October 4, 2007

Customizing hypsometric shading in ArcMap

Using DEM data in ArcGIS is very easy. DEMs are commonly used to create hillshade datasets. Creating a hillshade with ArcGIS is fast and easy. Hillshade can be overlaid on top of topographic data with a black and white color ramp (with transparency) to give the illusion of relief (or depth).

The default coloring gives satisfactory results in most cases (IMHO). When terrain is the primary feature of the map hillshades are often overlaid with source DEM that has a colour ramp (other than black and white) and transparency applied. ArcMap offers a number of preset color ramps (eg 79 in the “ESRI” style) that can be selected to change the look and feel of the hillshade. From experience, I have found that the color ramps named Elevation#1 and Elevation#2 generally give the best results.

Elevation #1




Elevation #2



Selection or creation of color ramps is determined by a couple of factors. Personal preference and the need to match a particular style. For example, some prefer to use bold or vivid colors whilst others select colors that are subtle. But many times the selection of a color ramp is based solely on the need to replicate an exisiting map.

The area below is showing Rotorua and surrounding lakes. I guess most of you don’t know where this location is or characteristics of it, so here is a screenshot from ArcGIS Explorer to help you get oriented.




Rotorua is rich in vegetation, mainly forest and bush. It features many lakes but this may be a topic for another post. The elevation in the screenshot is somewhere in the range of 260 to 920 meters above sea level.

The DEM is generated from 20 meter contour lines. The elevation range is between 260 and 920 meters above sea level. Subconsciously map readers associate colours they see on the map with certain phenomena in the real world. For example, showing high mountain peaks with white means they are covered with snow and valleys shaded with green may indicate a forest or grasslands. Based on this phenomena the technique of hypsometric shading uses colors that are derived from nature.

Let’s experiment with the map of Rotorua using different shading styles and settings. Here are defaults.


To begin, here is a map with the Elevation #1 colour ramp with a two standard deviations stretch. Below is a screenshot of the map with a 50% transparency applied to the DEM.



In many cases this would be adequate, but note the unrealistic “snow covered peaks” in the lower right and centre right corners of the map.

I know for a fact that there is no snow in these areas. To overcome this we can change the stretch setting and manipulate the minimum and maximum values. Here are some alternatives:

Elevation 1: 0 – 920 m

Elevation :1 0 -1000 m

Elevation 1: 0 -1500 m

Elevation 1: 0 - 2000 m

Elevation 1: 260 - 2000m



Let’s repeat this with second colour ramp – Elevation #2. Here we can see a lot more or orange/kaki/brown tones giving the impression that some areas are rocky and/or dry. In reality these areas are not.


Elevation 2: Default (260 - 920 m)

Elevation 2: 0 – 920 m

Elevation 2: 0 - 1000 m

Elevation 2: 0 - 1500 m









Elevation 2: 0 - 2000 m

Elevation 2: 260 - 2000 m


Are you are “dazed and confused”? Good, that was my intention. I wanted to demonstrate the possibilities and difficulties associated with hypsometric shading of terrain.

But wait, there’s more! Did you know that ArcMap has a large collection of styles, each style may contains numerous color ramps? Below I have experimented using some of these preset color ramps.

Custom colour ramp example

Lastly, if you are frustrated with the out-of-the-box color ramps then there still hope! You have the option of creating your own color ramp that best suits your needs. I will discuss creating custom color ramps another day!

No comments:

Post a Comment