Skip to main content
Solved

Remove vertices from polygon within tolerance


pflegpet
Contributor
Forum|alt.badge.img+8

Hi,

I want to remove vertices from polygons that are located on straight or almost straight lines. I used the Generalizer transformer but non of the algorithms removed such vertices, even with higher tolerances that distort the original shapes. Is there another way to do this?

Best answer by pflegpet

My apologies. Tried once again with Douglas-Peucker (though I used the GeographicGeneralizer instead of the standard transformer) and it works now. Thank you Mark and danilo!

View original
Did this help you find an answer to your question?

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • October 24, 2018

Hi @kasparlov

Did you see the custom transformer VerteLimiter or VertexRemover?

Thanks,


mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • October 24, 2018
Which algorithm did you try? The Douglas-Peucker is the most obvious one in this case. Can you save one of these features (like the above) to FFS format from within the Data Inspector and post it here so we can experiment? If it's not removing that point then there might be something we need to fix in FME.

 


pflegpet
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • Best Answer
  • October 24, 2018

My apologies. Tried once again with Douglas-Peucker (though I used the GeographicGeneralizer instead of the standard transformer) and it works now. Thank you Mark and danilo!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings