[geos-devel] [GEOS] #1051: overlayng::EdgeMerger::merge(): Assertion `baseEdge->size() == edge->size()' failed.
GEOS
geos-trac at osgeo.org
Mon Oct 5 10:02:18 PDT 2020
#1051: overlayng::EdgeMerger::merge(): Assertion `baseEdge->size() ==
edge->size()' failed.
------------------------+---------------------------
Reporter: strk | Owner: geos-devel@…
Type: defect | Status: closed
Priority: blocker | Milestone: 3.9.0
Component: Default | Version: master
Severity: Unassigned | Resolution: fixed
Keywords: |
------------------------+---------------------------
Comment (by strk):
With TestOverlay-geos-1051-simp.xml both GEOS and JTS SnappingNoder end
up with 636 noded segmentstrings. Hard to tell how they differ between
one-other as the output is slightly different in terms of significant
digits.
To get you an Idea I'll paste the first 10 noded segstrings for each.
GEOS:
{{{
Trying overlaySnapping(tol 1.79499e-06).
NODED: LINESTRING(654948.38532997924 1794977.1058540251,
654995.48203391524 1794988.7717037243)
NODED: LINESTRING(654995.48203391524 1794988.7717037243,
654997.17955858458 1794989.1921804454)
NODED: LINESTRING(654997.17955858458 1794989.1921804454,
655000.36381421797 1794989.9809203045, 655006.34643579996
1794983.8258888787)
NODED: LINESTRING(655006.34643579996 1794983.8258888787,
655051.77446297742 1794937.088696653, 655102.56059972045
1794927.5021000544)
NODED: LINESTRING(655102.56059972045 1794927.5021000544,
655108.42102836783 1794926.3958618378, 655110.0720664172
1794923.1048861023)
NODED: LINESTRING(655110.0720664172 1794923.1048861023,
655110.12012789119 1794923.0090862843)
NODED: LINESTRING(655110.12012789119 1794923.0090862843,
655111.03361745446 1794921.1882487882, 655105.8944992529
1794809.0953964447, 655103.6628449125 1794805.4566734952)
NODED: LINESTRING(655103.6628449125 1794805.4566734952,
655070.41920929297 1794806.064489258, 655062.62551842164
1794798.488781017, 655061.46045440866 1794798.8496030809,
655063.81619753118 1794810.6547597279)
NODED: LINESTRING(655063.81619753118 1794810.6547597279,
655064.15367999999 1794812.3459600001, 655064.1887750614
1794812.591778927, 655042.95566738653 1794904.1646406003,
655029.10396397568 1794921.2111610321, 655029.01317000005
1794921.3055899998, 655028.61825000006 1794921.71276, 655028.22155999998
1794922.1181999999, 655027.82310000004 1794922.5219099999,
655027.69848218339 1794922.6470757592, 655027.63206300582
1794922.7137853792, 655027.62398069503 1794922.721903034)
NODED: LINESTRING(655027.62398069503 1794922.721903034,
655027.62397786777 1794922.7219058727)
}}}
JTS:
{{{
try overlaySnapping with tolerance 1.7949899809203045E-6
NODED: LINESTRING (654948.3853299792 1794977.105854025, 654995.4820339152
1794988.7717037243)
NODED: LINESTRING (654995.4820339152 1794988.7717037243, 654997.1795585846
1794989.1921804454)
NODED: LINESTRING (654997.1795585846 1794989.1921804454, 655000.363814218
1794989.9809203045, 655006.3464358 1794983.8258888787)
NODED: LINESTRING (655006.3464358 1794983.8258888787, 655051.7744629774
1794937.088696653, 655102.5605997205 1794927.5021000544)
NODED: LINESTRING (655102.5605997205 1794927.5021000544, 655108.4210283678
1794926.3958618378, 655110.0720664172 1794923.1048861023)
NODED: LINESTRING (655110.0720664172 1794923.1048861023, 655110.1201278912
1794923.0090862843)
NODED: LINESTRING (655110.1201278912 1794923.0090862843, 655111.0336174545
1794921.1882487882, 655105.8944992529 1794809.0953964447,
655103.6628449125 1794805.4566734952)
NODED: LINESTRING (655103.6628449125 1794805.4566734952, 655070.419209293
1794806.064489258, 655062.6255184216 1794798.488781017, 655061.4604544087
1794798.849603081, 655063.8161975312 1794810.654759728)
NODED: LINESTRING (655063.8161975312 1794810.654759728, 655064.15368
1794812.34596, 655064.1887750614 1794812.591778927, 655042.9556673865
1794904.1646406003, 655029.1039639757 1794921.211161032, 655029.01317
1794921.3055899998, 655028.61825 1794921.71276, 655028.22156 1794922.1182,
655027.8231 1794922.52191, 655027.6984821834 1794922.6470757592,
655027.6320630058 1794922.7137853792, 655027.623980695 1794922.721903034)
NODED: LINESTRING (655027.623980695 1794922.721903034, 655027.6239778678
1794922.7219058727)
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1051#comment:22>
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