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?
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?
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