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

Function: st_quantile

 

 

Schema

public

 

Owner

postgres

 

Descriptions

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

quantile double precision

 

Definition

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

COMMENT ON FUNCTION public.st_quantile(rast public.raster, quantile double precision)
IS 'args: rast, quantile - 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 13/03/2014 13:23
Previous topic Chapter index Next topic