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

Function: st_nearestvalue

 

 

Schema

public

 

Owner

postgres

 

Descriptions

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

sql

Parameters

rast public.raster

pt public.geometry

exclude_nodata_value boolean = true

 

Definition

CREATE OR REPLACE FUNCTION public.st_nearestvalue (
 rast public.raster,
 pt public.geometry,
 exclude_nodata_value boolean = true
)
RETURNS double precision AS
$span$
SELECT
st_nearestvalue($1, 1, $2, $3)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_nearestvalue(rast public.raster, pt public.geometry, exclude_nodata_value boolean)
IS 'args: rast, 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 13/03/2014 13:23
Previous topic Chapter index Next topic