-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaccessibility_style.mapcss
105 lines (96 loc) · 3.6 KB
/
accessibility_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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
meta
{
title: "Mapping Accessibility";
description: "Mappatura dell'accessibilità";
version: "2.[[revision]]_[[date]]";
author: "LorenzoStucchi";
link: "https://wiki.openstreetmap.org/wiki/User:LorenzoStucchi/ViaLibera";
icon: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility.png";
watch-modified: true;
}
/* Style preset for kerbs */
node|z16-[kerb = flush][tactile_paving != yes]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_green.png";
icon-width: 15;
}
node|z16-[kerb = flush][tactile_paving = yes]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_lime.png";
icon-width: 15;
}
node|z16-[kerb = lowered]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_orange.png";
icon-width: 15;
}
node|z16-[kerb = raised]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/kerb_red.png";
icon-width: 15;
}
node|z16-[kerb]::background{
symbol-shape: circle;
symbol-size: 13;
symbol-fill-color: #FFFFFF;
symbol-fill-opacity: 0.9;
z-index: -5;
}
/* Style preset for barriers obstacle for wheelchair */
node|z16-[obstacle:wheelchair = yes]::obstacle{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/danger_wheelchair.png";
icon-width: 15;
icon-opacity: 0.6;
}
/* Style preset for parking space reserved */
*|z16-[amenity = parking_space][disabled = designated]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
icon-width: 12;
}
*|z16-[amenity = parking_space][parking_space = disabled]{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/wheelchair_parking.png";
icon-width: 12;
}
/* Style preset for wheelchair accessibility */
node|z16-[wheelchair = yes]::wheelchair, area|z16-[wheelchair = yes]::wheelchair{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_green.png";
icon-width: 15;
icon-offset-x: -20;
}
node|z16-[wheelchair = limited]::wheelchair, area|z16-[wheelchair = limited]::wheelchair{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
icon-width: 15;
icon-offset-x: -20;
}
node|z16-[wheelchair = half]::wheelchair, area|z16-[wheelchair = half]::wheelchair{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_orange.png";
icon-width: 15;
icon-offset-x: -20;
}
node|z16-[wheelchair = no]::wheelchair, area|z16-[wheelchair = no]::wheelchair{
icon-image: "https://github.com/LorenzoStucchi/accessibility_JOSM_preset/raw/master/symbols/accessibility_red.png";
icon-width: 15;
icon-offset-x: -20;
}
/* Style preset for sidewalk */
way|z14-[footway = sidewalk]{
z-index: 10;
color: darkorange;
width: 3;
dashes: 10, 6;
}
/* Style preset for crossing */
way|z14-[footway = crossing], way|z14-[cycleway = crossing], way|z14-[path = crossing]{
z-index: 10;
color: gold;
width: 6;
dashes: 4, 4;
}
node|z14-[footway = crossing]{
icon-image: "presets/transport/way/dedicated_footway.svg";
icon-width: 15;
}
node|z14-[cycleway = crossing]{
icon-image: "presets/transport/way/dedicated_cycleway.svg";
icon-width: 15;
}
node|z14-[path = crossing]{
icon-image: "presets/transport/way/combined_foot_cycleway.svg";
icon-width: 15;
}