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

water: render waterway=fish_pass #4388

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheJJ
Copy link

@TheJJ TheJJ commented Apr 25, 2021

Fixes #2895

Changes proposed in this pull request:

  • Render waterway=fish_pass

I don't have tested this at all and I still need to figure out how to produce a test rendering :)

@TheJJ TheJJ mentioned this pull request Apr 25, 2021
@HolgerJeromin
Copy link
Contributor

At least

WHERE waterway IN ('stream', 'drain', 'ditch')

and line 220 (and others) seems to be missing.

@TheJJ TheJJ force-pushed the render-waterway=fish_pass branch from 1237a63 to 5f1e3c1 Compare April 26, 2021 11:11
@imagico
Copy link
Collaborator

imagico commented Apr 26, 2021

Thanks for the PR. We generally require PRs to be tested and examples of before and after rendering to be shown to allow a quick assessment of what the change tries to achieve. This does not necessarily have to be done by the person submitting the PR of course. When you implement a change with visual impact on the rendering it is generally highly advisable to visually check the results.

@TheJJ
Copy link
Author

TheJJ commented Apr 26, 2021

Definitely 😄 I just wanted to get the ball rolling.
What would be the simplest possible way to test the changes? Apart from of course somebody with the setup in place creating the renders.

Copy link
Contributor

@pitdicker pitdicker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Before (https://www.openstreetmap.org/#map=18/52.49547/6.58054):
before

After:
after

style/water.mss Show resolved Hide resolved
style/water.mss Show resolved Hide resolved
@TheJJ
Copy link
Author

TheJJ commented Sep 14, 2021

Done, merged the sections!

@TheJJ
Copy link
Author

TheJJ commented May 7, 2022

bump bamp, what is remaining to bring this upstream?

@jeisenbe
Copy link
Collaborator

jeisenbe commented Jun 6, 2022

It looks like @pitdicker approved this in a prior review. Does anyone else have time to test this?

Copy link
Collaborator

@imagico imagico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to work as intended.

As long as we render waterway=stream and waterway=ditch/drain differently (see #2346) i think it would be more logical to have waterway=fish_pass match the rendering of waterway=ditch/drain and not waterway=stream.

Apart from that i think this is something we can add, i am just somewhat wondering if it would be better to render waterway=fish_pass like waterway bridges rather than like a plain waterway. This would make fish passes in the middle of a river across a weir for example visible. Like:

https://www.openstreetmap.org/way/714071249
https://www.openstreetmap.org/way/466865795
https://www.openstreetmap.org/way/993880729
https://www.openstreetmap.org/way/285989535

I am not sure about this given the different styles in mapping that exist (see #2895 (comment)) - so just a thought, not a request for changes.

@pnorman pnorman mentioned this pull request Jul 13, 2022
@TheJJ
Copy link
Author

TheJJ commented Feb 8, 2023

rebased. somebody with a working setup please test :)

@imagico what exactly should be changed so it's more logical regarding to streams/ditch/drain and fish_pass?

@TheJJ TheJJ requested review from pitdicker and imagico and removed request for pitdicker and imagico February 8, 2023 15:04
@imagico imagico marked this pull request as draft November 10, 2023 14:24
@imagico
Copy link
Collaborator

imagico commented Nov 10, 2023

Setting this as draft. It requires

  • changing rendering of waterway=fish_pass to match that of waterway=ditch/waterway=drain rather than waterway=stream as it does at the moment (or alternatively: fixing rendering of waterway=ditch/drain incentivizes bad mapping #2346).
  • practical testing and samples.
  • optionally: evaluation if this would work better when rendered like a wayterway bridge rather than a normal waterway so fish passes within a riverbank polygon (for example across a weir) are visible.

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

Successfully merging this pull request may close these issues.

waterway=fish_pass
5 participants