#960: Exception when creating geometry buffer ---------------------------------------+--------------------------- Reporter: allenkim0129 | Owner: geos-devel@… Type: defect | Status: new Priority: blocker | Milestone: Component: Default | Version: 3.6.2 Severity: Unassigned | Resolution: Keywords: Buffer, TopologyException | ---------------------------------------+---------------------------
Comment (by allenkim0129): I have attached my test main.cpp and CMakeList.txt So far, what I have discovered is that the error is thrown from DirectedEdge::setDepth() function. {{{ void DirectedEdge::setDepth(int position, int newDepth) { if (depth[position]!=-999) { if (depth[position]!=newDepth) throw util::TopologyException("assigned depths do not match", getCoordinate()); //Assert.isTrue(depth[position] == depthVal, "assigned depths do not match at " + getCoordinate()); } depth[position]=newDepth; } }}} depth[position] is 2, but newDepth is 3 -- Ticket URL: <https://trac.osgeo.org/geos/ticket/960#comment:2> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel