[postgis-devel] [PostGIS] #871: [raster] ST_AddBand documentation is inconsistent with function definitions and spec

PostGIS trac at osgeo.org
Wed Mar 23 12:40:21 PDT 2011


#871: [raster] ST_AddBand documentation is inconsistent with function definitions
and spec
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  assigned     
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by pracine):

 Actually the last form I came with to be consistent with other ST_AddBand
 forms is:

 st_addband(torast raster, fromrast raster, fromband int, torastindex int)

 Index is what we use to specify a band position when it does not exist. It
 is an index (a position where to add a band) not an existing band
 parameter.

 I'll commit this...

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