-
Notifications
You must be signed in to change notification settings - Fork 823
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
Lighten major buildings fill and outline #3659
Conversation
What about proposed progressive major buildings color lightning? I don't remember the ticket where it was proposed. |
I thought there had been some previous discussion, but a search of all PRs
and Issues for “major buildings” and “building color” didn’t find much.
Do you mean that the color should change by zoom level?
…On Mon, Jan 28, 2019 at 6:12 PM kocio-pl ***@***.***> wrote:
What about proposed progressive major buildings color lightning? I don't
remember the ticket where it was proposed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3659 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoxshB4r3FKJ0cw6-9Q2jA2kyo74T1MJks5vHr8AgaJpZM4aVOEr>
.
|
Yes, exactly. Both ideas are OK for me, I have no clear preference, I just want to know what others think. |
For better understanding of the color environment you are working in here - these are the medium lightness low chroma colors you have around: In order: building, building-lowzoom, construction, place-of-worship, your major building idea, landfill, platform. |
I had compared this color to place_of_worship and landuse=construction, but
I had not thought of landfill and platform.
It looks like the delta to landfill is 13.8 - not huge, but enough. The
delta to the current major-building-fill is 14.8
The delta to platform is now only 8.1 - but at high zoom levels where
platforms are visible, the building outline will be shown, and this is much
darker.
Joseph
On Mon, Jan 28, 2019 at 8:44 PM Christoph Hormann :
> For better understanding of the color environment you are working in
here - these are the medium lightness low chroma colors you have around:
http://davidjohnstone.net/pages/lch-lab-colour-gradient-picker#d9d0c9,d2c7bf,c8c8b5,cfcfcf,c4b6ab,b6b592,bbbbbb
In order: building, but building-lowzoom, construction, place-of-worship, *your
major building idea*, landfill, platform
|
For reference, the original discussion was in #3426. Lightening of major buildings was originally a part of that PR, but the discussion focused mainly on minor buildings. The PR was renamed and merged with no visual changes, it only moved major/minor building selection from SQL to CSS. |
I agree with progressive major buildings colour lightning. Darken colour at low zoom emphasizes major building and lighten colour help to distinguish icon at high zoom. |
According to the deltas based on Lab/LCH, the closest to the new buildings fill would be quarry, place_of_worship/religious landuse, and platform. All of these are neutral gray instead of brown, but the lightness levels are similar, especially for platform, though also for quarry. New Looking at the test images from the train station at z16 and z18 above, the platforms look quite different from the major building color. In this case I think that the calculated delta underestimates the difference between neutral gray and brown, even though the lightness level is close. Browns: The closest brown colors are landuse=construction/brownfield and landuse=landfill; the former is more likely to be found with buildings. This is probably the most difficult case. I'd consider this difference to be sufficiently large, if just barely. @imagico has suggested combing the colors for quarry, landfill, construction (and brownfield), with New Also, the delta between the current building-fill and the new major-building-fill would be Δ: 9.6 for comparison. But since this is mainly a difference in lightness, it's sufficiently visible on most computer screens. I check the new major-building-line color, and it doesn't appear to be very close to any colors. The closest is the current building-line, unsurprisingly, followed by landfill. New None of the icon colors is very close. The difference with |
Looking back at the discussion in #3426, here are some more examples: Major buildings 10% darker (same as current commit) Major buildings 15% darker (could be used at lower zoom levels?) Hamburg station again, 15% darker major-buildings-fill: |
@meased in these test images -- #3426 (comment) -- what were the levels used at different zoom levels? I'm guessing 20% (current) at z14 and 10% at high zoom, but not certain where you changed the levels. |
bd89ef7
to
f772cdc
Compare
I've pushed a new commit that adds a major-building-low-zoom color for z14, which is 5% darker than the major-buildings-fill color (i.e. 15% darker than I also made some tests that would keep the current fill color at z14 (20% darker), with an intermediate color at z15 (15% darker) and then the proposed color at z16 and higher (10% darker). Major-building on religious/place_of_worship color background: z15 before Major-building on landuse=construction Major-building on graveyard/cemetery z15 before z14 before / 20% Harburg train station |
#3647 convinces me to not support lighten colour at low zoom |
Are others in favor of keeping the major buildings darker and more distinct at lower zoom levels? Do the high zoom levels (z17, z18, z19) need to be darker, or is More tests near the equator, in Yogyakarta, Indonesia: Yogyakarta Airport: z15 before z14 before National University, Yogyakarta z15 before z16 before |
Singapore, Chiang Airport:
Central Singapore
|
Yes, I would like to have them the same as in master. On z14 and z15 they are hard to notice and also look close to the construction when they are small.
I'm happy with high zoom appearance. |
OK, I've pushed a new commit to render major-buildings fill as Examples: |
Thanks, that works for me too. I hope now we can find some solution for minor (and underground) buildings too. |
Whisper PR to #3641. |
Related to #3071
Related to #2532
Related to #3589
Also see discussion in #3426
Changes proposed in this pull request:
@building
. With this PR it will be changed to 10% darker@major-building-fill
. With this PR it will be changed to 15% darker.Explanation:
@building-outline
, currently 15% darker than@building
, so this is lighter than the major building color.darken
works in the HSL color space, this also means that the color is less saturated and the hue is more similar to@building
as well.Test rendering with links to the example places:
Hamburg Airport
https://www.openstreetmap.org/#map=17/53.63323/10.00529
z19 Before
After
z17 Before
After
z15 Before
After
Hamburg train station and downtown churches
https://www.openstreetmap.org/#map=16/53.5477/10.0028
z18 Before
After
z16 Before
After
z14 Before
After