[geos-devel] [GEOS] #1101: Negative buffer does not return empty geometry
GEOS
geos-trac at osgeo.org
Fri Feb 19 15:40:20 PST 2021
#1101: Negative buffer does not return empty geometry
------------------------+--------------------------
Reporter: uclaros | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.9.2
Component: Default | Version: 3.9.0
Severity: Unassigned | Keywords:
------------------------+--------------------------
In specific cases of 4 sided polygons, running a specific negative buffer
erroneously returns a polygon instead of an empty geometry.
In shapely:
{{{
from shapely import wkt
p=wkt.loads('POLYGON ((646990.625 5344959.438, 646994.486 5344963.053,
646999.7389999999 5344957.423, 646995.9157765866 5344952.851883921,
646990.625 5344959.438))')
p.buffer(-4.2,0)
# does not return empty
p.buffer(-3.2,0)
# correctly returns empty
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1101>
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