Skip to main content

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?

Hi @kasparlov

Did you see the custom transformer VerteLimiter or VertexRemover?

Thanks,


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.

 


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!


Reply