[postgis-tickets] [PostGIS] #2328: [raster]: ST_SetBandNoDataValue should apply to all bands if no band specified

PostGIS trac at osgeo.org
Tue May 14 08:07:41 PDT 2013


#2328: [raster]: ST_SetBandNoDataValue should apply to all bands if no band
specified
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 The problem I have is that changing this behavior would be slippery slope.
 There are many other functions that assume nband = 1, e.g. ST_SetValue,
 ST_SetBandIsNoData(), ST_SummaryStats(), ST_BandMetaData().

 But the reality is that we need to be able to process many bands at once.

 Just in case, I double-checked how gdaldem handles NODATA for color-relief
 output and it behaves in the same manner as ST_ColorMap.

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