[postgis-devel] [PostGIS] #1119: [raster] Modify ST_MapAlgebra so that expressions can refer to any band

PostGIS trac at osgeo.org
Mon Jul 11 13:04:45 PDT 2011


#1119: [raster] Modify ST_MapAlgebra so that expressions can refer to any band
----------------------------+-----------------------------------------------
 Reporter:  pracine         |       Owner:  pracine              
     Type:  enhancement     |      Status:  new                  
 Priority:  low             |   Milestone:  PostGIS Raster Future
Component:  postgis raster  |     Version:  trunk                
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by pracine):

 Important to note that as soon as references are made to other band than
 1, nodata value alternative expressions should be used when ANY of the
 raster value used in the expression is nodata. E.g. if the expression is
 'rast1[2] + rast1[1] * rast2' in the two rasters ST_Mapalgebra(), then
 'nodata1expr' is used instead of 'expression' as soon as one of 'rast1[2]'
 OR 'rast1[1]' is nodata and 'nodatanodataexpr' is used as soon as
 ('rast1[2]' OR 'rast1[1]' is nodata) AND 'rast1[1]' is nodata.

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