0

I've these lines so when i want to point the middle by going to Vector > Geometry Tools > Centroid the point goes on the Straight line only, but when i have lines with curves the point doesn't goes with the line as you can see in the image.

How can i make the middle point going on the curve lines?

enter image description here

7

1 Answer 1

4

Use the "Interpolate point on line" tool from the Processing Toolbox (Ctrl+Alt+T):

enter image description here

Choose your line layer, and then find "Edit" in the dropdown for Distance:

enter image description here

Enter $length / 2 as the expression.

enter image description here

Halfway-points appear:

enter image description here

6
  • After clicking run no point shows in the lines idk why !! Commented Jun 21, 2022 at 13:58
  • i don't know why there is no dot's only the new layer shows after clicking on run any solution ? Commented Jun 21, 2022 at 15:25
  • 1
    Is it creating a new layer?
    – Spacedman
    Commented Jun 21, 2022 at 21:47
  • yes but without points Commented Jul 2, 2022 at 12:30
  • any help !!!!!! Commented Jul 5, 2022 at 10:13

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.