How do I count longest distance between two lines as shown at the picture in every bump using QGIS?
I see interesting suggestions I would love to try. Below is what I have tried so far.
A sample data
rivers; I tried to mimic two rivers (type =
straight and type =
(1) Create a new layer of points along the
meander river at 1 meter interval (or any interval to fit your required accuracy). I used
v.to.point which returned a new point layer (layer name:
Points along lines).
(2) Open the attribute table of
Points along lines layer. Create a new field
dist with an expression:
distance( closest_point(geometry(get_feature('rivers', 'type', 'straight')), $geometry), $geometry )
The above expression add a new field which shows distance from each point to the straight river.
(3) Click on a point which you think the farthermost, observe corresponding distance (
dist) value highlighted on the attribute table. (I missed the right one but it is easy to find the distance I want =