<div dir="ltr"><div>Hi Amanda,</div><div><br></div><div>Thank you for this additional piece of very useful tool :)</div><div><br></div><div>> WWM/ends excludes canals.</div><div>It's ok but it includes pressurised waterways and these nodes are flagged as ends : <a href="https://www.openstreetmap.org/node/2255728449/">https://www.openstreetmap.org/node/2255728449/</a></div><div>I'd like to include canals instead of removing pressurised waterways (which connect to upstream rivers and it could lead to other mistaken ends too).<br></div><div><br></div><div>Isn't this an opportunity to check the appropriate usage of inlet/outlet values and man_made=outfall as well?</div><div><a href="https://wiki.openstreetmap.org/wiki/Key:inlet">https://wiki.openstreetmap.org/wiki/Key:inlet</a></div><div><a href="https://wiki.openstreetmap.org/wiki/Key:outlet">https://wiki.openstreetmap.org/wiki/Key:outlet</a></div><div><a href="https://wiki.openstreetmap.org/wiki/Tag:man_made%3Doutfall">https://wiki.openstreetmap.org/wiki/Tag:man_made%3Doutfall</a></div><div><br></div><div>Best regards</div><div><br></div><div>François<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 29 janv. 2024 à 21:04, Amanda McCann <<a href="mailto:amanda@technomancy.org">amanda@technomancy.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've added a new feature to [WaterwayMap.org: A map showing where waterways end](<a href="https://waterwaymap.org/ends/" rel="noreferrer" target="_blank">https://waterwaymap.org/ends/</a>), i.e. a map of the ends-of-waterways 🙂.<br>
<br>
It shows nodes which are “the end” of a waterway, i.e. where the water can't go anywhere else. Uniquely, it calculates the total upstream length of waterway ways which end at a point. It uses the direction of OSM ways, and how they are connected. This should make larger mistakes more visible. Like the rest of WaterwayMap.org, data is updated daily, at the same time.<br>
<br>
It's normal for there to be ends, like when a river ends at a coastline. This will rightly show up on WWM:Ends. When a river empties into a lake, this will also show up, unless we've mapped a waterway through the lake. There's [active discussion](<a href="https://community.openstreetmap.org/t/should-river-lines-be-mapped-through-lakes-estuaries-gulfs-and-other-large-water-bodies/104438" rel="noreferrer" target="_blank">https://community.openstreetmap.org/t/should-river-lines-be-mapped-through-lakes-estuaries-gulfs-and-other-large-water-bodies/104438</a>) on when & how to do that.<br>
<br>
# Merging & Splitting<br>
<br>
When 2+ waterways come together, the upstream value is added together. When 2+ waterways split, the upstream value is split equally. This mostly works well, e.g. when a river splits through a side channel, and then rejoins.<br>
<br>
If you have a small stream going into a large river, and it's in the wrong direction, then half the upstream value from the big river will go off to the side stream. This is a mapping mistake, and this tool makes it easier to find them. e.g. [way 962171457](<a href="https://www.openstreetmap.org/way/962171457/history" rel="noreferrer" target="_blank">https://www.openstreetmap.org/way/962171457/history</a>) is mapped as flowing *out* of the Nile, so it's taking 17,000 km of upstream away! [on `wwm/ends`](<a href="https://waterwaymap.org/ends/#map=13.8/17.96527/33.98571" rel="noreferrer" target="_blank">https://waterwaymap.org/ends/#map=13.8/17.96527/33.98571</a>). This direction should probably be reversed.<br>
<br>
Conversely, [this way](<a href="https://www.openstreetmap.org/way/67963223#map=19/52.66517/-8.62906" rel="noreferrer" target="_blank">https://www.openstreetmap.org/way/67963223#map=19/52.66517/-8.62906</a>) is taking half (930 km) of the Shannon [wwm/ends](<a href="https://waterwaymap.org/ends/#map=15.34/52.66393/-8.627153" rel="noreferrer" target="_blank">https://waterwaymap.org/ends/#map=15.34/52.66393/-8.627153</a>). I don't think this should count as an “end”, but the mapping looks ok. WWM/ends excludes canals. I'm unsure if it's possible to calculate the right value. Perhaps more advanced tag calculations. What do yous think?<br>
<br>
I hope you enjoy this new map & we all improve OSM together. 🙂<br>
<br>
# See also<br>
<br>
• a short description of [how it works](<a href="https://waterwaymap.org/ends/help/" rel="noreferrer" target="_blank">https://waterwaymap.org/ends/help/</a>).<br>
• [News about WaterwayMap.org](<a href="https://en.osm.town/@amapanda/tagged/WaterwayMapOrg" rel="noreferrer" target="_blank">https://en.osm.town/@amapanda/tagged/WaterwayMapOrg</a>) can be found on Mastodon/Fediverse (incl. [Atom/RSS feed](<a href="https://en.osm.town/@amapanda/tagged/WaterwayMapOrg.rss)" rel="noreferrer" target="_blank">https://en.osm.town/@amapanda/tagged/WaterwayMapOrg.rss)</a>): <br>
• This code is on Github: [`amandasaurus/<a href="http://waterwaymap.org" rel="noreferrer" target="_blank">waterwaymap.org</a>`](<a href="https://github.com/amandasaurus/waterwaymap.org" rel="noreferrer" target="_blank">https://github.com/amandasaurus/waterwaymap.org</a>). [New issue reports]( <a href="https://github.com/amandasaurus/waterwaymap.org/issues" rel="noreferrer" target="_blank">https://github.com/amandasaurus/waterwaymap.org/issues</a>) are welcome.<br>
• The programme which generates it is [`osm-lump-ways`](<a href="https://github.com/amandasaurus/osm-lump-ways" rel="noreferrer" target="_blank">https://github.com/amandasaurus/osm-lump-ways</a>)<br>
<br>
-- <br>
Amanda<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div>