[postgis-tickets] [PostGIS] #2341: [raster] ST_MapAlgebra mask parameter

PostGIS trac at osgeo.org
Wed May 29 11:37:05 PDT 2013


#2341: [raster] ST_MapAlgebra  mask parameter
-------------------------+--------------------------------------------------
 Reporter:  nclay        |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by nclay):

 That is what I had in mind. I am sill working on it and should have it
 ready for testing, by Monday. I have the raster iterator done and its
 pixel fetcher done that considers of a mask. When you say that "Existing
 distancex and distancey variants will be changed to run on top of the mask
 variants since the mask ones are more flexible." My current code has it
 where if the Mask parameter is null then the "old code runs", and if a
 Mask is provided the 'new code is run'. Are you saying that, the code
 should be cleaned up so that we create a mask,
 {{{

 mask = ARRAY[
   [1, 1, 1],
   [1, 1, 1]
   [1, 1, 1]
 ]

 }}}

 To be passed mimicking the old behaviour? Or is the current branching
 behaviour acceptable?

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