As shown in the figure, the arrow (the start point of the line segment points to the end point), how to calculate the coordinates at the red point?
Solved
How to calculate the position at the red point?
Best answer by jdh
Are you looking for the coordinates of all sinks? (all lines terminate at the node).
If so the TopologyBuilder is your friend.
Send all the lines to the topologyBuilder, in List Accumulation, check off Generate List from Input Edges and provide a list name (ex _node_angle), you don't need to select any attributes.
On the Node output port examine the _node_angle{}.fme_arc_id list. If all entries are negative then it's a sink. I think the easiest way is to use the ListSearcher, First Greater than 0, and use the NotFound port.
Then you can use the CoordinateExtractor to get the coordinates for the node.
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.
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.