[postgis-devel] [PostGIS] #1525: [raster] Redefine and expand the keywords available to MapAlgebra expressions

PostGIS trac at osgeo.org
Wed Feb 1 14:52:56 PST 2012


#1525: [raster] Redefine and expand the keywords available to MapAlgebra
expressions
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  pracine      
     Type:  enhancement  |      Status:  new          
 Priority:  critical     |   Milestone:  PostGIS 2.0.0
Component:  raster       |     Version:  2.0.x        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by pracine):

 In the very beginning I was thinking about [rast].

 I think we should support [rast], [rast.val], [rast.x] and [rast.y] or
 using your syntax: :rast, :rast.val, :rast.x, :rast.y

 So [rast] and [rast.val] are equivalent and can be merged at the beginning
 of the function so only one is evaluated in the loop.

 Personnally I prefer the brackets. Easier to read in an expression.

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