[postgis-devel] [PostGIS] #1048: [raster] Coverage version of stats functions should be aggregates
PostGIS
trac at osgeo.org
Tue Jun 21 08:39:08 PDT 2011
#1048: [raster] Coverage version of stats functions should be aggregates
----------------------------+-----------------------------------------------
Reporter: pracine | Owner: pracine
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Thinking about it twice I was wondering if it would not be better to
implement the coverage versions of ST_Histogram, ST_SummaryStat, ST_count,
ST_ValueCount, ST_ValuePercent (BTW should not there be a coverage version
of ST_Quantile?) as aggregates. We would be able to limit the stats to
tiles selected with a where clause.
I guess you would just have to refactor the existing code into a complex
state object with a state function accumulating stats and a final
function.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1048>
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