[postgis-tickets] [PostGIS] #4619: ST_TileEnvelope test failure in 32 bit
PostGIS
trac at osgeo.org
Tue Jan 14 04:02:30 PST 2020
#4619: ST_TileEnvelope test failure in 32 bit
------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 3.0.1
Component: postgis | Version: 3.0.x
Keywords: |
------------------------+---------------------------
I?m seeing a test failure for ST_TileEnvelope regress in 32bit (`ubuntu-
bionic-i386`):
{{{
regress .. failed (diff expected obtained: /tmp/pgis_reg/test_68_diff)
-----------------------------------------------------------------------------
--- regress_expected 2020-01-10 15:21:10.000000000 +0000
+++ /tmp/pgis_reg/test_68_out 2020-01-14 11:20:15.448620010 +0000
@@ -197,7 +197,7 @@
ERROR: ST_TileEnvelope: Invalid tile zoom value, -1
ERROR: ST_TileEnvelope: Invalid tile y value, 1
229|SRID=3857;POLYGON((-20037508.342789 -20037508.342789,-20037508.342789
20037508.342789,20037508.342789 20037508.342789,20037508.342789
-20037508.342789,-20037508.342789 -20037508.342789))
-230|SRID=3857;POLYGON((0 -2504688.54284862,0 0,2504688.54284862
0,2504688.54284862 -2504688.54284862,0 -2504688.54284862))
+230|SRID=3857;POLYGON((0 -2504688.54284863,0 0,2504688.54284863
0,2504688.54284863 -2504688.54284863,0 -2504688.54284863))
231|SRID=3857;POLYGON((17532819.7999404 -20037508.342789,17532819.7999404
-17532819.7999404,20037508.342789 -17532819.7999404,20037508.342789
-20037508.342789,17532819.7999404 -20037508.342789))
232|POLYGON((0 -12.5,0 0,12.5 0,12.5 -12.5,0 -12.5))
233|POLYGON((87.5 -100,87.5 -87.5,100 -87.5,100 -100,87.5 -100))
-----------------------------------------------------------------------------
}}}
I changed the function to calculate the input bbox (instead of using the
one serialized, since that one uses 32b and that was too imprecise for the
default use case) in #4600, which affected this output.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4619>
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-tickets
mailing list