geo-registry

gdal raster slope

How GDAL runs Slope: gdal raster slope.

About this implementation
Engine GDAL
Tool name gdal raster slope
Interface cli
Implements Slope
Documentation https://gdal.org/programs/gdal_raster_slope.html
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
input-format string_list no Not stated Not stated Not stated
open-option string_list no Not stated Not stated Not stated
input dataset_list yes Not stated Not stated raster dataset
output-format string no Not stated Not stated Not stated
creation-option string_list no Not stated Not stated Not stated
overwrite boolean no no Not stated exclusive group overwrite-append
append boolean no no Not stated exclusive group overwrite-append
band integer no 1 Not stated Not stated
unit string no degree degree, percent Not stated
xscale real no Not stated Not stated more than 0.0
yscale real no Not stated Not stated more than 0.0
gradient-alg string no Horn Horn, ZevenbergenThorne Not stated
no-edges boolean no Not stated Not stated Not stated
output dataset yes Not stated Not stated input and output; raster dataset

How it maps to the operation

Operation parameter Parameter here Note
raster input Not stated
output output Not stated
units unit degrees = degree; percent = percent
band band Not stated
z_unit Not stated always crs-units. Elevation is taken in the CRS's horizontal units; otherwise set xscale and yscale (see GDAL's page).

Differences from the operation

  • Cells on the raster's edge are computed from incomplete neighbourhoods; on a uniform slope they come out lower, and differently from PostGIS's. --no-edges leaves them as nodata.

Harvested by the gdal harvester from engine version 3.13.3. Names can change when an engine is harvested again.