[postgis-devel] [PostGIS] #969: [raster] Inconsistent order of named args in ST_MapAlgebra

PostGIS trac at osgeo.org
Thu Jul 21 12:12:23 PDT 2011


#969: [raster] Inconsistent order of named args in ST_MapAlgebra
-----------------------------+----------------------------------------------
  Reporter:  robe            |       Owner:  pracine      
      Type:  defect          |      Status:  reopened     
  Priority:  blocker         |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:               
-----------------------------+----------------------------------------------
Changes (by pracine):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I still get a problem with:

 {{{
 SELECT ST_Mapalgebra(ST_TestRaster(0, 0, 1), 'rast + 280'::text,
 '16BUI'::text)
 }}}

 which according to the doc should map to the third variant:

 raster ST_MapAlgebra(raster rast, text expression, text pixeltype)

 I get:

 {{{
 raster ST_MapAlgebra(raster rast, text expression, text pixeltype)
 LINE 1: SELECT ST_Mapalgebra(ST_TestRaster(0, 0, 1), 'rast + 280'::t...
                ^
 HINT:  Could not choose a best candidate function. You might need to add
 explicit type casts.
 }}}

 I'm (still) on PostgreSQL 8.4.1...

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