Skip to main content
Question

How to detect zigzag -spike -dangle lines and fix them ?


gogopotter90
Contributor
Forum|alt.badge.img+13

Hello

How could FME detect unwanted spike and unwanted zigzag and fix it without changing geometry of lines ?

I have used spike remover and zigzag remover but sometimes it catches data that has no relevant with spikes ,what is best angle for transformers?

How to keep the original geometry without changing it ,after fix the problem with zigzag or spike remover ?

what is the best method to detect dangle lines and fix it ?

thanks in advance 

fme 2021

3 replies

liamfez
Influencer
Forum|alt.badge.img+34
  • Influencer
  • March 6, 2024

The spike remover will change the geometry as a function of removing vertices. If you want to only remove the most strict of cases then you will want to fine tune the angle and length values to your data. Perhaps start with a very acute angle, maybe 5 degrees. You may also want to turn off iterative removal.


AliAtSafe
Safer
Forum|alt.badge.img+22
  • Safer
  • March 6, 2024

Hey @gogopotter90. Sorry you had issues with the Zigzag and Spike Remover Transformers in your workflow process.

 

How could FME detect unwanted spike and unwanted zigzag and fix it without changing geometry of lines ?

How to keep the original geometry without changing it ,after fix the problem with zigzag or spike remover ?

For the first question, would you kindly expand on what you mean by ‘without changing geometry of lines’? From my understanding, the goal is to detect and fix up spikes and zigzags without the transformer changing the structure of the line geometry?

 

I have used spike remover and zigzag remover but sometimes it catches data that has no relevant with spikes ,what is best angle for transformers?

For the second set, the best angle depends on the use-case your working with (angle threshold you want). A good resource that explains the Maximum Spike Angle parameter in both the Zigzag and Spike Remover Transformers are here: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/spikeremover.htmhttps://hub.safe.com/publishers/pacific-spatial-solutions/transformers/zigzagremover Alternatively, you can use the Help button on the Transformer.

 

what is the best method to detect dangle lines and fix it?

For the last question, check this similar asked question out, may be of help: https://community.safe.com/transformers-9/dangle-line-elimination-16783.


gogopotter90
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • March 22, 2024

@AliAtSafe 

thanks .

i mean to detect spike and Zigzag and fix it (removing the unwanted parted ) without effecting the line geometry (still without changing )


Reply


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