[postgis-tickets] [PostGIS] #4731: Garden crash ST_WrapX with new GEOS 3.9 Overlay logic

PostGIS trac at osgeo.org
Sun Aug 9 20:23:58 PDT 2020


#4731: Garden crash ST_WrapX with new GEOS 3.9 Overlay logic
----------------------+--------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS GEOS
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+--------------------------

Comment (by robe):

 FWIW now that I realized by cunit was broken and fixed it, the wrap x
 cunit fails.


 {{{
 Suite: wrapx
   Test: test_lwgeom_wrapx ...FAILED
     1. cu_wrapx.c:85  - ASSERT_STRING_EQUAL
         * Expected: MULTILINESTRING((0 0,8 0),(-2 0,0 0))
         * Obtained: MULTILINESTRING((-2 0,0 0),(0 0,8 0))
     2. cu_wrapx.c:123  - ASSERT_STRING_EQUAL
         * Expected: GEOMETRYCOLLECTION(MULTIPOLYGON(((22 0,20 0,20 10,22
 10,22 4,22 2,22 0)),((2 10,10 10,10 0,2 0,2 2,4 2,4 4,2 4,2
 10))),MULTIPOLYGON(((22 11,20 11,20 21,22 21,22 15,22 13,22 11)),((2 21,10
 21,10 11,2 11,2 13,4 13,4 15,2 15,2 21))))
         * Obtained: GEOMETRYCOLLECTION(MULTIPOLYGON(((20 0,20 10,22 10,22
 4,22 2,22 0,20 0)),((2 0,2 2,4 2,4 4,2 4,2 10,10 10,10 0,2
 0))),MULTIPOLYGON(((20 11,20 21,22 21,22 15,22 13,22 11,20 11)),((2 11,2
 13,4 13,4 15,2 15,2 21,10 21,10 11,2 11))))


 }}}

 Though this might be a order of polygon difference issue fixable with
 normalize.

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