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

Function: st_addband

 

 

Schema

public

 

Owner

postgres

 

Descriptions

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

index integer

pixeltype text

initialvalue double precision = '0'::numeric

nodataval double precision = NULL::double precision

 

Definition

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

COMMENT ON FUNCTION public.st_addband(rast public.raster, index integer, pixeltype text, initialvalue double precision, nodataval double precision)
IS 'args: rast, index, 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 26/02/2014 11:51
Previous topic Chapter index Next topic