[postgis-devel] [PostGIS] #593: [raster] Add a ST_BandIsNoData function

PostGIS trac at osgeo.org
Wed Jan 26 06:25:27 PST 2011


#593: [raster] Add a ST_BandIsNoData function
-----------------------------+----------------------------------------------
  Reporter:  pracine         |       Owner:  jorgearevalo 
      Type:  task            |      Status:  reopened     
  Priority:  medium          |   Milestone:  PostGIS 2.0.0
 Component:  postgis raster  |     Version:  trunk        
Resolution:                  |    Keywords:               
-----------------------------+----------------------------------------------
Changes (by jorgearevalo):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Anyway, I think the isnodata flag must be set to true in these 2
 cases:[[BR]]
 - Calling ST_SetBandNoDataValue with TRUE as last argument[[BR]]
 - Calling ST_SetPixelValue with TRUE as last argument[[BR]]

 Optionally, to simply "clean" the flag without changing any other band
 value, we may want, as you said, a ST_SetBandIsNodata function.

 So, we can update the raster at database by calling one of that 3
 functions over each raster object.

 Agree?

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