From a9289383b76de0434c67b94ebd4ffa7d303d28f2 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 7 Jun 2011 07:20:53 +0000 Subject: [PATCH] add description ST_Histogram inputs git-svn-id: http://svn.osgeo.org/postgis/trunk@7329 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index a10376059..2efbb5bd8 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -310,7 +310,6 @@ VALUES (1, count integer count of pixels in this bin. - @@ -3467,7 +3466,7 @@ rid | exclude_nodata | include_nodata boolean exclude_nodata_value=true integer bins=0 double precision[] width=NULL - boolean right=true + boolean right=false @@ -3476,7 +3475,7 @@ rid | exclude_nodata | include_nodata integer nband integer bins double precision[] width=NULL - boolean right=true + boolean right=false @@ -3494,7 +3493,24 @@ rid | exclude_nodata | include_nodata Description Returns set of histogram records consisting of min,max, count, percent for a given raster band for each bin. If no band is specified nband defaults to 1. - By default only considers pixel values not equal to the nodata value . Set exclude_nodata_value to false to get count all pixels. By default will sample all pixels. To get faster response, set sample_percent to lower than 1 + By default only considers pixel values not equal to the nodata value . Set exclude_nodata_value to false to get count all pixels. + + + + width double precision[] + width: an array indicating the width of each category/bin. If the number of bins is greater than the number of widths, the widths are repeated. + Example: 9 bins, widths are [a, b, c] will have the output be [a, b, c, a, b, c, a, b, c] + + + bin integer + Number of breakouts -- this is the number of records you'll get back from the function if specified. If not specified + then the number of breakouts is autocomputed. + + + right boolean + compute the histogram from the right rather than from the left (default). This changes the criteria for evaluating a value x from [a, b) to (a, b] + + Availability: 2.0.0 -- 2.50.1