Changes between Version 72 and Version 73 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Apr 29, 2011, 10:30:36 AM (13 years ago)
Author:
Bborie Park
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v72 v73  
    149149The functions are:
    150150
    151 1. ST_ApproxMinMax(rast raster, nband int, ignore_nodata boolean, sample float8) -> record
    152 
    153   sample: a value between 0 and 100 indicating the percentage of the raster band's pixels to consider when determining the min/max pair.
    154 
    155 {{{
    156 ST_ApproxMinMax(rast, 3, FALSE, 10)
    157 
    158 ST_ApproxMinMax(rast, 1, TRUE, 50)
    159 }}}
    160 
    161 2. ST_ApproxMinMax(rast raster, ignore_nodata boolean, sample float8) -> record
     1511. ST_ApproxMinMax(rast raster, nband int, ignore_nodata boolean, sample double precision) -> record
     152
     153  sample: a value between 0 and 1 indicating the percentage of the raster band's pixels to consider when determining the min/max pair.
     154
     155{{{
     156ST_ApproxMinMax(rast, 3, FALSE, 0.1)
     157
     158ST_ApproxMinMax(rast, 1, TRUE, 0.5)
     159}}}
     160
     1612. ST_ApproxMinMax(rast raster, ignore_nodata boolean, sample double precision) -> record
    162162
    163163  assumes that nband = 1
    164164
    165165{{{
    166 ST_ApproxMinMax(rast, FALSE, 1)
    167 
    168 ST_ApproxMinMax(rast, TRUE, 2.5)
    169 }}}
    170 
    171 3. ST_ApproxMinMax(rast raster, sample float8) -> record
     166ST_ApproxMinMax(rast, FALSE, 0.01)
     167
     168ST_ApproxMinMax(rast, TRUE, 0.025)
     169}}}
     170
     1713. ST_ApproxMinMax(rast raster, sample double precision) -> record
    172172
    173173  assumes that nband = 1 and ignore_nodata = TRUE
    174174
    175175{{{
    176 ST_ApproxMinMax(rast, 25)
     176ST_ApproxMinMax(rast, 0.25)
    177177}}}
    178178
    1791794. ST_ApproxMinMax(rast raster) -> record
    180180
    181   assumes that nband = 1, ignore_nodata = TRUE and sample = 10
     181  assumes that nband = 1, ignore_nodata = TRUE and sample = 0.1
    182182
    183183{{{