[postgis-devel] [PostGIS] #1659: [raster] ST_Union raster out of memory then kicks the bucket on windows 64bit

PostGIS trac at osgeo.org
Thu Oct 4 02:12:50 PDT 2012


#1659: [raster] ST_Union raster out of memory then kicks the bucket on windows
64bit
---------------------+------------------------------------------------------
  Reporter:  robe    |       Owner:  pracine                   
      Type:  defect  |      Status:  closed                    
  Priority:  medium  |   Milestone:  PostGIS 2.1.0             
 Component:  raster  |     Version:  trunk                     
Resolution:  fixed   |    Keywords:  mingw windows 64bit, 32bit
---------------------+------------------------------------------------------
Changes (by robe):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  PostGIS 2.0.2 => PostGIS 2.1.0


Comment:

 This query doesn't crash anymore:

 {{{
 SELECT ST_AsEWKT(ST_ConvexHull(ST_Union(rast1.rast, 1))) FROM (
                         (SELECT
 ST_SetSRID(ST_SetValue(ST_AddBand(ST_MakeEmptyRaster( 100, 100, (i-1)*100,
 (i-1)*100, 0.0005, -0.0005, 0*i, 0*i), '16BSI'), i, (i+1),-6000),4326) As
 rast FROM generate_series(1,10) As i) ) As rast1 LIMIT 3;
 }}}


 It just gives an error:

 {{{
 ERROR:  rt_raster_new: Dimensions requested exceed the maximum (65535 x
 65535) permitted for a raster
 }}}

 Which seems fair enough to me.  So I'm closing this out.

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