Ticket #902 (closed task: fixed)
[raster] ST_MinMax
| Reported by: | dustymugs | Owned by: | dustymugs |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | raster | Version: | trunk |
| Keywords: | history | Cc: |
Description
As 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.
ST_MinMax(rast raster, nband int) -> set of record
returns one record of two columns (min, max)
ST_MinMax(rast, 2)
ST_MinMax(rast raster) -> set of record
assumes that the band index = 1
ST_MinMax(rast)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

