[postgis-devel] [PostGIS] #1546: [raster] ST_AddBand() does not clamp the nodata value

PostGIS trac at osgeo.org
Mon Feb 6 14:19:45 PST 2012


#1546: [raster] ST_AddBand() does not clamp the nodata value
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  low      |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pracine):

 ST_SetBandNodataValue() does it properly...

 {{{
 SELECT
 ST_BandNodataValue(ST_SetBandNodataValue(ST_AddBand(ST_MakeEmptyRaster(2,
 2, 0, 0, 0.001, -0.001, 0, 0, 4269), '8BSI'::text, 0, 2), 200));
 }}}

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