[postgis-devel] [PostGIS] #1616: [raster] ST_AsRaster do not set nodata value properly

PostGIS trac at osgeo.org
Fri Feb 24 14:41:35 PST 2012


#1616: [raster] ST_AsRaster do not set nodata value properly
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 SELECT ST_BandNodataValue(
 ST_AsRaster(
 ST_Buffer(ST_SetSRID(ST_MakePoint(-1, 1), 0), 2), 1.0, -1.0, 0.2, 0.2,
 '8BSI', 1, -10, 0, 0, false) , 1)
 }}}

 Should return -10. It returns 0.

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