[geos-devel] [GEOS] #1022: Buffering a specific closed linestring erroneously produces polygon without hole.
GEOS
geos-trac at osgeo.org
Sat Mar 14 17:34:39 PDT 2020
#1022: Buffering a specific closed linestring erroneously produces polygon without
hole.
------------------------+--------------------------
Reporter: uclaros | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.8.0
Severity: Unassigned | Keywords:
------------------------+--------------------------
Applying a buffer of 1m on the following linestring
{{{
LineString (278601.0234000000054948 4295292.71929999999701977,
278598.71919999999227002 4295290.49340000003576279,
278589.06283691781572998 4295303.48101469129323959,
278605.49300000001676381 4295297.03689999971538782,
278601.0234000000054948 4295292.71929999999701977)
}}}
produces a polygon without a hole, only outer ring.
If any of the three almost-aligned nodes is moved, the expected result is
returned: a polygon with a hole (one outer ring, one inner ring).
Found on QGIS and confirmed on shapely with geos 3.8.0
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1022>
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