I want to convert these points to lines, however they are not sorted sequentially along a line (by ID or FID), i.e. the converted lines zig-zag across the obvious trail of points.

How can I join these point trails based on proximity to points?

I don't have access to the Near (Analysis) tool, which I thought might help me move froward.


  • To begin with, your points will need an attribute field identifying them as part of the same line. I believe after something like the QGIS PointsToPaths plugins would work.
    – Paul
    Commented Apr 30, 2015 at 16:16
  • Given that one answerer was criticized for mentioning it, I suggest inserting "using PointsToLine_management()" between "i.e." and " the converted lines zig"
    – Martin F
    Commented May 2, 2015 at 22:27

3 Answers 3

  1. One approach is to convert this to raster and then extract contours
  2. Another is to find the buffer for each point;Dissolve those buffers to get a narrow polygon;Find the center line of each dissolved polygon.
  • I just wanted to alert you that we had discussion about why this answer was set to Community Wiki in Meta. If you intended it to be, then just edit and reset that, perhaps along with a message to say why.
    – PolyGeo
    Commented May 1, 2015 at 21:52

First you need a line identifier. A buffer will probably do what you need, with dissolve. Then you can spatially join the buffer polys back to the points and transfer the buffer fid across. Then you need to sequence them in some way. The points all seem to go NE-SW, so perhaps ordering on the Y coord will get you a sequence. Apply this as an index to the points. Then use the Points To Lines tool.


we have once Geoprocessing tool Point to Line in arcgis use once i think this is useful to you


  • -1 It sounds like the asker already tried this but it did not work. Commented May 1, 2015 at 11:18
  • This is a perfectly valid answer, but could do with some expansion of details. Such as first you would have to add something to identify the points as belonging to a particular line, and possibly a particular sequence (sort_field). This is essentially the same as Neil's later posted answer, but note the detail he has provided in using the tool.
    – Chris W
    Commented May 4, 2015 at 2:53

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.