[postgis-devel] [PostGIS] #602: [raster] Make sure ST_BandNoDataValue return NULL when ST_HasNoDataValue is false

PostGIS trac at osgeo.org
Thu Jan 13 14:51:54 PST 2011


#602: [raster] Make sure ST_BandNoDataValue return NULL when ST_HasNoDataValue is
false
-----------------------------+----------------------------------------------
  Reporter:  pracine         |       Owner:  jorgearevalo 
      Type:  enhancement     |      Status:  closed       
  Priority:  medium          |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:  fixed           |    Keywords:               
-----------------------------+----------------------------------------------

Comment(by pracine):

 So Robe,

 following this change ST_SetBandHasNodataValue & ST_BandHasNodataValue do
 not exist anymore. They are respectively replaced by

 ST_SetBandNodataValue(rast, NULL) & NOT ST_BandNodatavalue(rast) IS NULL

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