Skip to main content
Solved

Uncooked Spaghetti and its connected partners

  • March 9, 2016
  • 2 replies
  • 21 views

Forum|alt.badge.img

Morning All, I have 4 lines, (A,B,C,D) all connected together in a straight line (like a piece of uncooked spaghetti). Its trivial to establish that A is connected to B, B to C and C to D. How do i establish that A is connected to C and D ? i have tried using the network topology tools to work out that all the segments are on the same network graph but ran out of ideas ( this isn't my preferred approach anyway). Are there any others ways/suggestions/techniques is should think about. Can FME iterate thru objects? ie spatial relate A to B, then B to C then pass this info back to A ? Many Thanks for your suggestions /input

Best answer by erik_jan

You can use the LineJoiner to merge the connected lines. If you use the list option you will get a list of attributes from all the merged lines. That list will contain 4 entries in this case (A, B, C and D). This list can be used to check if lines are connected (via other lines) as the are in the same list.

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • March 9, 2016

You can use the LineJoiner to merge the connected lines. If you use the list option you will get a list of attributes from all the merged lines. That list will contain 4 entries in this case (A, B, C and D). This list can be used to check if lines are connected (via other lines) as the are in the same list.


Forum|alt.badge.img
  • Author
  • March 9, 2016

You can use the LineJoiner to merge the connected lines. If you use the list option you will get a list of attributes from all the merged lines. That list will contain 4 entries in this case (A, B, C and D). This list can be used to check if lines are connected (via other lines) as the are in the same list.

Many Thanks Erik.

May you never get broken Spaghetti !

Thanks again, Steve