Skip to main content
Question

Dangle line

  • March 16, 2018
  • 8 replies
  • 209 views

Forum|alt.badge.img

Hy Guys

I need to identify and remove dangle geo of a netw

To be clear I need to remove all blue geo in the bmp attached.

I tried some workaround with coordinates but no success

Francesco

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.

8 replies

david_r
Celebrity
  • 8394 replies
  • March 16, 2018

Forum|alt.badge.img
  • Author
  • 12 replies
  • March 16, 2018

HY

I tried but no succes

thx

Francesco


david_r
Celebrity
  • 8394 replies
  • March 16, 2018

HY

I tried but no succes

thx

Francesco

Consider posting a small sample dataset here.

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • March 16, 2018

I use a topologyBuilder, test the Nodes for those that only have one element in the _node_angle{} list, and then FeatureMerger with the Edges based on the absolute value of the fme_arc_id (node) and the _edge_id (edge). Those that have a match are dangle, those that have multiple matches are isolated.


Forum|alt.badge.img
  • Author
  • 12 replies
  • March 16, 2018

Hi

I create the WB that identify the dangle geometry but now I have to go into the loop to iterate the WB several time in order to remove the dangle geo generated AFTER FIRST RUN

can you help me ?

thx

Francesco

falsegeo.fmw


takashi
Celebrity
  • 7843 replies
  • March 16, 2018

Hi @frsisani, you will have to create a custom transformer to perform the process for removing dangles recursively. I posted a solution before: Looping According to Spatial Data

And this is a new version which implements your approach. The FeatureMerger routes the lines (Requestor) to the "Loop to Input port" if a dangle node (Supplier) exists, to the Output port (i.e. finishes the looping) otherwise

See these links to learn more about how to create a custom transformer for looping.

Forum|alt.badge.img
  • Author
  • 12 replies
  • March 19, 2018

Hy Takashi

Thx for your help

I tried to understand the "logic" of loop probably I'm very close to the solution but... not completely.

Attached my WB can you please have a look ?

Thx

Francesco

false-geo.zip


takashi
Celebrity
  • 7843 replies
  • March 19, 2018

Hy Takashi

Thx for your help

I tried to understand the "logic" of loop probably I'm very close to the solution but... not completely.

Attached my WB can you please have a look ?

Thx

Francesco

false-geo.zip

Please read carefully the documentations I linked in the previous post. Especially this one is important:

 

Looping with a Blocking Transformer

 

Since the looping process contains some blocking transformers (Matcher, SpatialFilter, FeatureMerger [Edited] Sampler is not a blocking transformer), you will have to export the custom transformer (Insert Mode: Linked Always), make sure some parameters to enable loop with blocking transformer, and then use it in the main workspace as a linked custom transformer.

 

I tested your custom transformer after exporting, and it seems to work as expected.