[geos-devel] [GEOS] #1051: overlayng::EdgeMerger::merge(): Assertion `baseEdge->size() == edge->size()' failed.

GEOS geos-trac at osgeo.org
Mon Sep 28 08:15:21 PDT 2020


#1051: overlayng::EdgeMerger::merge(): Assertion `baseEdge->size() ==
edge->size()' failed.
------------------------+---------------------------
 Reporter:  strk        |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  blocker     |   Milestone:  3.9.0
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by mdavis):

 Replying to [comment:1 strk]:
 > I've attached an XML testcase to reproduce the problem. Simple OverlayNG
 still throws an exception, but OverlayRobust catches the exception to
 attempt another run (after snapping, I guess) and triggers the crash.
 >
 > Martin: how do I trigger OverlayNGRobust in JTS from the XML ? I found
 GEOS only uses OverlayNGRobust with the "overlayareatest" XML operation,
 but JTS doesn't look like doing that

 Use the TestRunner option `-geomfunc
 org.locationtech.jtstest.function.OverlayNGRobustFunctions
 org.locationtech.jts.operation.overlayng.OverlayNGRobust`.

 Note that the `overlayAreaTest` operation is boolean-valued, so the XML
 test file will be have to changed to have `true` as the expected output.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1051#comment:5>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list