Relief Shading

Home

Techniques

Design Rules

Software

Analytical

Colors

Examples

Cartographers

History

Literature

Try It!

Links

Contact

Last update:
15/11/2006

TONE FOR FLAT AREAS

Cartographers must pay special attention to the tone of flat areas. Gray tones in analytical shadings are usually too dark and often display disconcerting random values. Using a supplemental bright gray tone to cover these regions improves the appearance. The gray tone and the shading are combined by a weighted mean:

g’ = w · g + (1 - w) · f

where

g'

New gray tone

g

Initial gray tone

f

Gray tone for flat areas

w

Weight for the shading

The weight w can be calculated using the following formula (F. Arnet, swisstopo):

If s > a: Formula for weight

else: w = 0

where

w

Weight for the shading

s

Slope of the point [degrees]

a

Maximum slope without shading [degrees]

b

Curvature [0..1]

Areas with a slope below a are fully covered by the assigned bright tone for flat areas. Parameter b determines the influence of this tone. Figure 4 illustrates the effect of the two parameters together.

Diagram illustrating the effect of a and b

As an alternative to the above function, a program may offer an interactive dialog to adjust the weight as a function of slope at a more detailed level. Additionally, the influence of the flat tone can be limited to areas below a certain elevation.

Diffuse shading Aspect-based shading

Left: With lightening tone for flat areas. Righ: Without flat area lightening.

Analytical
DEM
Shading Methods
Flat Areas
Local Adjustments
Aerial Perspective
DEM File Formats