Skip to main content
Solved

Points Distances from a Route


How can I calculate the closest distance from a point to a route?  For example, distances of houses from a tornado path (equivalent to ESRI's Near function).

 

Thanks ahead for any guidance.

Best answer by takashi

Hi,

 

 

I think NeighborFinder transformer is suitable for your purpose. Connect the point features to BASE port, the route feature to CANDIDATE port of the NeighborFinder. Set a preferable list name to "Close Candidate List Name" parameter of the transformer. Points within the specified maximum distance from the route go to MATCHED port. The points will have a list including the closest distance to the route.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • March 2, 2013
Hi,

 

 

I think NeighborFinder transformer is suitable for your purpose. Connect the point features to BASE port, the route feature to CANDIDATE port of the NeighborFinder. Set a preferable list name to "Close Candidate List Name" parameter of the transformer. Points within the specified maximum distance from the route go to MATCHED port. The points will have a list including the closest distance to the route.

david_r
Evangelist
  • March 3, 2013
You should also take a look at the LengthToPointCalculator transformer, it might complement the NeighborFinder, depending on your case.

 

 

David

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings