4

I have a shapefile with track lines and I need to generate random points from each 1 km of every line. There is a function in QGIS Random points but it offers to generate random points only inside a polygon. Any ideas for a specific plug-in or another solution?

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Jul 9, 2016 at 21:29

2 Answers 2

3

What about from the processing toolbox where there's a tool called Random points along line.

You can also set the minimum distance.

answered Jul 10, 2016 at 0:14
2
  • Thanks! I took a me a while to find out this processing algorithm is in Commander (not displaying in Toolbox) but I did and it works!. Commented Jul 10, 2016 at 9:22
  • @MiroslavKutal, you will need to change the simplified interface to advanced at the bottom of the toolbox. And your welcome! Commented Jul 10, 2016 at 9:48
2

First off all you have to make sure that your Project and data CRS are in the Projected References. then go to:

Qgis > Processing > Toolbox > (type) Random points along line... You ́ll see it in Vector creation tools > right clik and execute...

enter image description here

Number points = If you put 1 you ́ll only see one point, Minimum distance = In meters (E.g. 1000).

answered Mar 22, 2018 at 14:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.