Skip to main content
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.
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.
You should also take a look at the LengthToPointCalculator transformer, it might complement the NeighborFinder, depending on your case.

 

 

David

Reply