I have a line shapefile and a point shapefile, and

  • the line has its own segments

enter image description here

and its attribute table,

enter image description here

  • the point shapefile has points near the line above, not on it

enter image description here

and the close look,

enter image description here

Can I use QGIS or other open source tools to split this line at locations which are nearest to the points? And after this procedure I can get the original line with more segments(because being split). For example, find the location on the line, which is the nearest to the point, and split the line at this location(star).

enter image description here

I am using QGIS 2.2 under Windows 8.1 x64.

  • 1
    Could you add a diagram of what you are trying to do, showing the line (and its nodes), the points, and the resulting split lines (with new node)? What do you mean by the 'line ... has already been split'?
    – Simbamangu
    Apr 18 '14 at 11:55
  • @Simbamangu I have edited my post.
    – Heinz
    Apr 18 '14 at 12:43
  • In the final image, why is the yellow star the desired point? Why not just to the direct left of the point?
    – BradHards
    Apr 19 '14 at 0:24
  • You could use the SAGA Split lines at Points tool with high epsilon (tolerance value).
    – user32882
    Sep 17 '18 at 8:49

I am not sure if this could be done in QGIS but you could use st_split for this if it helps. Try to make a buffer around your points and then split it where they intersect.

A same question is asked at Splitting line at point positions using QGIS?


Now Closest Point plugin version 4.0.1 for QGIS 3 can do such cutting task.

  • 2
    Welcome to Geographic Information Systems! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – Ian Turton
    Feb 28 '20 at 19:56

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.