This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Give Streets Colors That Represent A Data Set

0

Hello. I'm interested in customizing the streets that can be color coded based on a set of values that I assign. For example, a 1 mile street named 1st street intersects with another 2 mile street called 2nd street. 1st street will be colored BLUE for the first 1/2 mile, and then will change to GREEN for the other half, which is the part of the street that intersects 2nd street. What I'm trying to do is very similar to what google maps does by coloring road/road-sections in relation to the level of traffic on that specific part of the road. I pasted an example of Google Maps traffic congestion data visualization.alt text

asked 31 Dec '19, 05:41

Enshin's gravatar image

Enshin
11113
accept rate: 0%

edited 31 Dec '19, 05:49

Source code available on GitHub .