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

PostGIS trac at osgeo.org
Tue May 24 07:48:44 PDT 2011

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

Comment(by dustymugs):

 Please try r7235, which should resolve the rt_asgdalraster, rt_aspng and
 rt_asjpeg issues.  I've refactored the existing regression tests from
 attempting to validate the contents returned from the respective functions
 to checking that the functionality is correct.

 A new script testgdalraster ("make testgdalraster" in raster/test/regress)
 has been added to test the output of rt_asgdalraster and related
 functions.  As the testgdalraster depends upon python (specifically
 raster/scripts/python/rtgdalraster.py), you'll need to have psycopg2
 installed.  The testgdalraster scripts uses the gdalinfo utility to
 validate the output rasters band checksums.  In testing on both 32-bit and
 64-bit environments with four versions of GDAL (1.6.3, 1.7.3, 1.8.0 and
 1.9.0 r22409), the script testgdalraster runs correctly.

 As for rt_spatial_relationship, I have no idea as to that function.

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