[postgis-devel] [PostGIS] #1617: several regress failures on raster (old mingw)

PostGIS trac at osgeo.org
Sat Feb 25 19:45:18 PST 2012


#1617: several regress failures on raster (old mingw)
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:  mingw    |  
---------------------+------------------------------------------------------

Comment(by robe):

 Bborie,
 As I noted in http://www.postgis.org/pipermail/postgis-
 devel/2012-February/018849.html  (I think Paul's recent failure and this
 might be related).

 I tried Paul's example

 {{{
 SELECT CASE WHEN
  length(ST_AsGDALRaster(ST_AddBand(ST_MakeEmptyRaster(200,
  200, 10, 10, 2, 2, 0, 0), 1, '8BSI',123, NULL),'PNG')) > 0
  THEN 1 ELSE 0 END;

 }}}
 Works fine with my alpha6 build, but crashes with trunk.  I looked at my
 postgresql logs and this is the last message it gives before it crashes
 the backend.


 {{{
 Warning 6: PNG driver doesn't support data type Int16. Only eight bit
 (Byte) and sixteen bit (UInt16) bands supported. Defaulting to Byte
 }}}

 So maybe related to your fix for #1616 ?

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