[postgis-devel] [PostGIS] #1576: [raster] ST_Clip should accept an array of nodata value

PostGIS trac at osgeo.org
Mon Feb 13 13:27:59 PST 2012


#1576: [raster] ST_Clip should accept an array of nodata value
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Only one nodata value can be passed right now for when the provided raster
 do not have one defined. Since ST_Clip works on multiband rasters, we
 should be able to pass as many nodata values as there are bands in the
 raster to clip. We can accept a float8[].

 If the number of nodata values provided in the array is smaller than the
 number of band, the last value is reused for the remaining bands.

 If the number of nodata value provided is greater than the number of band
 the extra values are ignored.

 This ticket is very similar to #1536. In general, we must have a way to
 provide nodata values to any function potentially creating new nodata
 value pixels with raster not having a nodata value defined.

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