The way I have done this in the past is a TopologyBuilder (Generate List from Input Edges), on the nodes port test which nodes have only one edge (aka dangle node) based on the number of elements in the edge list (ListElementCounter).
FeatureMerger/FeatureJoiner (x2) the filtered nodes with the lines from the Edge port.
the _node_number of the Node should match either the _from_node or the _to_node of the Edge.
Alternatively the _edgeList{}.fme_arc_id of the Node should match the _edge_id of the Edge (ListBasedFeatureMerger)
The exact way you set it up will depend on whether you want to identify isolated vs dangle, or if the line orientation is important.
The way I have done this in the past is a TopologyBuilder (Generate List from Input Edges), on the nodes port test which nodes have only one edge (aka dangle node) based on the number of elements in the edge list (ListElementCounter).
FeatureMerger/FeatureJoiner (x2) the filtered nodes with the lines from the Edge port.
the _node_number of the Node should match either the _from_node or the _to_node of the Edge.
Alternatively the _edgeList{}.fme_arc_id of the Node should match the _edge_id of the Edge (ListBasedFeatureMerger)
The exact way you set it up will depend on whether you want to identify isolated vs dangle, or if the line orientation is important.
Yup, same for me. Works well.
There is also the MRF2DDangleRemover, but it's an extra-cost 3rd party license so it's probably not available to most FME users.
The way I have done this in the past is a TopologyBuilder (Generate List from Input Edges), on the nodes port test which nodes have only one edge (aka dangle node) based on the number of elements in the edge list (ListElementCounter).
FeatureMerger/FeatureJoiner (x2) the filtered nodes with the lines from the Edge port.
the _node_number of the Node should match either the _from_node or the _to_node of the Edge.
Alternatively the _edgeList{}.fme_arc_id of the Node should match the _edge_id of the Edge (ListBasedFeatureMerger)
The exact way you set it up will depend on whether you want to identify isolated vs dangle, or if the line orientation is important.
Hi @jdh
This sequence of transformer was formidable. Thanks your help!
Danilo
Yup, same for me. Works well.
There is also the MRF2DDangleRemover, but it's an extra-cost 3rd party license so it's probably not available to most FME users.
Thanks @david_r This a interesting tip.
Hi jdh, can you post a screenshot of the TopologyBuilder settings for this?
Hi jdh, can you post a screenshot of the TopologyBuilder settings for this?
You can add additional attributes, but it is not strictly needed. The _edges list will contain fme_arc_angle, fme_arc_id and fme_direction in additional to whatever attributes you select.
Use the ListElementCounter to get the number of edges on the node, if it's only 1, then it's a dangle node.