[postgis-tickets] [PostGIS] #2803: [raster] ST_MapAlgebra checks callbacks parameters but not strictness

PostGIS trac at osgeo.org
Thu Jul 3 06:28:22 PDT 2014


#2803: [raster] ST_MapAlgebra checks callbacks parameters but not strictness
--------------------+-------------------------------------------------------
 Reporter:  strk    |       Owner:  dustymugs
     Type:  defect  |      Status:  assigned 
 Priority:  medium  |   Milestone:           
Component:  raster  |     Version:  trunk    
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by strk):

 I meant the 3rd argument expected by the user callback signature. Does
 ST_MapAlgebra code checks that the 3rd argument expected by the user
 callback signature is of the "array" type ? To me, the less requirements
 we enforce, the better. Like if a user doesn't need custom arguments
 passed to the callback I would not even require a 3rd argument...

 In any case, for the sake of this ticket, anything that complains if a
 requirement is not met (rather than doing something which can be
 unexpected) is ok. Would be better to use other tickets for other
 enhancements (like changing the requirements).

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