From 4141521a8f22ad84be26e48ed66cf2723451e792 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 10 Jun 2011 05:13:39 +0000 Subject: [PATCH] more description on reclass expressions git-svn-id: http://svn.osgeo.org/postgis/trunk@7356 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 85deefabc..022cae0bd 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -378,7 +378,17 @@ VALUES (1, reclassexpr text - range expression consisting of comma delimited range:map_range mappings. : to define mapping that defines how to map old band values to new band values. ( means >, ) means less than, ] < or equal, [ means > or equal + range expression consisting of comma delimited range:map_range mappings. : to define mapping that defines how to map old band values to new band values. ( means >, ) means less than, ] < or equal, [ means > or equal + 1. [a-b] = a <= x <= b + +2. (a-b] = a < x <= b + +3. [a-b) = a <= x < b + +4. (a-b) = a < x < b +( notation is optional so a-b means the same as (a-b) + + pixeltype text @@ -4835,8 +4845,9 @@ POLYGON((3427928 5793243.85,3427928 5793243.8,3427928 5793243.75,3427927.85 5793 Description - Creates a new raster formed by applying a valid PostgreSQL algebraic operation defined by the expression on the input raster (rast). If no band is specified - band 1 is assumed. The new raster will have the same georeference, width, and height as the original raster. Bands not designated will come back unchanged. + Creates a new raster formed by applying a valid PostgreSQL algebraic operation defined by the reclassexpr on the input raster (rast). If no band is specified + band 1 is assumed. The new raster will have the same georeference, width, and height as the original raster. Bands not designated will come back unchanged. + Refer to for description of valid reclassification expressions. The bands of the new raster will have pixel type of pixeltype. If reclassargset is passed in then each reclassarg defines behavior of each band generated. -- 2.50.1