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

Function: st_addband

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

 

Options

Option

Value

Returns

public.raster

Language

sql

Parameters

rast public.raster

pixeltype text

initialvalue double precision = '0'::numeric

nodataval double precision = NULL::double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_addband (
 rast public.raster,
 pixeltype text,
 initialvalue double precision = '0'::numeric,
 nodataval double precision = NULL::double precision
)
RETURNS public.raster AS
$span$
SELECT
st_addband($1, ARRAY[ROW(NULL, $2, $3, $4)]::addbandarg[])
$span$
LANGUAGE
'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_addband(rast public.raster, pixeltype text, initialvalue double precision, nodataval double precision)
IS 'args: rast, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic