From b97d8cf02fb0dc122a647d164a4ad537a077cf06 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 4 May 2010 03:50:49 +0000 Subject: [PATCH] Break out raster band editor functions into separate section git-svn-id: http://svn.osgeo.org/postgis/trunk@5609 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_wktraster.xml | 183 ++++++++++++++++++------------------ 1 file changed, 93 insertions(+), 90 deletions(-) diff --git a/doc/reference_wktraster.xml b/doc/reference_wktraster.xml index 85ecdfe76..410ef6141 100644 --- a/doc/reference_wktraster.xml +++ b/doc/reference_wktraster.xml @@ -1409,96 +1409,6 @@ WHERE Raster Editors - - - ST_SetBandHasNoDataValue - Sets whether or not a band has a value that should be considered no data. - - - - - - raster ST_SetBandHasNoDataValue - raster rast - integer bandnum - boolean has_nodatavalue - - - - - - Description - - Sets whether or not a band has a value that should be considered no data. - - - - Examples - - -- change just first band no data value -UPDATE dummy_rast - SET rast = ST_SetBandHasNoDataValue(rast,1, false) -WHERE rid = 2; - - - - - - See Also - , - - - - - - ST_SetBandNoDataValue - Sets the value for the given band that represents no data. - - - - - - integer ST_SetBandNoDataValue - raster rast - integer bandnum - double precision val - - - - - - Description - - Sets the value that represents no data for the band. This will effect ST_Polygon and ST_ConvexHull results. - - - - Examples - - -- change just first band no data value -UPDATE dummy_rast - SET rast = ST_SetBandNoDataValue(rast,1, 254) -WHERE rid = 2; - --- change no data band value of bands 1,2,3 -UPDATE dummy_rast - SET rast = - ST_SetBandNoDataValue( - ST_SetBandNoDataValue( - ST_SetBandNoDataValue( - rast,1, 254) - ,2,99), - 3,108) - WHERE rid = 2; - - - - - - See Also - , - - @@ -1776,6 +1686,99 @@ WHERE rid = 2; + + Raster Band Editors + + + ST_SetBandHasNoDataValue + Sets whether or not a band has a value that should be considered no data. + + + + + + raster ST_SetBandHasNoDataValue + raster rast + integer bandnum + boolean has_nodatavalue + + + + + + Description + + Sets whether or not a band has a value that should be considered no data. + + + + Examples + + -- change just first band no data value +UPDATE dummy_rast + SET rast = ST_SetBandHasNoDataValue(rast,1, false) +WHERE rid = 2; + + + + + + See Also + , + + + + + + ST_SetBandNoDataValue + Sets the value for the given band that represents no data. + + + + + + integer ST_SetBandNoDataValue + raster rast + integer bandnum + double precision val + + + + + + Description + + Sets the value that represents no data for the band. This will effect ST_Polygon and ST_ConvexHull results. + + + + Examples + + -- change just first band no data value +UPDATE dummy_rast + SET rast = ST_SetBandNoDataValue(rast,1, 254) +WHERE rid = 2; + +-- change no data band value of bands 1,2,3 +UPDATE dummy_rast + SET rast = + ST_SetBandNoDataValue( + ST_SetBandNoDataValue( + ST_SetBandNoDataValue( + rast,1, 254) + ,2,99), + 3,108) + WHERE rid = 2; + + + + + + See Also + , + + + Raster Outputs -- 2.40.0