[postgis-devel] [PostGIS] #1681: [raster] ST_BandMetadata should not report hasnodata anymore

PostGIS trac at osgeo.org
Tue Mar 13 07:49:29 PDT 2012


#1681: [raster] ST_BandMetadata should not report hasnodata anymore
-------------------------+--------------------------------------------------
 Reporter:  pracine      |       Owner:  pracine      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.1
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 Now that the absence of nodata value is generally reported as NULL (as in
 ST_BandNodataValue()), and even if there is an internal flag that is still
 necessary, there is not need to return a hasnodata column when invoking
 ST_BandMetadata(). Just return NULL when the flag is false.

 The report is confusing as it can say FALSE for hasnodata and still report
 what is set as nodata value even if it is not used. The expected behaviour
 is to report NULL when the flag is FALSE.

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