[postgis-tickets] [PostGIS] #4837: GEOS 3.10dev failure on make valid - winnie

PostGIS trac at osgeo.org
Thu Feb 11 12:05:30 PST 2021


#4837: GEOS 3.10dev failure on make valid - winnie
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.2.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 Sadly change the 5 to 6 like so though number of polygons agrees, output
 is different.

 For this test both have 3 polygons but second polygon is different


 {{{
 SELECT 'subdivide', ST_AsText(geomn)
 FROM ST_Subdivide(
         'POLYGON((0 0,0 10,10 10,10 6,100 5.1, 100 10, 110 10, 110 0, 100
 0,100 4.9,10 5,10 0,0 0))'::geometry,
 6, 2) AS geom, ST_Normalize(geom) AS geomn
 ORDER BY geomn;
 }}}


 -- 3.9.0 answer is

 {{{
 subdivide       POLYGON((0 0,0 10,10 10,10 0,0 0))
 subdivide       POLYGON((100 0,100 4,100 10,110 10,110 0,100 0))
 subdivide       POLYGON((10 6,100 6,100 4,10 6))
 }}}


 -- 3.10dev answer is


 {{{
 subdivide       POLYGON((0 0,0 10,10 10,10 0,0 0))
 subdivide       POLYGON((100 0,100 10,110 10,110 0,100 0))
 subdivide       POLYGON((10 6,100 6,100 4,10 6))
 }}}



 {{{
 -subdivide|POLYGON((100 0,100 4,100 10,110 10,110 0,100 0))
 +subdivide|POLYGON((100 0,100 10,110 10,110 0,100 0))

 }}}

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