[postgis-devel] [PostGIS] #1296: regression make check failure with ST_MapAlgebraFctNB
PostGIS
trac at osgeo.org
Tue Nov 15 05:03:11 PST 2011
#1296: regression make check failure with ST_MapAlgebraFctNB
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
I think this may just be a rounding issue. On my 9.1 windows build, its
failing and diff is:
{{{
--- rt_mapalgebrafctngb_expected Mon Nov 14 19:45:23 2011
+++ /tmp/pgis_reg_232/test_44_out Mon Nov 14 20:02:47 2011
@@ -12,7 +12,7 @@
t|t
t|t
t|t
-NOTICE: Value set for 4BUI band got clamped from
-340282346638528859811704183484516925440.000000 to 0
+NOTICE: Value set for 4BUI band got clamped from
-340282346638528860000000000000000000000.000000 to 0
NOTICE: Value set for 4BUI band got clamped from 18.000000 to 15
NOTICE: Value set for 4BUI band got clamped from 18.000000 to 15
NOTICE: Value set for 4BUI band got clamped from 18.000000 to 15
@@ -79,7 +79,7 @@
NOTICE: Value set for 4BUI band got clamped from 18.000000 to 15
t|t
t|t
-NOTICE: Value set for 2BUI band got clamped from
-340282346638528859811704183484516925440.000000 to 0
+NOTICE: Value set for 2BUI band got clamped from
-340282346638528860000000000000000000000.000000 to 0
NOTICE: Value set for 2BUI band got clamped from 9.000000 to 3
NOTICE: Value set for 2BUI band got clamped from 9.000000 to 3
NOTICE: Value set for 2BUI band got clamped from 9.000000 to 3
}}}
I'll have to double check my 9.0 and 8.4 builds.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1296>
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