Aspect
The compass direction each cell of an elevation raster faces downhill.
Pitfall. Flat cells have no aspect, and engines mark them with different special values; check before averaging.
| Also called | slope direction, facing direction, gdaldem aspect |
|---|---|
| Group | raster/terrain |
| Checks | crs.geographic, raster.nodata |
| Pitfalls | 1 listed above |
| Columbus tool | raster_op · aspect |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
| Name | Type | Required | Default | Values | Note |
|---|---|---|---|---|---|
z_unit | enum | yes | Not stated | m, ft, us-ft | Not stated |
band | integer | no | Not stated | Not stated | Not stated |
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | raster | raster | Not stated | An elevation model. |
| Output | output | raster | Not stated | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
gdal | gdal raster aspect |
|
|
grass | r.slope.aspect |
|
Preset: {"flag_n":true} |
postgis-raster | st_aspect |
| None noted |
qgis | native:aspect |
| None noted |
terra | terra::terrain |
| None noted
Preset: {"v":"aspect","unit":"degrees"} |
whiteboxtools | Aspect |
| None noted |
xarray-spatial | xrspatial.aspect |
|
|