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

New landuse=farmland rendering color too close of amenity=hospital #1991

Closed
Penegal opened this issue Dec 4, 2015 · 41 comments · Fixed by #3412
Closed

New landuse=farmland rendering color too close of amenity=hospital #1991

Penegal opened this issue Dec 4, 2015 · 41 comments · Fixed by #3412

Comments

@Penegal
Copy link
Contributor

Penegal commented Dec 4, 2015

Hello, there.

I noticed a change in the color used to render landuse=farmland; I wasn't able to find references to this change in the last issues or pull requests, but it now seems too close of the amenity=hospital rendering to me: https://www.openstreetmap.org/#map=15/48.2899/6.1141 In this case, I was working on the landuses on this area, and I first thought I mis-modelled the landuses and mixed them with amenity=hospital. Improving the landuse=farmland rendering color, which was somewhat pinkish to me, was a good idea, but now I would say it became confusing.

Regards.

Edit: I found the corresponding pull request, #1701

@donaldrnoble
Copy link

As the same shade of yellow is used for schools and universities, it also affects them. And to me it seems more of an issue at lower zoom levels, even though the same colours are being used.

screen shot 2015-12-04 at 10 53 56
http://www.openstreetmap.org/#map=14/55.9084/-3.3080

@polarbearing
Copy link
Contributor

This could be solved if we eventually switch to boundary-rendering for amenities as in #1624.

@Vort
Copy link

Vort commented Dec 5, 2015

Also farmland now is one of the brightest things, attracting attention like it is the most important feature on the map.

@mboeringa
Copy link

As the same shade of yellow is used for schools and universities, it also affects them. And to me it seems more of an issue at lower zoom levels, even though the same colours are being used.

screen shot 2015-12-04 at 10 53 56
http://www.openstreetmap.org/#map=14/55.9084/-3.3080

Personally, looking at these two examples on my color calibrated screen, I see no real problem. The distinction in colour is still clearly visible, and the amenities stick out by their prominent - impossible to miss - labelling and icons.

This could be solved if we eventually switch to boundary-rendering for amenities as in #1624.

+ 1, for quite a lot of amenities, if not all, this would be appropriate (exception of course for additionally tagged as building). In fact, I have done this for many of these features in my personal ArcGIS renderer.

@imagico
Copy link
Collaborator

imagico commented Dec 5, 2015

On a general note: with changes like this which have a huge influence on the overall impression of the map - we had similar changes like those of wood and grass colors before - it is always good to take a few days to let it settle and try to look at it without bias. Being used to the old rendering we tend to have a more negative impression of changes because they are less intuitive to us at first.

That being said - yes, similarity to hospital/education is strong but there is not much room here. In the process (#1701, #1691) several options were considered and each of them has its problems. So those who are dissatisfied with the new color should think in alternatives and try out if these are really better overall - not only with respect to hospital/education but also to other similar colors.

Here is the current area color set so you can see the various problems:

area colors

My current opinion is i like the new color, especially since it encourages mapping other things than farmland. In the sample area shown above for example urban landuses are largely missing which is well visible as a problem. With the previous color urban areas not mapped with landuse were actually better visible than with which essentially discouraged proper mapping. The new color looks much more pleasant with fine grained farmland mapping and less so with coarse large farmland polygons which is just the right direction.

I would probably consider improving contrast with hospital/education to be more a matter of tuning that color than of modifying farmland.

@Vort
Copy link

Vort commented Dec 5, 2015

All yellow-orange group can be balanced I think.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Dec 5, 2015

Somebody has already proposed farmland color tuning with #faebd7 (Antique white). I can even make a mockups, but I just don't know how to calculate @farmland-line.

@Vort
Copy link

Vort commented Dec 5, 2015

1/255 of intensity is not a big change.

@matthijsmelissen
Copy link
Collaborator

I just don't know how to calculate @farmland-line.

I don't think we have a systematic way to calculate that, I'd say just do what looks nice :)

Now the farmlands are brighter, I think grass should be brighter too, at least at low zoom: http://www.openstreetmap.org/#map=14/51.8470/4.2284

@imagico
Copy link
Collaborator

imagico commented Dec 5, 2015

Now the farmlands are brighter, I think grass should be brighter too, at least at low zoom

I was thinking about swapping campsite and grass colors although the resulting difference between grassland and heath seems somewhat large.

In general it seems the fairly ugly appearance of the Netherlands at z10/11 is mostly due to the distorting color mixing and not due to the actual colors chosen.

@matthijsmelissen
Copy link
Collaborator

the distorting color mixing

What do you mean with that?

@imagico
Copy link
Collaborator

imagico commented Dec 5, 2015

The old Mapnik/AGG issue with pixels partially covered by multiple polygons that also causes the gaps. Illustrated this in the context of gamma tuning in #1117.

AGG renders by drawing one polygon after the other and if multiple polygons intersect the same pixel it does not remember which part of the pixel was covered by the first polygon when drawing the second. Therefore the rendered color at low zooms where most pixels are mixed color from several polygons is quite far from the color that would correspond to the actual coverage fractions of the pixel.

@Tomasz-W
Copy link

Tomasz-W commented Sep 3, 2018

@kocio-pl It's resolved by #3327, please close.

Edit: I didn't understand that PR properly.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Sep 3, 2018

Are you sure? We just switched colors basically.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Sep 3, 2018

See the example area with new colors - the problem is with both colors being similar and not one big area for school and the other one for the farmland, they're both mixed a bit:

_tkhpguz

@Tomasz-W
Copy link

Tomasz-W commented Sep 3, 2018

I think that adding outlines for these campuses would fix it.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Sep 3, 2018

What do you mean more precisely?

@Tomasz-W
Copy link

Tomasz-W commented Sep 3, 2018

Showing amenity area borders (above the landcover) may clear the mixed view a little bit.

@Tomasz-W
Copy link

Tomasz-W commented Sep 3, 2018

I find previous farmland colour to dark for using it for amenity fill. Please see examples how bad (too prominent) it will look in urban areas.

I did some Photoshop mock-ups with lighter (what makes it more neutral) #FFFAF2. Please spotlight matching of both colours with parking areas which are very frequent on amenity areas. I think that #FFFAF2 matches with them better.

University area mixed with farmland (farmland colour)
44976223-e3e7a680-af64-11e8-8c64-4ce2f9dbadec
University area mixed with farmland (#FFFAF2)
a1-2
City example (farmland colour)
a2-1
City example (#FFFAF2)
a2-2
Hospital area (farmland colour)
a3-1
Hospital area (#FFFAF2)
a3-2

What do you think about it?

@kocio-pl
Copy link
Collaborator

kocio-pl commented Sep 4, 2018

I don't feel convinced, however I still don't like this bright peach color and prefer to tune it eventually. #FFFAF2 is too close to the land color, there's no visible difference for me:

@land-color: #f2efe9;

@Tomasz-W
Copy link

Tomasz-W commented Sep 4, 2018

Just as my free tests for reference point and compare - the same amenity fill with #eeeeee (parking colour) as land colour.

amenity
amenity2

@Tomasz-W
Copy link

Tomasz-W commented Sep 21, 2018

Further amateur Photoshop tests, this time with a little bit yelowish #FFFCED (I started playing with former parking fill colour and makie it more pale)

amenity1
amenity2
amenity3

I think it's not too close to farmland colour (see example no. 1) and not too close to land colour (see example no. 2). I see it also not too pale and not too bright. @kocio-pl What do you think?

@kocio-pl
Copy link
Collaborator

Looks nice for me - if it will work, I would be happy to use it instead of this peach bright orange...

@Tomasz-W
Copy link

Tomasz-W commented Sep 22, 2018

@Adamant36 Can you make some more normal test renderings (including well-mapped-areas, isolated amenity areas, amenity areas surrounded by different landcover etc.) with #FFFCED?

@Adamant36
Copy link
Contributor

Adamant36 commented Sep 22, 2018

@Tomasz-W, yeah sure. I was actually just thinking about doing that. It already looks like a really good color.

@Tomasz-W
Copy link

Tomasz-W commented Sep 22, 2018

Btw. @Penegal or @kocio-pl you can swich tags in issue name as it's not up to date and we'are working on amenity=* fill colour, so it may confuse people ;)

@kocio-pl
Copy link
Collaborator

Why? It's still true. Or I miss something?

@Tomasz-W
Copy link

Tomasz-W commented Sep 22, 2018

This name suggest a little bit that we are working on landuse=farmland colour, but we are working rather on amenity=hospital colour.

@kocio-pl
Copy link
Collaborator

I don't see the problem - they are still too close and we can fix it in multiple ways.

@Adamant36
Copy link
Contributor

Adamant36 commented Sep 23, 2018

By "going with" I mean testing. Wait, never mind. I saw it up there in your message about it. #FFFCED. My bad.

@Adamant36
Copy link
Contributor

download
download 1
download 2
download 3
download 4
download 5
download 6
download 7
download 8
download 9
download 10
download 11
download 12
download 13
download 14
download 15
download 16

@Tomasz-W
Copy link

I'm very satysfied with this colour, but I would like to see one more test rendering with beach area.
Example place: https://www.openstreetmap.org/way/612755411

@Adamant36
Copy link
Contributor

download 17
Looks really good.

@Adamant36
Copy link
Contributor

Should I do a PR for it?

@kocio-pl
Copy link
Collaborator

Yes, I think so.

@Tomasz-W
Copy link

@Adamant36 Where is the PR for this issue? Or I don't know something and it's needless here?

@Adamant36
Copy link
Contributor

@Tomasz-W, sorry. I was working on it a while ago, but I had to reload Docker and Kosmtik for some reason. Unfortunately, its been stuck at re-importing the shape file for like an hour. Its in the process though. So hopefully I can do it any minute now.

@matthijsmelissen
Copy link
Collaborator

Can we close this issue now?

@kocio-pl
Copy link
Collaborator

PR fixing it is on the way, but it's not done yet.

@dktue
Copy link

dktue commented Oct 19, 2018

Now that this is online I don't really like it. The contrast with buildings is just too high, it hurts in the eye.

@Adamant36
Copy link
Contributor

Adamant36 commented Oct 20, 2018

@dktue, it could be darkened a little. That might put it to close to other colors though, like farmland. Its kind of reached the point where there isn't any colors left to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.