pggeodb-preprod.nancy.inra.fr/db_onf_gde - db_onf_gde on pggeodb-preprod.nancy.inra.fr
Previous topic Chapter index Next topic

Function: st_setvalue

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, 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

geom public.geometry

newvalue double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_setvalue (
 rast public.raster,
 geom public.geometry,
 newvalue double precision
)
RETURNS public.raster AS
$span$
SELECT public
.ST_setvalues($1, 1, ARRAY[ROW($2, $3)]::geomval[], FALSE)
$span$
LANGUAGE
'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_setvalue(rast public.raster, geom public.geometry, newvalue double precision)
IS 'args: rast, 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 07/12/2018 13:23
Previous topic Chapter index Next topic