Changes between Version 60 and Version 61 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Apr 10, 2011, 10:17:45 AM (13 years ago)
Author:
Bborie Park
Comment:

ST_MinMax

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v60 v61  
    100100
    101101''' Open Question: ''' Should the function fail if an index is invalid?  How should this work when providing more than one indices to the function?
     102
     103----
     104'''ST_MinMax(raster, nband) -> record'''[[BR]]
     105As 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.
     106
     107ST_MinMax(rast raster, nband int) -> record
     108
     109    returns one record of two columns (min, max)
     110
     111{{{
     112ST_MinMax(rast, 2)
     113}}}
     114
     115ST_MinMax(rast raster) -> record
     116
     117    assumes that the band index = 1
     118
     119{{{
     120ST_MinMax(rast)
     121}}}
    102122
    103123----