-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjosm-radlkarte-style.mapcss
65 lines (57 loc) · 1.05 KB
/
josm-radlkarte-style.mapcss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
* radlkarte uses three attributes:
* priority=0|1|2 (mandatory)
* stress=0|1|2 (mandatory)
* oneway=yes (optional)
*/
/* stress: 0=calm, 1=medium, 2=stressful */
way[stress=0] {
opacity: 1;
color: #004B67;
}
way[stress=1] {
opacity: 1;
color: #51A4B6;
}
way[stress=2] {
opacity: 1;
color: #FF6600;
}
/* priority (level in route hierarchy): 0=main, 1=regional, 2=local */
way[priority=0] {
width: 12;
}
way[priority=1] {
width: 3;
}
way[priority=2] {
width: 3;
dashes: 5,5;
}
way[unpaved=yes] {
casing-width: 7;
casing-color: #00ff18;
casing-opacity: 0.75;
}
way[steep=yes] {
casing-width: 7;
casing-color: #ff00f0;
casing-opacity: 0.75;
}
way[fixme] {
casing-width: 7;
casing-color: #FF0;
casing-opacity: 0.5;
}
node[dismount=yes] {
icon-image: "presets/vehicle/restriction/bicycle.svg";
text: auto;
}
node[nocargo=yes] {
icon-image: "presets/vehicle/restriction/maxlength.svg";
text: auto;
}
node[warning=yes] {
icon-image: "warning-small.svg";
text: auto;
}