`osm-river-basins`: Website to show how are rivers in OSM connected

Hi all, I’ve made a website which shows how all the waterways in OSM are topologically connected, or not:

OSM River Basins

More details are there, or on the backing github project. You can also run the programmes for yourself if you want to tweak it, or just show your region.

This tool can help you find possible tagging mistakes in river topology, like change in a name, or find places where 2 rivers aren’t properly connected up.

Data is updated manually by me when I remember.

What do yous think?

34 Likes

working link, not as block of code: OSM River Basins

(edit: now fixed in post above)

6 Likes

Really, really nice. Already found and fixed some mistakes.

OSM River Basins - maybe lower number of colours or avoiding very similar close to each other would be feasible? I almost missed difference here.

Nice :slight_smile:
How come this part doesn’t show up while it’s tagged as river?

You’ve ‘exposed’ 3 lapses in ‘river’ flow continuity in my area of regular mapping, two sections in the Fiume Aventino. except they are tagged same as before and after.Je nais comprend pas

OSM data in JOSM

Amanda’s

Edit: And thank you for this great new addition QA.
Edit2: Good moment while there to create a river relation with 10 members, remove repeating wiki tags from parts to incl different wiki language links for different sections.

1 Like

Great tool indeed, thank you for this.
So, if I understand the coloring scheme, it shows only when it’s part of the same waterway. If another waterway is close to that but different color, then it doesn’t connect and may need fix to verify if indeed it connects or not to the other waterway.

1 Like

I’m definitely going to have a more in-depth look at this when I’m back home. I’ve mapped a lot of rivers and waterway relations, and I’m sure there’s a lot more to be mapped and validated!

1 Like

Really appreciate this fine work Amanda.

It’s pretty cool tool!

Are you considering to add waterway=canal as it’s based on my memory quite often used, for situations where the original river is blocked by a weir in order to guide the water flow through a power station. Those sections are usually man made and tagged as canal. Same goes for locks.

Or do you consider such situations as “not connected”?

1 Like

I used waterway=river tunnel=culvert for them (like minor stream in culvert below road, in section completely remade by humans)

I used canals for spillways.

(not sure is it standard tagging)

Maybe I should have been a bit more general…

The main point was: In my understanding it would be valid, one waterway contains sections with river and canal and still should be considered as connected from my point of view.

Great Amanda. An other challenge is to interpret partial derivations of water basins rivers with dams / water control like for the James Bay Project. On the image below, the east-west rivers are interpreted but the south-north waterways + tunnels in the direction of the northest reservoir are not interpredted. I corrected names and added Relation : Bief Rupert (16220173). We will see if this helps.

image

Hungary seems to be in a very sorry state. What’s wrong? We have plenty of waters, maybe they are not well connected?

From a quick look at the code, it seems that the tools look at waterway=river connections only, so maybe I’m wrong, but I would not expect it to handle more complex situation as of now.
Very nice result anyway!

Looks good, but some questions / points

It doesn’t include streams?

Is there a legend for the colour scheme?

Some rivers have an apparent length shown. Where does that figure come from & why would it be only on some rivers & not others?

Thanks!

2 Likes

Each separate connected waterway=river network gets own colour (globally they will repeat I guess)

1 Like

After having tweaked the Aventino river members, the deviation being different language wikis referenced, looked this morning. No change in same zoom, but homing in on the gap, the rubyred highlighting shows. It may have something to do with rendering. The 154km, seems to be the sum length of all the rivers that come together (to say if unsaid), there are at least 3 involved here, but think the total of the 3 is more than 154.

Missing section shows


doesnt show

Phantom holes are a bit annoying, see OSM River Basins at various zoom levels

screen05
screen04

2 Likes

Also, is running a manual update possible? While fixing I encountered some cases apparently fixed for months.

See OSM River Basins Way: ‪Mień‬ (‪204468641‬) | OpenStreetMap

(posting due “Data is updated manually by me when I remember.”)

1 Like

Agreed. Alas it come from how tippecanoe reduces the size of the MVT file to fit inside.