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_neighborhood

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either 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

distancex integer

distancey integer

exclude_nodata_value boolean = true

 

Definition

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

COMMENT ON FUNCTION public.st_neighborhood(rast public.raster, pt public.geometry, distancex integer, distancey integer, exclude_nodata_value boolean)
IS 'args: rast, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either 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 07/12/2018 13:23
Previous topic Chapter index Next topic