I have a river dataset, which is dissolved, so between two lakes there will always be one single river line.
Now I want to find all rivers that starts in a lake, and ends in a lake. So if my rivers are stored as line features, and the lakes as polygon features, I need to find all lines whose both start point and end point touches a polygon in the lake data set.
How do I do that in either ArcGIS or QGIS (preferrably without any programming).