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

PostGIS trac at osgeo.org
Wed Jun 8 13:09:59 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):

 So, are you two proposing the elimination of the following wrapper
 functions:

 ST_Count
 ST_Sum
 ST_Mean
 ST_Stddev
 ST_MinMax

 and the Approx versions of the above?  I'm just confirming as my vote is
 "yes" to eliminating them!  Granted, this would eliminate the shortcut
 that Pierre mentioned earlier this week and I implemented for ST_Count.

 On a side note, I really don't like the fact the inefficiency of getting a
 raster's width and height using ST_Width and ST_Height.  As I was writing
 the ST_Histogram function for coverage tables, it gets really inefficient
 calling both functions for the dimensions instead of calling a unified
 ST_Dimensions function.

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