Select to view content in your preferred language

Near tool for matching pairs

1039
1
06-22-2016 11:47 AM
Status: Open
Labels (1)
LucasMurray2
Frequent Contributor

Rather than just finding the closest point, allow the Near tool to calculate the distance between a point and it's matching pair in a separate layer based on a matching unique ID.  Or, if the relationship between the tables is not one-to-one, modify the Generate Near Table tool so it can calculate distances for tables that have a one-to-many relationship.

 

Right now, the only way I can find to calculate the Euclidean distance between an origin table and a matching destination table is to use the XY To Line tool, which requires me to create a table with the origin and destination coordinates.  It's a hassle to do the up-front work when it seems there should be a more direct way to calculate distances between point feature classes.

Tags (3)
1 Comment
KoryKramer

Lucas Murray‌ Take a look at this: http://www.arcgis.com/home/item.html?id=80ee1803656745549d9dfdb84c51191a 

Description

Create line from Fclass center (origin) to Fclass border (destination) using ID field. It's also possible to adjust output line length using percent of line length.