[geos-devel] [GEOS] #1064: Topology preserve simplify: unexpected behavior on similar polygons

GEOS geos-trac at osgeo.org
Fri Nov 27 11:12:05 PST 2020


#1064: Topology preserve simplify: unexpected behavior on similar polygons
------------------------+---------------------------
 Reporter:  uclaros     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  minor       |   Milestone:  3.9.0
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by uclaros):

 A simplistic solution would be to take the current resulting polygon, use
 its 0, 1, n-1 and n (same as 0) vertices to decide if 0 and n vertices
 should also be removed. If so, remove them and append vertex 1 to the end
 to close the ring.

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