0

I need to connect points within one layer to the nearest with polyline. enter image description hereTool to the nearest would be ideal, but there is nothing in the attribute table.

enter image description here

I tried to find tool in X Y coordinate, but nothing works. It requires another attribute to run it to. Layer ID is not in any order. Tried XY tool. Tried Creating best fit line from point data using ArcGIS for Desktop?

enter image description here

Only connects some, and not always to the nearest.

None seem to work.

Any Suggestions?

3
  • May I ask what is your real goal?
    – FelixIP
    Sep 22, 2019 at 3:21
  • This is a vector map of kurgans (1789–1865) map. Statistical analysis "to the nearest" shows mathematical dependencies roads, rivers, and kurgans. Ancient burial mounds served as road markers. I need not to perform statistical analysis of distances, archeology, road network in attempt to recreate road network in historic period of interest. Sep 22, 2019 at 4:59
  • yadi.sk/i/nQoKEI35HnbYIw Sep 22, 2019 at 5:37

1 Answer 1

2

Run generate NEAR on itself, add 4 fields to that table. Transfer from coordinates, using IN_FID:

enter image description here

Repeat for "to" coordinates, using NEAR_FID. Use XY to line, with IN_FID as ID:

enter image description here

Note: you'll have lines sharing ends running in opposite directions.

6
  • Almost working. Does not connect all of it, but better. For some reason cannot add picture. Sep 22, 2019 at 5:25
  • yadi.sk/i/nQoKEI35HnbYIw Sep 22, 2019 at 5:39
  • Ancient burial mounds served as road markers. I need to perform statistical analysis of distances, archeology, road network in attempt to recreate road network in historic period of interest Sep 22, 2019 at 5:50
  • Another reason: you might have duplicate points or pairs sitting very close. Delete duplicating shapes maybe.
    – FelixIP
    Sep 22, 2019 at 5:56
  • What you really need is minimum spanning tree of your points, not bits and pieces all over the he place.
    – FelixIP
    Sep 22, 2019 at 6:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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