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

PostGIS trac at osgeo.org
Thu Feb 11 10:01:06 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):

 Okay the subdivide case is not a trivial fix  with normalize:

 I tried changing the query to this in hopes that GEOS 3.9 and GEOS 3.10
 would agree:


 {{{
 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,
 5, 2) AS geom, ST_Normalize(geom) AS geomn
 ORDER BY geomn;
 }}}


 -- 3.9.0 answer (haven't upgraded to 3.9.1 yet on my prod)


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


 -- 3.10 (I forget what vintage -- going to upgrade in a bit to see if it
 helps)


 {{{
 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))
 }}}

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