[RFC] Feature Proposal - Flowlines

There are many rivers that flow through many lakes and keep their name all the way. Therefore, waterway=river is a non-false tag in this case. For example: Relation: ‪Кемь‬ (‪9445490‬) | OpenStreetMap

1 Like

I would leave this up to local interpretation. Certainly where an area of water is called both a river and a lake by the locals I would consider it correct to tag the area as a lake and a line though it as a river (I’ll edit my post to acknowledge this). There are plenty of other places where the locals don’t consider a certain lake to also be a river, though. In this case it is false to tag a line going through the lake as a river. This line for example does not represent a river. It is only considered a lake.

It feels like we are overcomplicating things.

If a river flows through a lake, then draw it through the lake.
If a river flows into a lake, terminate it on the inlet.
If a river flows out of a lake, start it on the outlet.

Whether the river goes into, out of, or through a lake is largely a matter of convention and nomenclature, and that’s OK. After all, that’s what we’re mapping – nomenclature and convention.

I don’t buy the argument that “connecting the dots” between inlet and outlet is some kind of massively hard problem. If a child can do it with crayons, I’m pretty sure an algorithm can figure it out. And, if the end-user application only needs to associate inlets and outlets together (and not necessarily connect them with drawn lines), this problem is even easier.

2 Likes

There are many many things that children can do, that computers cannot. e.g. A child can walk on 2 legs, balance, and avoid obstacles. Computers & algorithms barely can do that.

3 Likes

Not sure if it’s based on OSM, but it might as well be:

1 Like

Hmmm, I’m not sure if that’s an argument for or against! But it’s neat to see in any case. :slight_smile:

I have so many questions!

1) What is the use of waterways.org beyond pretty visualisation of streams and rivers?

2) What is the reason why it does not assume rivers are connected by bodies of water? Law of physics kind of suggest that if one had inflows into a lake/reservoir/, the water from them eventually flows to outflows. These are given by directionality and waterways/natural=water should be connected by a node. Having read this thread and the wiki proposal, I do not get what this is for at all.

Looking at some rivers mapped as multipolygon relations, I can see that it is common practice to map large rivers as areas and then add a waterway=river through them as per Relation:waterway - OpenStreetMap Wiki and Rivers - OpenStreetMap Wiki. However, both wiki entries are silent on what to do when river enter lakes or reservoirs. For example the Vltava river Relation: ‪Vltava‬ (‪1730536‬) | OpenStreetMap is dammed most of its way. There is a waterway=river running both through its unregulated flowing parts and the dams on it. 3) This proposal would replace the latter waterway=river into waterway=flow, right? Such a change makes sense to me, I guess, if mapping rivers through stale bodies of water is accepted practice. 4) But is it?

5) And is there a rule against putting areas into relations?

To me personally, when I search in an app a river with dams, I would at most levels of zoom that are not above (resonably-sized) country level expect the river being highlighted as a line where it is unregulated but as an area where it is not. So it would make more sense to me not to map anything through natural=water and let the consumers handle it based on intrinsic logic. However, if it is accepted practice to map through lakes and dams (could that be then documented please?), then flowline seems to be better.

Also for the proposal itself, I think it should at least generalize to also include reservoirs but also moats and basins etc. perhaps:

Where a watercourse tagged as waterway= enters a body of water tagged as natural=water and ceases to be recognizable as a stream or river, start a way tagged waterway=flowline.

However I guess I prefer the alternative proposal if I had to choose.

Also, this post should nto be forgotten:

Based on that, adding to proposal something like. “When a waterway enters a natural=wetland, tag with waterway=flowline and interminent=yes.”

It’s now been quite a bit of time since the latest comment, so voting could begin. But there is clearly more than enough opposition that a vote would not succeed (in my view, at least). So supporters need to address the concerns raised. The biggest concern I observe is the underlying divide on whether or not to create ways thru waterbodies at all. I was hoping that this tag would be an appealing compromise, but (so far at least) it does not seem to be. I’d be glad to hear from supporters who think they can make novel points to try and better resolve this.

There were a few other, more minor concerns, but I think unless/until we at least partially resolve the basic issue, I don’t see the proposal reaching a sufficient majority. If anyone else wants to start the vote, just to see, I won’t stand in their way, though.

I actually do view this as a very nice compromise, and support the suggestion for that reason. The discussion of whether or not to map ways through waterbodies is kind of moot, given that mappers already do that anyway. And while many rivers and streams can be considered to carry on through the waterbody and can be mapped as such (as they are today), there are many that aren’t considered to continue as a river/stream and flowline is an excellent option for those.

The only concern I have is for waterbodies with multiple outlets. In that case all inlets are mixed together and contribute to all outlets, since it is very hard to say anything definite about which exact inlets were the origin for the water going out an outlet. Since flowlines are directional, all inlets would need a flowline to a central point from which flowlines to all outlets go out to account for this distribution, which would lead to very messy mapping for large waterbodies. In this case looking at the waterways connected to the waterbody edge makes the most sense.

But just because flowlines aren’t perfect doesn’t mean they aren’t an improvement on the status quo. If anything the above case could be made better by all ways in the waterbody being flowlines as they could then easily be excluded from an analysis, rather than having to parse exactly which river ways are actually relevant and which have been mapped through the waterbody.

3 Likes

Thank you! If you were willing to adapt these comments into changes to the proposal text, I would welcome that. Also, hearing from opponents if this additional point changes any of their views.

(edit: to be more explicit – I want you to directly edit the proposal text, if you are comfortable doing that. It isn’t being voted on yet, and if I disagree with any of the stuff you change (not that I think that’s likely!) I can just change it back, and we can discuss it and come up with a collectively agreed on version.)

Sorry to necropost, so I just encountered these “flowlines” in the map near me, and this is downright silly:

Are we just drawing random circles around islands now? This is all outside of the natural=coastline and I fail to see the purpose of this. I’ve already removed the pretzel shaped loops from Newport harbor as it’s just clutter.

4 Likes

In theory they exist as lines which can be used for routing aswell, which would explain why they surround the islands. But if this area is part of open sea, and not a lake, then there’s no reason for any of these flowlines to exist.

3 Likes

In theory they exist as lines which can be used for routing aswell, which would explain why they surround the islands. But if this area is part of open sea, and not a lake, then there’s no reason for any of these flowlines to exist.

it is an estuary, i.e. it is both

2 Likes

I think this is inspired by the “split highway around a traffic island” style of mapping?

Like, traffic flows around the traffic island, and so water flows around the island.

Hi! I’m the one who drew these flowlines. Next time I ask that you please leave a changeset comment before deleting work so the mapper will get pinged.

With respect, I’m not sure why you find this type of mapping silly. A tidal estuary like Narragansett Bay is part of the hydrological network, it’s not open ocean. It ultimately drains to Long Island Sound, and from there to the Atlantic. The islands are dealt with the same way they would be in a lake or reservoir. The network frame is useful for maritime routing. The scope is really much smaller than flowlines in the Great Lakes or Chesapeake Bay.

3 Likes

I’m generally in favor of mapping flow lines to connect streams and rivers flowing through lakes, ponds, and reservoirs. This allows us to model a complete watershed. I’m not convinced that flow lines well beyond the coastline make sense though. I see the sense in river lines continuing to the low tide line (which can be a fair bit beyond the natural=coastline in areas with significant tidal range) but I don’t see a benefit of continuing further into the ocean. I’d also be ok with some upper limit on lake size (like the Great Lakes) beyond which we don’t map flow lines. For folks who favor flowlines beyond the coastline, where should they end? Flow continues through the ocean after all.

2 Likes

I don’t see what that description has to do with these pretzel-shaped lines going everywhere:

This is not mapping real geodata, this just an art project drawing lines between any two pairs of land masses separated by water.

I am generally fine with flowlines for connecting a waterway=river through a lake to model the fact that a river is regarded as transiting a lake. That models a geodata fact.

I am opposed to drawing circles around islands simply because they happen to be in a tidal estuary.

does it? Afaik in a lake there is no river flow, there are waterways entering and leaving the lake, but they do not continue inside the lake. These rivers inside of lakes are just arbitrary flowlines

@dieterdreist That’s exactly what flowlines are intended for! It helps mapping the center waterline where there is no well defined waterline.

+1 here virtual flowlines around islets are missing :innocent:
:upside_down_face:
One flowline is enough.

1 Like