Question

Detecting a specefic type of lines

  • 17 April 2018
  • 4 replies
  • 3 views

Badge

Hello,

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

Thank you


4 replies

Userlevel 2
Badge +16

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.

Badge

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

 

 

Userlevel 4
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.
Badge
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

 

 

Reply