1

I have a layer including streams, ditches and streams.

How could I select, by setting a minimum length, the straight polylines corresponding mainly to canals and ditches?

enter image description here

3
  • 2
    select by length? > gis.stackexchange.com/a/452725/276
    – Mapperz
    Commented Sep 12 at 20:04
  • 2
    You use the word 'straight' in your title, and 'rectilinear' in your post. Yet you highlight a bendy line. All of this leaves me confused about what you need to do. Perhaps you could edit your post and clarify.
    – Stu Smith
    Commented Sep 12 at 20:30
  • 1
    This could help as you have some parameters to change the result and thus try out different settings for an optimal result: gis.stackexchange.com/a/397907/88814
    – Babel
    Commented Sep 13 at 8:43

1 Answer 1

3

Select by $length and sinuosity:

the sinuosity of a curve, which is the ratio of the curve length to the straight (2D) distance between its endpoints.

sinuosity($geometry)<1.1 and $length>500

enter image description here

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.