[postgis-devel] [PostGIS] #606: [raster] ST_Value should return NULL for nodata values

PostGIS trac at osgeo.org
Wed Jan 19 13:44:21 PST 2011


#606: [raster] ST_Value should return NULL for nodata values
----------------------------+-----------------------------------------------
 Reporter:  pracine         |       Owner:  pracine      
     Type:  enhancement     |      Status:  assigned     
 Priority:  critical        |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by pracine):

 There should be a boolean option to disable this behavior and return the
 true value of a nodata value pixel if required.

 ST_Value(rast, x, y, FALSE)

 In this case FALSE means "ignore the nodata value flag" or "do not take
 nodata value into account and treat any nodata value like withdata
 values".

 By default the boolean option is TRUE and the function returns NULL (if
 the value is nodata).

 This boolean option have the same meaning as the one in st_intersects and
 should be generalize to every fucntion when we want it to ignore nodata
 values.

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