nilsnolde / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
170 stars 97 forks source link

[Isochrones] Use a color scale that is colorblind friendly #191

Open wcedmisten opened 1 year ago

wcedmisten commented 1 year ago

Description

What kind of feature you are suggesting?

Currently the isochrones demo uses a red-green color scale for the contours.

Unfortunately these colors are not very accessible for people who are colorblind, which affects around 8% of the male population.

Since the colors convey meaning (green = near, red = far), it would be great to use a color scheme that is more accessible for colorblind people.

Does it solve any problem?

Better understanding of the isochrones for colorblind people.

Proposed Solution

Personally I've used the Viridis color scale in my own projects for isochrones, but there are other color scales that are colorblind friendly.

Screenshots

image image

Additional information

https://blog.bioturing.com/2018/09/24/heatmap-color-scale/

chrstnbwnkl commented 1 year ago

Sounds like a meaningful enhancement to me. In your own project, you're using a grayscale base map though, whereas we're using the far more colorful standard Mapnik style. Would you mind giving it a shot to see how this would look like in combination?