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

Function: st_bandmetadata

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, bandnum=1 - Returns basic meta data for a specific raster band. band num 1 is assumed if none-specified.

 

Options

Option

Value

Returns

record

Language

sql

Parameters

rast public.raster

band integer = 1

out pixeltype text

out nodatavalue double precision

out isoutdb boolean

out path text

 

Definition

CREATE OR REPLACE FUNCTION public.st_bandmetadata (
 rast public.raster,
 band integer = 1,
 out pixeltype text,
 out nodatavalue double precision,
 out isoutdb boolean,
 out path text
)
RETURNS record AS
$span$
SELECT
pixeltype, nodatavalue, isoutdb, path FROM public.ST_BandMetaData($1, ARRAY[$2]::int[]) LIMIT 1
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_bandmetadata(rast public.raster, band integer, out pixeltype text, out nodatavalue double precision, out isoutdb boolean, out path text)
IS 'args: rast, bandnum=1 - Returns basic meta data for a specific raster band. band num 1 is assumed if none-specified.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic