geo-registry

st_resample

How PostGIS Raster runs Resample Raster: st_resample.

About this implementation
Engine PostGIS Raster
Tool name st_resample
Interface sql
Implements Resample Raster
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
ref raster no Not stated Not stated Not stated
algorithm text no 'NearestNeighbour'::text Not stated Not stated
maxerr double precision no 0.125 Not stated Not stated
usescale boolean no true Not stated Not stated
scalex double precision no 0 Not stated Not stated
scaley double precision no 0 Not stated Not stated
gridx double precision no NULL::double precision Not stated Not stated
gridy double precision no NULL::double precision Not stated Not stated
skewx double precision no 0 Not stated Not stated
skewy double precision no 0 Not stated Not stated
width integer no Not stated Not stated Not stated
height integer no Not stated Not stated Not stated

SQL overloads

  • st_resample(rast raster, ref raster, algorithm text DEFAULT 'NearestNeighbour'::text, maxerr double precision DEFAULT 0.125, usescale boolean DEFAULT true) → raster
  • st_resample(rast raster, ref raster, usescale boolean, algorithm text DEFAULT 'NearestNeighbour'::text, maxerr double precision DEFAULT 0.125) → raster
  • st_resample(rast raster, scalex double precision DEFAULT 0, scaley double precision DEFAULT 0, gridx double precision DEFAULT NULL::double precision, gridy double precision DEFAULT NULL::double precision, skewx double precision DEFAULT 0, skewy double precision DEFAULT 0, algorithm text DEFAULT 'NearestNeighbour'::text, maxerr double precision DEFAULT 0.125) → raster
  • st_resample(rast raster, width integer, height integer, gridx double precision DEFAULT NULL::double precision, gridy double precision DEFAULT NULL::double precision, skewx double precision DEFAULT 0, skewy double precision DEFAULT 0, algorithm text DEFAULT 'NearestNeighbour'::text, maxerr double precision DEFAULT 0.125) → raster

How it maps to the operation

Operation parameter Parameter here Note
raster rast Not stated
resolution Not stated scalex and scaley (scaley negative for a north-up raster).
resampling algorithm nearest = NearestNeighbor; bilinear = Bilinear; cubic = Cubic. not supported: average, mode

Differences from the operation

None noted

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