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

Render highway=construction #485

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

Render highway=construction #485

wants to merge 1 commit into from

Conversation

Phyks
Copy link
Member

@Phyks Phyks commented Jan 3, 2021

Hi,

Here is a first draft of render for highway=construction tag as discussed in #28. I'm only playing on opacity so far, since playing with dash would make it difficult to read and risk inducing confusion with the already dashed items (cycleway, footway, etc).

Some examples below:

https://www.openstreetmap.org/way/667390515#map=19/45.77706/3.07498
2021-01-03-143842

https://www.openstreetmap.org/way/854996738#map=17/46.14530/3.42974
2021-01-03-143911

Render is not perfect, I identified two issues:

  1. Playing with opacity makes the road appear grey-er than it should (due to opacity not being applied to the whole object but layer by layer and hence grey is made of semi-opaque white on top of grey outline).
  2. Junctions are not rendered nicely (see roundabout).

This however does seem fine to me for a first render and convey the necessary information about "this is a construction area, you might or not be able to cross".

Best,

@jeisenbe
Copy link

I would caution against use of opacity, if possible. Since there are different background colors created by different types of land and buildings, using opacity will cause the colors to mix. When there are two different hues this can have unexpected results and make the map less legible.

If you use grayscale the problem is not as severe, but it can still be harder to understand for map users.

@Phyks Phyks linked an issue Mar 14, 2021 that may be closed by this pull request
@Phyks
Copy link
Member Author

Phyks commented May 28, 2021

I would caution against use of opacity, if possible.

Indeed, this is a source of problems.

@jeisenbe do you have any other rendering ideas for such highway=construction to convey the same meaning of "this road does not really exist"?

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.

Construction
2 participants