HTTP API Process name: Create hillshade

Creates a shaded relief map from a Grid.

Process JSON

 {
  "Operation": "Item.Grid.Hillshade"
  "PropertyMap": {
    "_algorithm@": "1",
    "_altitudeDeg@": "43.21",
    "_azimuthDeg@": "45.0"
    "_bCombined@": "1"
    "_exaggeration@: "10"
    "_zratio@: "2.54"
  }
 }

Property Description

Note:

Properties shown in RED are mandatory.

Algorithm

The slope and aspect algorithm to use

Altitude

The altitude of the light, in degrees between 90 (vertical) and 0 (horizontal), as a simple value, or as an expression, eg '43.2' or '57.296*altitude#' (the default value is 45.0)

Azimuth

The azimuth of the light, in degrees clockwise from north, as a simple value, or as an expression, eg '45.0' or '57.296*azimuth#' (the default value is 315.0)

Combined

Should the shaded relief map be created using a combination of slope and oblique shading?

Exaggeration

The exaggeration factor to apply to vertical values, as a simple value, or as an expression, eg '10' or '2*_MaxGridVal#' (the default value is 1.0)

Z ratio

The ratio between the vertical units and the horizontal units, as a simple value, or as an expression, eg '2.54' or '57.296*RadiansToMetres#' (the default value is 1.0)


Back to Processes Grid title page

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).