[postgis-tickets] [PostGIS] #3055: [raster] ST_Clip() on a raster without band crashes the server

PostGIS trac at osgeo.org
Tue Feb 24 07:51:04 PST 2015


#3055: [raster] ST_Clip() on a raster without band crashes the server
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  dustymugs
     Type:  defect   |      Status:  new      
 Priority:  medium   |   Milestone:           
Component:  raster   |     Version:  2.1.x    
 Keywords:           |  
---------------------+------------------------------------------------------
 SELECT ST_Clip(ST_MakeEmptyRaster(42, 42, 0, 0, 1.0, 1.0, 0, 0, 4269),
 ST_MakeEnvelope(0, 0, 20, 20, 4269));

 crashes the server.

 When the ST_Clip() crop parameter is set to TRUE, ST_Clip() could just
 change the extent of the empty raster.... When it is set to false, it
 could just return the raster unmodified.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3055>
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-tickets mailing list