Which has caused oddities over the years…
At one time, gambling and liquor were illegal in VA, so casinos set up boats at the low tide line. Customers parked in VA and walked onto the casino barges from the Va side, but they were technically in MD.
You need to follow MD fishing regulations even from VA shore (though a VA license is ok).
The Ohio River has gradually shifted south since the border was established, so some parts of Kentucky are now on the "wrong" side of the river.
Washington: https://app.leg.wa.gov/rcw/default.aspx?cite=43.58&full=true
https://en.wikipedia.org/wiki/Thalweg#Thalweg_principle
> The Treaty of Versailles, for example, specifies that "In the case of boundaries which are defined by a navigable waterway" the boundary is to follow "the median line of the principal channel of navigation."
Basically this is because an infinite-length line must "loop back" on itself, so that at some point it curves by at least 90° from the main direction of movement. This can never happen at a small scale for the middle of a river.
I would really love a mathematician to weigh in on this though. The one main problem I can see is that it might lead to something akin to the Weierstrass function https://en.wikipedia.org/wiki/Weierstrass_function which itself has infinite length, although I don't quite understand why this is or if it's applicable to the case of rivers.