Friday, 17 March 2017

Drawing lines between all possible combinations of points using ArcGIS Desktop?


I have a shapefile with several points (A, B, C, D, E,...) and I want to draw a line between all possible combinations of points (A-B, A-C, A-D, B-C, B-D,...).


As I know that it is quite simple in ArcGIS I don't want to use a Python-script or something similar. The "Points To Line" tool just draws me one line that is connecting all the points (A-B-C-D-...).



How can I do it using ArcGIS Desktop (all extensions available) ?



Answer



I think the answer from klewis is very helpful:



I think you can do this in two steps. First run "Generate Near Table", selecting Location. Next, run "XY to Line", providing start_x,start_y, near_x,near_y. Generate Near Table requires an Advanced license. – klewis



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...