[postgis-devel] [PostGIS] #985: [raster] ST_Count

PostGIS trac at osgeo.org
Fri May 27 13:34:35 PDT 2011


#985: [raster] ST_Count
-----------------------------+----------------------------------------------
  Reporter:  dustymugs       |       Owner:  dustymugs    
      Type:  task            |      Status:  reopened     
  Priority:  medium          |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:  history      
-----------------------------+----------------------------------------------

Comment(by pracine):

 I would tend to agree. If there are some nodata values and I want to count
 them I can easily do:

 SELECT ST_ValueCount(ST_SetBandNodataValue(rast, NULL))

 Otherwise:

 SELECT ST_ValueCount(rast, ...)

 Would not count them. But what if I include the nodata value in the list
 of value to count?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/985#comment:10>
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