Skip to main content
Question

Detecting a specefic type of lines

  • April 17, 2018
  • 4 replies
  • 22 views

Forum|alt.badge.img

Hello,

Is there a way in FME to detect lines having the beginning or the end vertice like shown in following images.

Thank you

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • April 17, 2018

Seems like what you are looking for is vertices with a very sharp angle.

You can find these using the SpikeRemover transformer.

It will let you define the maximum angle in the sharp corner.

The Changed output port will get you all these lines.

You might want to store the original geometry (GeometryExtractor) and restore it after the SpikeRemover (using GeometryReplacer).

Hope this helps.


Forum|alt.badge.img
  • Author
  • 56 replies
  • April 17, 2018

Seems like what you are looking for is vertices with a very sharp angle.

You can find these using the SpikeRemover transformer.

It will let you define the maximum angle in the sharp corner.

The Changed output port will get you all these lines.

You might want to store the original geometry (GeometryExtractor) and restore it after the SpikeRemover (using GeometryReplacer).

Hope this helps.

I tried the spike remover but failed to put the correct parameters

 

I gor all features on the rejected port

 

 


david_r
Celebrity
  • 8394 replies
  • April 17, 2018
I tried the spike remover but failed to put the correct parameters

 

I gor all features on the rejected port

 

 

If you could post a couple of offending features here in an FFS file, perhaps someone could come up with some working parameters.

Forum|alt.badge.img
  • Author
  • 56 replies
  • April 17, 2018
If you could post a couple of offending features here in an FFS file, perhaps someone could come up with some working parameters.
I found the right combinaison of parameters to detect them

 

Thank you very much