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

Function: st_nearestvalue

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, bandnum, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

 

Options

Option

Value

Returns

double precision

Language

c

Parameters

rast public.raster

band integer

pt public.geometry

exclude_nodata_value boolean = true

 

Definition

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

COMMENT ON FUNCTION public.st_nearestvalue(rast public.raster, band integer, pt public.geometry, exclude_nodata_value boolean)
IS 'args: rast, bandnum, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.';

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