Schema
Owner
postgres
Descriptions
args: rast, bandnum, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.
Options
Option | Value |
---|---|
Returns |
public.raster |
Language |
sql |
Parameters |
rast public.raster nband integer geom public.geometry newvalue double precision |
Definition
CREATE OR REPLACE FUNCTION public.st_setvalue (
rast public.raster,
nband integer,
geom public.geometry,
newvalue double precision
)
RETURNS public.raster AS
$span$
SELECT public.ST_setvalues($1, $2, ARRAY[ROW($3, $4)]::geomval[], FALSE)
$span$
LANGUAGE 'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_setvalue(rast public.raster, nband integer, geom public.geometry, newvalue double precision)
IS 'args: rast, bandnum, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |