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

PostGIS trac at osgeo.org
Mon Feb 6 12:57:01 PST 2012


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

  * keywords:  => history
  * owner:  pracine => dzwarg
  * status:  reopened => new


Comment:

 Support added for 2-raster ST_MapAlgebraFct in r9052.  Now just for
 1-raster ST_MapAlgebraFct to have similar support.

 User functions can now use the following four parameter signature in
 addition to the existing three parameter signature.

 {{{
 myfunction(double precision, double precision, int[], VARIADIC text[])
 }}}

 The int[] contains the x and y pixel positions of the two rasters.

 0 => raster 1 x coordinate[[BR]]
 1 => raster 1 y coordinate[[BR]]
 2 => raster 2 x coordinate[[BR]]
 3 => raster 2 y coordinate[[BR]]

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