[postgis-devel] [PostGIS] #1848: raster regress failure on mingw mapalgebraexpr, rt_clip

PostGIS trac at osgeo.org
Thu Jun 7 08:59:13 PDT 2012


#1848: raster regress failure on mingw mapalgebraexpr, rt_clip
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  pracine      
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.0.1
Component:  raster  |     Version:  2.0.x        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 Strange set of regression failures as the functions failing aren't related
 and functions related to the ones failing aren't.

 The mapalgebraexpr failure appears to be caused by a rounding issue.  The
 specific test that is failing is rounding a pixel value of 27.5, which
 could go to 27 or 28 depending on the platform.  I'm going to change the
 round() to a ceil() as that should be more consistent across all
 platforms.

 It looks like the output queries in rt_clip aren't explicitly ordered like
 they should.

 Can you try r9858 for 2.0?  I've also committed the change for trunk in
 r9858.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1848#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