terra::shade
How terra runs Hillshade: terra::shade.
| Engine | terra |
|---|---|
| Tool name | terra::shade |
| Interface | r |
| Implements | Hillshade |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
slope | any | yes | Not stated | Not stated | Not stated |
aspect | any | yes | Not stated | Not stated | Not stated |
angle | any | no | 45 | Not stated | Not stated |
direction | any | no | 0 | Not stated | Not stated |
normalize | any | no | FALSE | Not stated | Not stated |
filename | any | no | "" | Not stated | Not stated |
overwrite | any | no | FALSE | Not stated | Not stated |
... | dots | no | Not stated | Not stated | further arguments passed on |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | Not stated | Takes slope and aspect rasters in radians, from terrain(x, c('slope', 'aspect'), unit = 'radians'), not the elevation raster. |
azimuth | direction | Not stated |
altitude | angle | Not stated |
Differences from the operation
- direction defaults to 0 (light from the north); Columbus and GDAL default to 315.
Harvested by the r-packages harvester from engine version
1.9.50. Names can change when an engine is harvested again.