gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.55k stars 822 forks source link

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

Closed Penegal closed 6 years ago

Penegal commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

Vort commented 8 years ago

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

mboeringa commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

All yellow-orange group can be balanced I think.

kocio-pl commented 8 years ago

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 commented 8 years ago

1/255 of intensity is not a big change.

matthijsmelissen commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

the distorting color mixing

What do you mean with that?

imagico commented 8 years ago

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 commented 6 years ago

@kocio-pl It's resolved by https://github.com/gravitystorm/openstreetmap-carto/pull/3327, please close.

Edit: I didn't understand that PR properly.

kocio-pl commented 6 years ago

Are you sure? We just switched colors basically.

kocio-pl commented 6 years ago

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 commented 6 years ago

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

kocio-pl commented 6 years ago

What do you mean more precisely?

Tomasz-W commented 6 years ago

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

Tomasz-W commented 6 years ago

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 commented 6 years ago

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:

https://github.com/gravitystorm/openstreetmap-carto/blob/5fd79b7bfad1d895c543e52838c65657fcd9fe1a/style.mss#L6

Tomasz-W commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

Tomasz-W commented 6 years ago

@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 commented 6 years ago

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

Tomasz-W commented 6 years ago

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 commented 6 years ago

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

Tomasz-W commented 6 years ago

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 commented 6 years ago

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

Adamant36 commented 6 years ago

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

Adamant36 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

download 17 Looks really good.

Adamant36 commented 6 years ago

Should I do a PR for it?

kocio-pl commented 6 years ago

Yes, I think so.

Tomasz-W commented 6 years ago

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

Adamant36 commented 6 years ago

@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 commented 6 years ago

Can we close this issue now?

kocio-pl commented 6 years ago

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

dktue commented 6 years ago

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 commented 6 years ago

@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.