[postgis-devel] [PostGIS] #1281: [raster] ST_MapAlgebraFct for two rasters

PostGIS trac at osgeo.org
Fri Nov 11 07:14:49 PST 2011


#1281: [raster] ST_MapAlgebraFct for two rasters
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  blocker      |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 The sibling to 2-raster ST_MapAlgebraExpr.  Instead of a set of
 expressions, use a function call.

 1. st_mapalgebrafct(
         rast1 raster, band1 integer,
         rast2 raster, band2 integer,
         userfunction regprocedure,
         pixeltype text DEFAULT NULL, extenttype text DEFAULT
 'INTERSECTION',
         VARIADIC userargs text[] DEFAULT NULL

 2. st_mapalgebrafct(
         rast1 raster,
         rast2 raster,
         userfunction regprocedure,
         pixeltype text DEFAULT NULL, extenttype text DEFAULT
 'INTERSECTION',
         VARIADIC userargs text[] DEFAULT NULL
 )

 3. st_mapalgebrafct(
         rast1 raster,
         rast2 raster,
         userfunction regprocedure,
         VARIADIC userargs text[]
 )

 It'll be interesting to compare performance between this function and
 ST_MapAlgebraExpr.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1281>
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