[postgis-devel] [PostGIS] #957: [raster] rt_asgdalraster regress test fails

PostGIS trac at osgeo.org
Sat May 21 09:02:13 PDT 2011

#957: [raster] rt_asgdalraster regress test fails
 Reporter:  strk            |       Owner:  dustymugs    
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  

Comment(by dustymugs):

 I've attached the raster outputs from the ST_AsGDALRaster regression test
 using four different versions of GDAL (1.6.3, 1.7.3, 1.8.0, 1.9.0 r22405).
 Based upon the outputs, their md5 checksums and running "gdalinfo -stats
 -checksum RASTERFILE", I new another way to verify that the GDAL raster
 outputs are valid.  As you can see in the checksum.md5, the same query can
 generate different checksums across different versions.

 The ideal solution is to validate the output raster using gdalinfo as that
 showed that though the rasters of one query had different md5 checksums,
 the actual stats and per-band checksums are correct.  I will be sending
 the postgis-devel list a question to see if the regression tests for
 ST_AsGDALRaster, ST_AsTIFF, ST_AsPNG and ST_AsJPEG can be done in the same
 manner as regress/test_index_concurrency, a bash shell script.

 If there are any suggestions, let me know.

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