2

I am trying to draw a line between a thousands of points and a line using QGIS. I then want to carry out some calculations on the new lines to see which polygons they intersect in a different layer.

I have used NNjoin to find the shortest distance between each point and the line but I want a layer displaying these lines.

Fezter
  • 21,867
  • 11
  • 68
  • 123
nashm999
  • 317
  • 3
  • 10
  • This has to be a duplicate of an existing question. Did you try searching for your answer already? – shea Oct 22 '17 at 20:26
  • Can you edit your question by adding more detail (what kind of line etc.)? – pnz1337 Oct 22 '17 at 20:29
  • Good question, nicely explained. Why on hold? – FelixIP Oct 22 '17 at 21:16
  • @FelixIP is the OP drawing one line among the points, like a regression line? Or one line for each of the thousand points? Before Fezter made an edit, there was no mention of NNjoin. I don't know if Fezter inferred NNjoin or that was an edit between my initial comment and this one. And what kind of calculations for the intersections? – shea Oct 23 '17 at 01:44
  • @shea This is what OP says: "draw a line between a thousands of points AND a line". Thus he is talking about lines connecting points (e.g. property water meters) to a line (e.g. water main). Routine task in ArcGIS, not sure about QGIS. – FelixIP Oct 23 '17 at 02:09

1 Answers1

2

I think this solution might work. Using SAGA to convert line to point, and then QGIS Distance to nearest hub.

Nearest distance between point layer and line layer, QGIS

Mrescude
  • 58
  • 6