From 5f92c9df9c9c9db7946d52620104192e23ae33ed Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Sat, 28 Jan 2012 00:23:26 +0000 Subject: [PATCH] add protos for ST_Quantile raster table coverage. Still some more to add as well as examples of usage git-svn-id: http://svn.osgeo.org/postgis/trunk@8952 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 94cb9d0f8..e2908d58d 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -4201,7 +4201,7 @@ FROM (SELECT rid, ST_Histogram(rast, 2,6,ARRAY[0.5,1,4,100,5]) As stats ST_Quantile - Compute quantiles in the context of the sample or population. Thus, a value could be examined to be at the raster's 25%, 50%, 75% percentile. + 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 raster's 25%, 50%, 75% percentile. @@ -4254,13 +4254,30 @@ FROM (SELECT rid, ST_Histogram(rast, 2,6,ARRAY[0.5,1,4,100,5]) As stats integer nband double precision quantile + + + + setof quantile ST_Quantile + text rastertable + text rastercolumn + integer nband=1 + boolean exclude_nodata_value=true + double precision[] quantiles=NULL + + + setof quantile ST_Quantile + text rastertable + text rastercolumn + integer nband + double precision[] quantiles + Description - Compute quantiles in the context of the sample or population. Thus, a value could be examined to be at the raster's 25%, 50%, 75% percentile. + 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 raster's 25%, 50%, 75% percentile. If exclude_nodata_value is set to false, will also count pixels with no data. Availability: 2.0.0 -- 2.40.0