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

PostGIS trac at osgeo.org
Fri May 27 13:28:33 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 dustymugs):

 I think the ideal solution (at least for all the functions I've written)
 is to eliminate the "hasnodata" function argument.  If a band is flagged
 as having nodata values and the nodata value is set, just the function run
 with it.  This assumes that the creator/maintainer of the raster knows
 what they're doing so the function goes with what it is given.

 There are no speed improvements for the "hasnodata" flag, just a filtering
 one.

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