Changes between Version 66 and Version 67 of WKTRaster/SpecificationWorking03

Show
Ignore:
Timestamp:
04/21/11 13:35:18 (2 years ago)
Author:
dustymugs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v66 v67  
    105105As part of the process to provide complete implementations of ST_AsJPEG and ST_AsPNG, a method is required to reclassify larger numbers unable to be contained in 8BUI (JPEG and PNG) and 16BUI (PNG). For this reclassification function, we need to get the min and max values of a band, thus ST_MinMax. 
    106106 
    107 1. ST_MinMax(rast raster, nband int) -> record 
    108  
    109     returns one record of two columns (min, max) 
     1071. ST_MinMax(rast raster, nband int, ignore_nodata boolean) -> record 
     108 
     109  returns one record of two columns (min, max) 
     110 
     111  nband: index of band to process on 
     112 
     113  ignore_nodata: if TRUE, any pixel who's value is nodata is ignored. 
     114 
     115{{{ 
     116ST_MinMax(rast, 2, TRUE) 
     117}}} 
     118 
     1192. ST_MinMax(rast raster, nband int) -> record 
     120 
     121  assumes ignore_nodata = TRUE 
    110122 
    111123{{{ 
     
    113125}}} 
    114126 
    115 2. ST_MinMax(rast raster) -> record 
    116  
    117     assumes that the band index = 1 
     1273. ST_MinMax(rast raster, ignore_nodata boolean) -> record 
     128 
     129  assumes band index = 1 
     130 
     131{{{ 
     132ST_MinMax(rast, FALSE) 
     133}}} 
     134 
     1354. ST_MinMax(rast raster) -> record 
     136 
     137  assumes band index = 1 and ignore_nodata = TRUE 
    118138 
    119139{{{