Skip to main content
Solved

Points Distances from a Route

  • March 1, 2013
  • 2 replies
  • 18 views

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.
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

takashi
Celebrity
  • 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
Celebrity
  • March 3, 2013
You should also take a look at the LengthToPointCalculator transformer, it might complement the NeighborFinder, depending on your case.

 

 

David