[postgis-devel] [PostGIS] #903: [raster] ST_Reclass

PostGIS trac at osgeo.org
Mon Apr 11 05:28:56 PDT 2011

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

Comment(by pracine):

 Replying to [comment:4 dustymugs]:
 > I'm thinking of also adding two additional keywords BANDMIN and BANDMAX
 as placeholders for the min and max values returned from ST_MinMax.  So,
 for the example
 > min(covmin, 0)-0:0,0-max(covmax, 0):0-255
 > the user doesn't have to store covmin and covmax somewhere (in table
 columns or a user-written function with variables) that needs to be passed
 to ST_Reclass.  Rather,
 > min(BANDMIN, 0)-0:0,0-max(BANDMAX, 0):0-255
 > would have ST_Reclass internally substitute the min and max values from

 The problem with this is that ST_MinMax is a slow process...

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