Download Manual - Via

Transcript
Appendix A. Configuration
A.3
Setting Colors based on Attribute Values
Via allows in many places to set colors based on attribute values, e.g. for vehicles or transit stops. The way
the colors can be set depends on the type of attribute values, whether they are numerical values or not.
For non-numerical values, a pattern-matching approach is available where the asterisk (’*’) acts as wildcard character, matching any number of any other characters. This can be used for example to match any
link in a network containing the mode walk by using the pattern *walk*.
For numerical values, different colors can be assigned to specific values. Then, for values inbetween, the
color can either be interpolated or not. If the colors are not interpolated, the specified values typically act
as the lower boundary for the color specified, only with the exception of the smallest value whose color is
also used for values smaller than it.
Figure A.1: Colors used depending on values are interpolated or not.
42