[geos-devel] [GEOS] #732: BufferOp(0.0) makes the attached polygon "miss"!
GEOS
geos-trac at osgeo.org
Sun Jul 19 23:44:34 PDT 2015
#732: BufferOp(0.0) makes the attached polygon "miss"!
-------------------------+---------------------------
Reporter: jiangdaidai | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.4.3
Component: Default | Version: 3.4.2
Severity: Critical | Resolution:
Keywords: BufferOp |
-------------------------+---------------------------
Comment (by jiangdaidai):
I find the reason: my polygon self-intersectes and is_ccw(my polygon)
makes the key unexpected performance. During the learning of GEOS, I think
there may be one bug :
SegmentIntersector.cpp Line 114, according to the algorithm logical,
int maxSegIndex=e0->getNumPoints()-1; -->
int maxSegIndex=e0->getNumPoints()-2;
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/732#comment:2>
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