Select to view content in your preferred language

Does Simplify unclose a polygon?

281
1
Jump to solution
05-16-2024 07:57 AM
Labels (4)
MarcHillman
Regular Contributor

I have a rectangular polygon with 5 points. It is closed because the first and last point are the same.

I then use Simplify just to make sure it has the correct winding. After Simplify I only have 4 points in my Polygon.

Is this supposed to happen? It's very inconvenient. I've had to deconstruct my Polygon to a PolygonBuilder, add the missing point, and then reconstruct my Polygon from the PolygonBuilder.

It's all a bit tedious and time consuming.

Am I misunderstanding what Simplify does? Is there a way to do it without ending up with an unclosed Polygon?

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

Simplify removes duplicate points as well, and if the start and endpoint is the same, it'll remove it. Polygons are always closed and doesn't need the last vertex to be the same as the first.

View solution in original post

1 Reply
dotMorten_esri
Esri Notable Contributor

Simplify removes duplicate points as well, and if the start and endpoint is the same, it'll remove it. Polygons are always closed and doesn't need the last vertex to be the same as the first.