I am doing a transportation analysis on buildings in ArcGIS 10.2.

I need to find nearest point features to multiple feature classes and then generate lines to those closest point features.

I was reading another question post here about using the "generate near table" and "XY to line" tools to do this. It worked fairly well, but I could not specify the tools to find and generate lines to each of the nearest features in multiple shapefiles/feature datasets.

ex: I have a point file for one building I need to generate a line to the closest bus stop, to the closest drinking fountain, to the closest bicycle lock rack.

There is a seperate dataset for each transportation feature (bike rack, water fountain, bus stop, etc...)

Can anybody help?

Here is the link to a similar problem:

Connect point to closest feature in ArcGIS 10.2

  • 1
    Hi @Erick and welcome to GIS Stack Exchange. Have you tried Batch mode, which will allow you to run the same tool multiple times? – Stephen Lead Nov 2 '14 at 22:31

I'd suggest either Batch mode or, if it is possible, pre-merge the multiple targets using Merge geoprocessing tool into one.

  • Would I merge the targets after generating the near table? Merging the .dbf – Erick Nov 10 '14 at 17:17
  • I'd use Batch mode to generate multiple near tables, then merge these tables into one table using Merge and, finally, convert them using XY to Line to a line feature class. – Jan Šimbera Nov 11 '14 at 22:18

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.