[postgis-devel] [PostGIS] #860: [raster] Modify ST_MapAlgebra to handle expressions and user-functions

PostGIS trac at osgeo.org
Mon Oct 17 07:37:08 PDT 2011


#860: [raster] Modify ST_MapAlgebra to handle expressions and user-functions
----------------------------+-----------------------------------------------
 Reporter:  dzwarg          |       Owner:  pracine      
     Type:  enhancement     |      Status:  new          
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:  history         |  
----------------------------+-----------------------------------------------

Comment(by robe):

 I think you have a typo in the last example:

 shouldn't:

 {{{
 ST_MapAlgebraFct(rast_view,1,NULL,'tan(rast)*rast')
 }}}



 Be:

 {{{
 ST_MapAlgebraFct(rast_view,1,NULL,'rast_plus_tan(float,text[])'::regprocedure')
 }}}

 Also it is unclear from the description what the args argument is for an
 if all userdefined functions require a second text[].  For example the
 rast_plus_tan functions takes a text[] as second arg but never uses it.

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