[postgis-devel] [PostGIS] #902: [raster] ST_MinMax
PostGIS
trac at osgeo.org
Thu Apr 7 16:50:21 PDT 2011
#902: [raster] ST_MinMax
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: task | Status: new
Priority: medium | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
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)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/902>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list