[postgis-devel] [PostGIS] #1030: [raster] ST_SummaryStats on coverage crashes with the sample_percent parameter

PostGIS trac at osgeo.org
Thu Jun 16 14:13:04 PDT 2011


#1030: [raster] ST_SummaryStats on coverage crashes with the sample_percent
parameter
----------------------------+-----------------------------------------------
 Reporter:  pracine         |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  high            |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 {{{
 SELECT *
 FROM st_summarystats('srtm_22_03_tiled_100x100', 'rast', FALSE);
 }}}

 works, but:

 {{{
 SELECT *
 FROM st_summarystats('srtm_22_03_tiled_100x100', 'rast', FALSE, 1.0);
 }}}

 crashes with:

 ERROR:  rt_raster_from_wkb: wkb size < min size (61)

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