[postgis-devel] [PostGIS] #902: [raster] ST_MinMax
PostGIS
trac at osgeo.org
Fri May 13 15:13:55 PDT 2011
#902: [raster] ST_MinMax
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: task | Status: assigned
Priority: medium | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by dustymugs):
A set of ST_MinMax and ST_ApproxMinMax variations for processing
coverages:
1. ST_MinMax(rastertable text, rastercolumn text, nband int, hasnodata
boolean) -> record
{{{
ST_MinMax('tmax_2010', 'rast', 1, FALSE)
ST_MinMax('precip_2011', 'rast', 1, TRUE)
}}}
2. ST_MinMax(rastertable text, rastercolumn text, nband int) -> record
hasnodata is set to FALSE
{{{
ST_MinMax('tmax_2010', 'rast', 1)
}}}
3. ST_MinMax(rastertable text, rastercolumn text, hasnodata boolean) ->
record
nband is set to 1
{{{
ST_MinMax('precip_2011', 'rast', TRUE)
}}}
4. ST_MinMax(rastertable text, rastercolumn text) -> record
nband is set to 1 and hasnodata is set to FALSE
{{{
ST_MinMax('tmin_2009', 'rast')
}}}
Variations for ST_ApproxMinMax are:
1. ST_ApproxMinMax(rastertable text, rastercolumn text, nband int,
hasnodata boolean, sample_percent double precision) -> record
{{{
ST_ApproxMinMax('tmax_2010', 'rast', 1, FALSE, 0.5)
ST_ApproxMinMax('precip_2011', 'rast', 1, TRUE, 0.2)
}}}
2. ST_ApproxMinMax(rastertable text, rastercolumn text, nband int,
sample_percent double precision) -> record
hasnodata is set to FALSE
{{{
ST_ApproxMinMax('tmax_2010', 'rast', 1, 0.5)
ST_ApproxMinMax('precip_2011', 'rast', 1, 0.2)
}}}
3. ST_ApproxMinMax(rastertable text, rastercolumn text, hasnodata boolean,
sample_percent double precision) -> record
nband is set to 1
{{{
ST_ApproxMinMax('tmax_2010', 'rast', FALSE, 0.5)
ST_ApproxMinMax('precip_2011', 'rast', TRUE, 0.2)
}}}
4. ST_ApproxMinMax(rastertable text, rastercolumn text, sample_percent
double precision) -> record
nband is set to 1 and hasnodata is set to FALSE
{{{
ST_ApproxMinMax('tmax_2010', 'rast', 0.5)
ST_ApproxMinMax('precip_2011', 'rast', 0.2)
}}}
5. ST_ApproxMinMax(rastertable text, rastercolumn text) -> record
nband is set to 1, hasnodata is set to FALSE and sample_percent is set
to 0.1
{{{
ST_ApproxMinMax('tmax_2010', 'rast')
ST_ApproxMinMax('precip_2011', 'rast')
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/902#comment:9>
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