waterwaymap.org icon indicating copy to clipboard operation
waterwaymap.org copied to clipboard

Identify rivers that ends on a stream

Open angoca opened this issue 1 year ago • 3 comments

The correct way is that waterway=stream ends on waterway=river but not the opposite.

It will be interesting to have a section for them.

angoca avatar Jun 08 '24 18:06 angoca

The rule I always heard is “if you can jump over it, then it's a =stream, otherwise it's =river”. It's possible for a river to get narrower until it's a stream. So I don't think this is always a mapping mistake.

However I think it would be useful to highlight this cases, to allow mappers to find mistakes. I have an idea how to do it.

amandasaurus avatar Jun 23 '24 10:06 amandasaurus

Here's a first attempt: http://data.waterwaymap.org/planet-waterway-stream-ends.geojson (data will not update)

(As of now) It's a 22 MiB GeoJOSN file, with 110k Features. It's all the ways from the flowing_water filter, excluding anything with waterway=stream. The normal “flowing water” filter is in flowing_water.tagfilterfunc, I did a quick hack to exclude =stream: flowing_water_wo_streams.tagfilterfunc

Each point contains upstream_m, which is the totaly length of all upstream waterways which end here. This

You can download load this file into JOSM and work on the data.

Remember not all points are mapping mistakes. 🙂

Is this sort of data OK for you? If so, I can add it to the regular generation, and make a map based on that.

amandasaurus avatar Jul 17 '24 09:07 amandasaurus

@angoca @mxdanger What do you think of that data file? Is that OK? Is that the sort of thing you want?

If so, I can generate that regularly and make some sort of web page.

amandasaurus avatar Aug 07 '24 07:08 amandasaurus

Hi @amandasaurus, the file is great. It has helped me to correct these invalid transitions.

https://www.instagram.com/p/C_a_JBmupEC/ https://x.com/OSM_Colombia/status/1830645693784170518

If you can generate it in a regularly basis it will be great.

angoca avatar Sep 02 '24 17:09 angoca

Excellent! 🙂.

You can download the file from data.waterwaymap.org/planet-waterway-stream-ends.geojson.gz. It's a zipped GeoJSON file that you open in JOSM (or any GIS software). _(NB: it's a different URL from before.

more docs

Have fun mapping. 🙂 If you have any more interesting ideas, please let me know. 🙂

amandasaurus avatar Sep 11 '24 07:09 amandasaurus