I have two point shapefiles and I want for each point in the 1st shapefile to get the 3 closest (based on air distance) points from the 2nd shapefile.

If possible, it would be great to have each of the three as a new column (as if a variable name) and the value is the distance.

Thanks a lot!



Depending on how many points you have and your extensions, you can generate a near table. You can use this parameter to limit it to the nearest three:

closest_count (Optional) Dialog Reference Find only the specified number of closest features. This parameter will not be used if the Find only closest feature option is checked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.