[postgis-devel] [PostGIS] #932: [raster] ST_StdDev
PostGIS
trac at osgeo.org
Fri May 13 15:10:34 PDT 2011
#932: [raster] ST_StdDev
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: task | Status: assigned
Priority: medium | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Changes (by dustymugs):
* status: new => assigned
Comment:
A set of ST_StdDev and ST_ApproxStdDev variations for processing
coverages:
1. ST_StdDev(rastertable text, rastercolumn text, nband int, hasnodata
boolean) -> double precision
{{{
ST_StdDev('tmax_2010', 'rast', 1, FALSE)
ST_StdDev('precip_2011', 'rast', 1, TRUE)
}}}
2. ST_StdDev(rastertable text, rastercolumn text, nband int) -> double
precision
hasnodata is set to FALSE
{{{
ST_StdDev('tmax_2010', 'rast', 1)
}}}
3. ST_StdDev(rastertable text, rastercolumn text, hasnodata boolean) ->
double precision
nband is set to 1
{{{
ST_StdDev('precip_2011', 'rast', TRUE)
}}}
4. ST_StdDev(rastertable text, rastercolumn text) -> double precision
nband is set to 1 and hasnodata is set to FALSE
{{{
ST_StdDev('tmin_2009', 'rast')
}}}
Variations for ST_ApproxStdDev are:
1. ST_ApproxStdDev(rastertable text, rastercolumn text, nband int,
hasnodata boolean, sample_percent double precision) -> double precision
{{{
ST_ApproxStdDev('tmax_2010', 'rast', 1, FALSE, 0.5)
ST_ApproxStdDev('precip_2011', 'rast', 1, TRUE, 0.2)
}}}
2. ST_ApproxStdDev(rastertable text, rastercolumn text, nband int,
sample_percent double precision) -> double precision
hasnodata is set to FALSE
{{{
ST_ApproxStdDev('tmax_2010', 'rast', 1, 0.5)
ST_ApproxStdDev('precip_2011', 'rast', 1, 0.2)
}}}
3. ST_ApproxStdDev(rastertable text, rastercolumn text, hasnodata boolean,
sample_percent double precision) -> double precision
nband is set to 1
{{{
ST_ApproxStdDev('tmax_2010', 'rast', FALSE, 0.5)
ST_ApproxStdDev('precip_2011', 'rast', TRUE, 0.2)
}}}
4. ST_ApproxStdDev(rastertable text, rastercolumn text, sample_percent
double precision) -> double precision
nband is set to 1 and hasnodata is set to FALSE
{{{
ST_ApproxStdDev('tmax_2010', 'rast', 0.5)
ST_ApproxStdDev('precip_2011', 'rast', 0.2)
}}}
5. ST_ApproxStdDev(rastertable text, rastercolumn text) -> double
precision
nband is set to 1, hasnodata is set to FALSE and sample_percent is set
to 0.1
{{{
ST_ApproxStdDev('tmax_2010', 'rast')
ST_ApproxStdDev('precip_2011', 'rast')
}}}
The standard deviation returned is the cumulative standard deviation of
all raster tiles.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/932#comment:1>
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