Generates hillshading relief for the current map view using Igor's hillshading method. This method renders a softer hillshade which tries to minimize effects on other map features.
All parameters are optional:
- bounds: optionally specifies the exact geometry bounds of the area to generate the hypsometric tinting. If this parameter is not specified, the current map view bounds will be used (or if geometry bounds are set, these boundaries will be used).
- color: specifies the color of the shading. The default color is black (#000000). The parameter accepts the color in HTML form (like blue or #0000ff).
- intensity: the intensity of the color alpha value. The parameter is a number larger than zero: the higher the value - the higher intensity. The default value is 1.
- sun-altitude: altitude of the Sun expressed as an angle above the horizon. This affects how the shades will fall on the terrain. The parameter accepts values from 0 to 90 degrees. The default value is 25 degrees.
- sun-azimuth: azimuth angle of the Sun expressed in the degrees to the east of north. The default value is -45 degrees so that southeastern slopes are in the shade. This follows the common convention.
- sample-rate: a real value greater than or equal to 1 which represents the sample rate to use when fetching original DEM data. Use value larger than the default 1 if the map area is very big, this will descre
Generates a hillshading image with a blue tint.
save-source 3 relief.png
Generates a hillshading image and then saves it to a relief.png file. Note that the map source index may vary in your case.