-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
[styles] Make park, forest, scrub colors different #4758
Conversation
3276987
to
67af8a8
Compare
What is the color gradation for these types in some other popular maps? |
@pastk Maybe you should also check how landuse=orchad, leisure=garden and barrier=hedge will look in combination with new colors. They are often used near |
Google does it right: on some zoom levels using only one green color for many types helps to read the map easier. We can use the same approach to avoid "too colorful" maps and show them differently after zooming-in. |
It seems more likely that their maps are more for business than tourism. Especially for non-urban tourism. And for the urban, according to my long experience of using them, they have nothing but points of interest. As for parks and forests, they don't have any color designations at all. Only on survey zooms there is something like processed satellite images of forests, but apart from beauty, this does not give anything. The darker spots in the screenshots are not trees, as you might think, but sports grounds, which is strange. I agree that the abundance of colors can be confusing sometimes, but on the other hand, as a rule, the objects under discussion are quite large, and at close zooms there cannot be a lot of them at once. And at medium and far zooms, they will give important information about the terrain. In my opinion, of all the examples I have given, the best is 2 gis. Their color palette is quite small, but nevertheless quite visual. |
When you "overview" the map at the whole city level, you usually don't need detailed info about shrubs, trees, or even grass. "Something green" is often enough. Then, after zooming in, OM can show a distinction by colors. It would be interesting to try this approach... |
Yeah, this decision is probably ideal. But, I suspect, before there are switchable styles, non-urban tourists may have worse readability of the map |
Let's check how it will look :) |
This PR is just a rather quick attempt to make things incrementally better, though not ideal. So I'd rather keep its scope limited. I intentionally didn't change the colors (just re-applied the ones we had already) and didn't touch the current OM behavior of darkening the colors while zooming in (notice that e.g. forests are lighter at overview zooms). I guess the idea behind this was to make overview zooms less contrast. But it complicates distinguishing different vegetation fills a lot. So in my opinion dropping this approach and making an overhaul of vegetation fills would be better. If anyone feels like doing it and tuning the colors palette - you're very welcome; and I can help with integrating it into the app and testing it if needed. My idea is that 3 colors are probably enough (for a universal style) to distinguish vegetation based on density / passability.
Combined with @biodranik's suggestion to combine them into just 1 color on overview zooms should result in a good balance of cleanness and detalisation for the universal style (outdoors style will be different obviously). |
Hedges have a quite distinct color hue, so should be visible fine against all those fills (it was tested before - when the current hedges color was introduced). I left gardens to be same as forests in this PR. Gardens look nice inside of parks now (they were not visible before). Orchards are same as grass (didn't touch it in this PR too). Actually ATM we have many types sharing the grass color:
But see my comment above re this PR's scope and general styling ideas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pastk so should we make a separate issue to try using fewer of the same/similar colors on overview zooms?
Yeap I suggest to do it separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @pastk are you able to merge yourself?
Nope, I don't have master merge permissions. |
@vng merge? |
@pastk let's rebase and merge it. Sorry for the delay. |
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
67af8a8
to
34cdfd9
Compare
Made scrubs ligher, than forests; parks lighter than scrubs. Grass is lighter than park still, but the difference is little now (which is fine IMO as parks are open-grassy often).
Grass, scrub, forest. And a park below.
A garden in the park.
Forest patches in the park.
Grass, forest, scrub patches in parks.. Note in the right park (with grass-only patches) the colors are much more similar now, which is fine IMO.
Didn't touch the vehicle style as extra vegetation detalisation is not needed there.