[postgis-devel] [PostGIS] #1581: [raster] ST_Clip should not impose a nodata value when the source raster do not have one

PostGIS trac at osgeo.org
Wed Feb 15 12:13:08 PST 2012


#1581: [raster] ST_Clip should not impose a nodata value when the source raster do
not have one
-------------------------+--------------------------------------------------
 Reporter:  pracine      |       Owner:  pracine             
     Type:  enhancement  |      Status:  new                 
 Priority:  medium       |   Milestone:  PostGIS Raster 2.0.1
Component:  raster       |     Version:  trunk               
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by pracine):

 Note that this is not the case for ST_Intersection(raster, raster) since
 in this case we produce a new raster and we do not expect the resulting
 raster to have exact same characteristics as the input rasters. This is
 the case for ST_Clip: the user expect to get a raster similar to the one
 provided except for its extent (including nodata areas).

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