1. I wrote: You must a bit digitalize.
If the lines not overlays/touch, no GIS programm can work corekt, except there is an involved, tolerance distance option.
And when you have such open lines as your river estuary, first you must close the line by hand.
2. Do you have tested the OSM material (no 1 from my last post)