[geos-devel] [GEOS] #741: GEOSSimplify() returns empty polygon if inner ring dimension < simplify distance

GEOS geos-trac at osgeo.org
Fri Aug 14 14:16:26 PDT 2015


#741: GEOSSimplify() returns empty polygon if inner ring dimension < simplify
distance
------------------------+---------------------------
 Reporter:  rouault     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.4.3
Component:  Default     |     Version:  svn-trunk
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by rouault):

 When stepping through GEOS, the "Geometry::AutoPtr
 roughGeom(GeometryTransformer::transformMultiPolygon(geom, parent));" at
 line 149 of DouglasPeuckerSimplifier.cpp returns a collection of a
 linearring (OK) and a linestring (OK ???). Then createValidArea() and the
 underlying buffer(0) returns an empty polygon (line 395 of
 BufferBuilder.cpp)

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/741#comment:1>
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