[postgis-tickets] [PostGIS] #4730: Overlay GEOS 3.9 regress failures

PostGIS trac at osgeo.org
Wed Aug 5 01:04:55 PDT 2020


#4730: Overlay GEOS 3.9 regress failures
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.1.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 It looks like edge splitting by node is failing, for the ST_CreateTopoGeo
 case:
 {{{
 DEBUG:  Noding input linework
 DEBUG:  Computed 1 noded edges
 DEBUG:  Merged edges: 1
 DEBUG:  Collected 3 input points
 DEBUG:  Noded edges became 1 after point-split
 DEBUG:  Total nodes count: 3
 }}}

 The problem is change in behaviour of ST_UnaryUnion, which merges lines
 instead of keeping them separated:
 {{{
 select ST_AsText(ST_UnaryUnion(ST_Split('LINESTRING(0 0, 10 0)', 'POINT(5
 0)')));
 }}}
 The above query returns, with old Overlay:
 {{{
  MULTILINESTRING((0 0,5 0),(5 0,10 0))
 }}}
 While with OverlayNG:
 {{{
  LINESTRING(0 0,5 0,10 0)
 }}}

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