Files
cheatsheet-tldr/tldr/gdaldem
2025-12-21 00:23:35 +00:00

22 lines
521 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gdaldem
> Analyze and visualize digital elevation models (DEM).
> More information: <https://gdal.org/en/stable/programs/gdaldem.html>.
- Compute the hillshade of a DEM:
`gdaldem hillshade {{path/to/input.tif}} {{path/to/output.tif}}`
- Compute the slope of a DEM:
`gdaldem slope {{path/to/input.tif}} {{path/to/output.tif}}`
- Compute the aspect of a DEM:
`gdaldem aspect {{path/to/input.tif}} {{path/to/output.tif}}`