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

Function: st_quantile

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, exclude_nodata_value, quantile=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

 

Options

Option

Value

Returns

double precision

Language

sql

Parameters

rast public.raster

exclude_nodata_value boolean

quantile double precision = NULL::double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_quantile (
 rast public.raster,
 exclude_nodata_value boolean,
 quantile double precision = NULL::double precision
)
RETURNS double precision AS
$span$
SELECT
( public._ST_quantile($1, 1, $2, 1, ARRAY[$3]::double precision[])).value
$span$
LANGUAGE
'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_quantile(rast public.raster, exclude_nodata_value boolean, quantile double precision)
IS 'args: rast, exclude_nodata_value, quantile=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.';

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