[postgis-tickets] [PostGIS] #5241: ST_SnapToGrid crashes on multipolygon with an empty polygon
PostGIS
trac at osgeo.org
Sat Oct 29 07:55:06 PDT 2022
#5241: ST_SnapToGrid crashes on multipolygon with an empty polygon
----------------------+---------------------------
Reporter: robe | Owner: robe
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.5.9
Component: postgis | Version: 3.2.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by robe):
Okay looks like berrie64 prefers to round the numbers thus disagreeing
with the answer for the new test
{{{
10:46:09 ./regress/core/snaptogrid .. failed (diff expected obtained:
/tmp/pgis_reg/test_72_diff)
10:46:09
-----------------------------------------------------------------------------
10:46:09 --- ./regress/core/snaptogrid_expected 2022-10-29
08:36:23.540007775 -0600
10:46:09 +++ /tmp/pgis_reg/test_72_out 2022-10-29 08:46:09.107263583
-0600
10:46:09 @@ -6,4 +6,4 @@
10:46:09 POLYGON((0 0,10 0,10 10,0 10,0 0))|BOX(0 0,10 10)
10:46:09 POLYGON((0 0,10 0,10 10,0 10,0 0))|BOX(0 0,10 10)
10:46:09 #5241|MULTIPOLYGON EMPTY
10:46:09 -#5241|MULTIPOLYGON(((9 9,9 1,1 1,2 4,7.000000000000001
7.000000000000001,9 9)))
10:46:09 +#5241|MULTIPOLYGON(((9 9,9 1,1 1,2 4,7 7,9 9)))
10:46:09
-----------------------------------------------------------------------------
}}}
Need to revise to round the output so all bots agree. Why berrie isn't
having the same issue seems odd.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5241#comment:11>
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