Skip to main content
Solved

I have a collection of Roads (lines) and would like to find the nearest other road(line) to the starting point..

  • May 19, 2021
  • 2 replies
  • 26 views

preiser
Contributor
Forum|alt.badge.img+4

I have used snipper to get the starting points of the lines, then I used NeighbourFinder to find the nearest line to the starting point, but i want to exclude lines with same id as my point..

 

It is possible with Postgis, but know that I got a license I prefer FME if possible.

Best answer by nielsgerrits

I think you need to choose you want to find 2 matches, use a list, explode the list, discard the match with the same ID and keep the other one.

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

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • Best Answer
  • May 19, 2021

I think you need to choose you want to find 2 matches, use a list, explode the list, discard the match with the same ID and keep the other one.


preiser
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 1 reply
  • May 19, 2021

Ok I will go with that solution, and save it in my Toolbox.. Thanks a lot