Schema
Owner
postgres
Descriptions
args: rast, columnx, rowy, 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 columnx integer rowy integer exclude_nodata_value boolean = true |
Definition
CREATE OR REPLACE FUNCTION public.st_nearestvalue (
rast public.raster,
columnx integer,
rowy integer,
exclude_nodata_value boolean = true
)
RETURNS double precision AS
$span$
SELECT st_nearestvalue($1, 1, st_setsrid(st_makepoint(st_rastertoworldcoordx($1, $2, $3), st_rastertoworldcoordy($1, $2, $3)), st_srid($1)), $4)
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_nearestvalue(rast public.raster, columnx integer, rowy integer, exclude_nodata_value boolean)
IS 'args: rast, columnx, rowy, 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 |