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_value

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, band, x, y, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

 

Options

Option

Value

Returns

double precision

Language

c

Parameters

rast public.raster

band integer

x integer

y integer

exclude_nodata_value boolean = true

 

Definition

CREATE OR REPLACE FUNCTION public.st_value (
 rast public.raster,
 band integer,
 x integer,
 y integer,
 exclude_nodata_value boolean = true
)
RETURNS double precision AS
'$libdir/rtpostgis-2.3', 'RASTER_getPixelValue'
LANGUAGE 'c'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
1;

COMMENT ON FUNCTION public.st_value(rast public.raster, band integer, x integer, y integer, exclude_nodata_value boolean)
IS 'args: rast, band, x, y, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.';

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