[postgis-devel] [PostGIS] #930: [raster] ST_SummaryStats

PostGIS trac at osgeo.org
Fri Apr 29 11:11:39 PDT 2011

#930: [raster] ST_SummaryStats
 Reporter:  dustymugs       |       Owner:  dustymugs            
     Type:  task            |      Status:  new                  
 Priority:  medium          |   Milestone:  PostGIS Raster Future
Component:  postgis raster  |     Version:  trunk                
 Keywords:                  |  

Comment(by pracine):

 "ignore_nodata boolean" should be replaced with "hasnodata boolean " to be
 more consistent with the way we already specify to take into account or
 ignore nodata values in ST_Intersects and eventually in ST_DumpAsPolygons
 and ST_Intersection. The logic, in this case, is inverted: when FALSE we
 do not take nodata values into account.

 Users can also normally just do
 ST_SummaryStats(ST_SetBandNoDataValue(rast, NULL)) to get the same result.

 We expect to have a similar set of function taking a geometry (any kind:
 multipoint, lines, polygons) to limit the stats to the area of this

 Thanks dustymugs

Ticket URL: <http://trac.osgeo.org/postgis/ticket/930#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