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:
-
1Hi @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– Stephen Lead2014年11月02日 22:31:51 +00:00Commented Nov 2, 2014 at 22:31
1 Answer 1
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 .dbfErick– Erick2014年11月10日 17:17:29 +00:00Commented Nov 10, 2014 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 usingXY to Line
to a line feature class.Jan Šimbera– Jan Šimbera2014年11月11日 22:18:32 +00:00Commented Nov 11, 2014 at 22:18