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

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


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

  * owner:  pracine => dzwarg


Comment:

 Replying to [comment:17 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.
 >
 Yup! That's a typo.

 I will add a paragraph describing what a userfunction should look like,
 what the arguments are, and things of that nature.

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