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

PostGIS trac at osgeo.org
Fri Jan 14 06:11:33 PST 2011


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

Comment(by jorgearevalo):

 Replying to [comment:7 pracine]:
 > As you might guess there is no easy way to set the flag in case a
 ST_SetValue would set the last unique pixel withdata of a raster. There
 should be a ST_BandIsNoData(rast, TRUE) that would scan every raster to
 reset the flag if necessary. This function would be slow as it needs to
 scan every pixels. This function would not be called everytime by pixel
 setting functions but just some times by the user (like a VACUUM ANALYSE
 sql command).

 Actually, I've coded the function with that option, just now. The flag
 forces a new checking.

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