4

I need to snap the points to the lines in another layer in order to create another line shapefile.

Is there any plugin / tool available for this? The Snap geometries doesn't take points as a reference layer.

1 Answer 1

3

An option would be to look into the SAGA Tools in the Processing Toolbox. There is a Snap Points to Lines tool, which should accomplish what you are looking for. You can search for it in the Processing Toolbox by typing "Snap" or navigating:

SAGA -> Vector Point Tools -> Snap points to lines

It allows you to define the input points layer, a search distance and whether the output is in memory or a new shapefile layer.

4
  • Hi. My qgis version is 2.14.19. What version is yours? I don't have that tool under the saga 2.3.2. Thank you Commented Mar 5, 2018 at 0:06
  • I was looking at my version. It is 2.18.13 and SAGA 2.3.2. I would update your question to include the version details. It will allow other people to add their answers based on the information provided. I am not familiar with 2.14, perhaps someone else can assist. Or, you upgrade to the latest version. Commented Mar 5, 2018 at 6:34
  • I'm using QGIS 3.28.3 and this actually still works nicely, even though using the tool gives the following warning: 'SAGA version 7.8.2 is not officially supported'
    – Matt
    Commented Mar 24, 2023 at 17:54
  • Another option is to use Processing Toolbox > Vector geometry > Snap geometries to layer Commented Jul 26, 2023 at 18:35

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.