Schema
Owner
postgres
Descriptions
There is no description for function st_clip
Options
Option | Value |
---|---|
Returns |
public.raster |
Language |
|
Parameters |
rast public.raster nband integer [] geom public.geometry nodataval double precision [] = NULL::double precision[] crop boolean = true |
Definition
CREATE OR REPLACE FUNCTION public.st_clip (
rast public.raster,
nband integer [],
geom public.geometry,
nodataval double precision [] = NULL::double precision[],
crop boolean = true
)
RETURNS public.raster AS
$span$
BEGIN
-- short-cut if geometry's extent fully contains raster's extent
IF (nodataval IS NULL OR array_length(nodataval, 1) < 1) AND geom ~ ST_Envelope(rast) THEN
RETURN rast;
END IF;
RETURN public._ST_Clip($1, $2, $3, $4, $5);
END;
$span$
LANGUAGE 'plpgsql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |