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

Changed rendering level of railway=disused #3689

Closed
wants to merge 2 commits into from

Conversation

da1910
Copy link

@da1910 da1910 commented Feb 20, 2019

Fixes #2074

Changes proposed in this pull request:

  • Move railway=disused rendering to z14+ to match level crossings

Currently level crossings over disused railways render without the railway, this looks odd and doesn't make sense.

Test rendering with links to the example places:

Before
screenshot from 2019-02-20 17-09-46
screenshot from 2019-02-20 17-00-27
screenshot from 2019-02-20 16-59-29

After

screenshot from 2019-02-20 17-10-11
screenshot from 2019-02-20 17-01-09
screenshot from 2019-02-20 16-59-45

@imagico
Copy link
Collaborator

imagico commented Feb 21, 2019

Thanks for the PR.

However i don't think this is an advisable change, showing disused railways at an earlier zoom level would not benefit the map overall IMO. I also don't think it would solve the problem you try to solve here (that railway crossings are displayed when the railway is not) because there are other railway types (like railway=tram + service=*) that are not shown at z14 either.

Whether it makes sense to have the starting zoom level for railway crossings depend on the type of intersecting railway is a different matter that could be discussed. I am not sure if the gain justifies the complexity in code and in logic for the map user to understand.

@imagico
Copy link
Collaborator

imagico commented Feb 21, 2019

Also note your samples seem to be faulty - you have areas in a blue color in there (#9dd3dd) that does not otherwise occur in the style i think. If you show samples it is important that they feature the change (and only the change) you are proposing.

@da1910
Copy link
Author

da1910 commented Feb 21, 2019 via email

@boothym
Copy link
Contributor

boothym commented Feb 22, 2019

showing disused railways at an earlier zoom level would not benefit the map overall IMO

What are the downsides of showing disused railways at an earlier zoom level? Because IMO the benefits are:

  • matches the zoom level of level crossings, so they are not floating about on their own at z14
  • bridges/tunnels are shown earlier
  • important landmark/feature, especially in more rural areas.

Most trams with service=* seem to be service=yard, where having level crossings rendered without tracks isn't as important as in public areas and they may not even be mapped anyway.

@imagico
Copy link
Collaborator

imagico commented Feb 22, 2019

What are the downsides of showing disused railways at an earlier zoom level?

Lower zoom rendering of railways is for showing transportation infrastructure, not physical structures. Disused railways do not serve as transportation. A disused railway is more like a barrier and barriers start at z16 so rendering from z15 as fairly prominent barriers makes sense. And dashed/dotted lines do not generally work well at small scales, the line topology is not well visible and the dotting generates a lot of noise. Specifically rendering disused railway bridges and tunnels earlier could be worth discussing.

The fact that this change is proposed as a means to solve a perceived problem with railway crossings and not as a desirable change on its own also tells me that this is not about a change that has merit on its own.

As a mapping related side note - i think the focus on the disused railway as a feature is somewhat ill advised. The practical significance of a disused railway is often not the railway track itself but the structures around it. You already mentioned bridges and tunnels but embankments and cuttings are much more widespread. Mapping and rendering those would IMO be more important than just showing the disused railway as an abstract structure.

@matkoniecz
Copy link
Contributor

Thank you very much for the PR!

Fixes #2074

I would rather say that it hides problem raised in #2074. I amended this report to make clear that problem is that crossings are rendered too early, not that railway=disused is rendered too late.

Also, "after" images are showing changes unrelated to changed railway rendering.

But anyway, after images make clear that disused railway symbols are not readable at this zoom level.

Also, as @imagico mentioned it is dubious that disused railway should be rendered so soon.

@matkoniecz matkoniecz closed this Feb 23, 2019
@matkoniecz
Copy link
Contributor

And again - thank you very much for the PR! Unfortunately in this case I think that this change will not make map better.

Hopefully next one will be merged!

@da1910 da1910 deleted the disused_railway branch February 23, 2019 15:25
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.

4 participants