geo-registry

st_slope

How PostGIS Raster runs Slope: st_slope.

About this implementation
Engine PostGIS Raster
Tool name st_slope
Interface sql
Implements Slope
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
rast raster no Not stated Not stated Not stated
nband integer no 1 Not stated Not stated
customextent raster no Not stated Not stated Not stated
pixeltype text no '32BF'::text Not stated Not stated
units text no 'DEGREES'::text Not stated Not stated
scale double precision no 1.0 Not stated Not stated
interpolate_nodata boolean no false Not stated Not stated

SQL overloads

  • st_slope(rast raster, nband integer, customextent raster, pixeltype text DEFAULT '32BF'::text, units text DEFAULT 'DEGREES'::text, scale double precision DEFAULT 1.0, interpolate_nodata boolean DEFAULT false) → raster
  • st_slope(rast raster, nband integer DEFAULT 1, pixeltype text DEFAULT '32BF'::text, units text DEFAULT 'DEGREES'::text, scale double precision DEFAULT 1.0, interpolate_nodata boolean DEFAULT false) → raster

How it maps to the operation

Operation parameter Parameter here Note
raster rast Not stated
band nband Not stated
units units degrees = DEGREES; percent = PERCENT
z_unit Not stated always crs-units. Elevation is taken in the CRS's horizontal units; otherwise set scale (see the PostGIS 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 GDAL's.

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