Skip to main content
Solved

find closet neighbout and give the neighbour new id then continue to fnd the next

  • January 27, 2020
  • 2 replies
  • 43 views

soly
Contributor
Forum|alt.badge.img+3
  • Contributor
  • 70 replies

Hello guys ,

 

iam tired from tryng doing that and i could not get the result that i want .

i have many lines and some blocks in the map ,and i want to find neighbour step by step and give each line that i can find new id as temporarly id .when the line touch the block so another lines touched the same block give them new id .so how can i do that

tried alot by line divider and neighbout finder but i did not success

or by 2 coordinate extractor(tart point and end point ),2 vertex creator also then neighbour finder but i i did not success ,

please could u guide me what should ,i need to find the neighbour give new id for the neighbour that u find then continue fom next neighbout to find the next and so on but sometimes map has blocks not only lines.

Thanks in aadvance for helping

Best answer by erik_jan

If I understand the question right, you are trying to build a network.

I believe the way to do this is using the TopologyBuilder transformer.

The link will lead you to the documentation for the transformer.

Hope this helps.

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+22
  • Contributor
  • 2179 replies
  • Best Answer
  • January 27, 2020

If I understand the question right, you are trying to build a network.

I believe the way to do this is using the TopologyBuilder transformer.

The link will lead you to the documentation for the transformer.

Hope this helps.


soly
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • 70 replies
  • January 28, 2020

If I understand the question right, you are trying to build a network.

I believe the way to do this is using the TopologyBuilder transformer.

The link will lead you to the documentation for the transformer.

Hope this helps.

thanks a lot for guiding me ,i think Topology Builder what i need .i am still facing problems at the beginning ,i am thinking to remove any intersections between line .then i will think about which steps that i need later but i will keep trying ,

i have around 2000 line but i got nothing output of network topolgy calculator as this example

https://knowledge.safe.com/articles/1210/removing-intersections-from-line-networks-networkt.html

if i find i am still struggling , i will ask u or if u have advice should i check ,let me know and thanks