Opened 3 years ago
Closed 3 years ago
#1115 closed defect (fixed)
DouglasPeuckerSimplifier does not remove collapsed rings
Reported by: | mdavis | Owned by: | mdavis |
---|---|---|---|
Priority: | major | Milestone: | 3.9.2 |
Component: | Core | Version: | 3.9.0 |
Severity: | Significant | Keywords: | |
Cc: |
Description
DouglasPeuckerSimplifier
is missing the JTS code to remove collapsed LinearRing
s.
This is a regression found during testing in R-sf issue 1655. It was surfaced by the enhancement made in e6c6fa39e
Note:
See TracTickets
for help on using tickets.
Reproducing case:
SimplifyDP(A, 0.05)
should produce aPolygon
, but currently producesGeometryCollection(Polygon, Line)
.