Skip to main content
Question

I want to smooth my polygons - not reduce them to triangles

  • May 19, 2016
  • 1 reply
  • 228 views

Forum|alt.badge.img

What I have: a set of shapefiles with polygons. (I also have a fmw that worked well in 2016.0. I have since upgraded to FME 2016.1)

What I want: These polygons are vertex heavy (>500 pts for a rectangle), and I am going to smooth them (down to a dozen or less vertexes) as well as write them in 2D only.

What I did: I added a [2DForcer] and a [Generalizer].

What I experience: Using Douglas (Tolerance = 0) there is no effect. Using Douglas (Tolerance >= 1) will have my rectangles reduced to triangles. I also tried with other algorithms, with variations of unexpected geometry degenerations.

My question is simply a "what is it I don't see?", as in the past version of FME this worked fine.

Douglas, Tolerance = 0

Douglas, Tolerance >= 1

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • May 19, 2016

You don't have a coordinate system defined, and your coordinates are much closer together than 1 (unknown unit). Try generalizing with 0.0005.