Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow stream to connect to a ditch #59

Open
cliffordsnow opened this issue Jul 3, 2024 · 2 comments
Open

Allow stream to connect to a ditch #59

cliffordsnow opened this issue Jul 3, 2024 · 2 comments

Comments

@cliffordsnow
Copy link

Right now a stream ends when connected to a ditch. I'd like to see the watershed area include ditches. BTW - I'm in an area next to the ocean that many of the small streams, often from mountains, connect to irrigation ditches before hitting the ocean.

@amandasaurus
Copy link
Owner

As a first step, I calculated how many loops in waterway=ditch there are. The OSM wiki says ditches should be mapped in direction of waterflow, but I've always suspected that wasn't often done.

There are 28,000 loops in just waterway=ditch alone. If you want to look at the data, the 35 MiB geopackage file can be downloaded from https://data.waterwaymap.org/2024-08-planet-waterway-ditch-loops.gpkg.

The existance of loops shouldn't mean that

The geojsons was created with this osm-lump-ways command:

osm-lump-ways-down -i planet.osm.pbf -f waterway=ditch --loops ditch-loops.geojsons

@cliffordsnow
Copy link
Author

There is a small number in the area around here. One was mistagged as a waterway=ditch + water=pond. It should have been natural=water + water=pond. I'm going to investigate the ones in the farmland near me to see if I can figure out if they are loops or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants