-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.mapcss
101 lines (93 loc) · 2.07 KB
/
routes.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
meta { title: "Hiking and biking routes"; }
/*
- blåmerket sti: relation[network][operator*="DNT"] > way[trailblazed]
- turvei (skiltet, kommunal): relation[route][symbol=signposted][operator*="kommune"]
- veifar: relation[route=historic]
- natursti/skogsti: relation[route=hiking] < node[board_type=nature]
- kulturminnesti: relation[route=hiking] < node[board_type=history]
*/
relation[route=hiking] > way::trailblazed,
relation[route=foot] > way::trailblazed,
way[trailblazed?]::trailblazed,
way[marked_trail]::trailblazed
{
color:#D0006F;
width:7;
dashes:1,14;
linecap:round;
z-index:5;
}
way[trailblazed?]::trailblazed,
way[marked_trail=blue]::trailblazed
{
color:#0E3CCC;
}
way[symbol=T_beacon]::trailblazed,
way[marked_trail=T_beacon]::trailblazed
{
color:#d82d20;
}
relation[route][symbol=signposted]
> way[!trailblazed][!marked_trail]::trailblazed,
way[symbol=signposted]::trailblazed
{
color:#005862;
}
relation[route=historic][historic!=piste] > way::route,
way[highway][historic][historic!=piste]::route
{
color:#630;
width:6;
opacity:0.5;
z-index:-2;
}
/*
- sykkelruter: route=bicycle, network=[inrl]cn
- terrengsykkelritt: route=mtb, network=mtb
*/
relation[route=bicycle] > way::route
{
color:#8c0512;
width:6;
opacity:0.8;
z-index:-2;
}
relation[route=mtb] > way::route,
relation[route=bicycle][network=mtb] > way::route,
way[mtb=designated]::route
{
color:#678e2a;
width:6;
opacity:0.6;
z-index:-2;
text:auto;
text-offset:6;
text-color:#678e2a;
font-size:10;
}
/*
- sykkelrestriksjoner: bicycle=no/dismount
*/
way[highway][bicycle=dismount],
way[highway][bicycle=no],
way[highway][bicycle=private],
way[highway][access=no],
way[highway][access=private],
way[highway=footway][bicycle!=yes],
way[highway][foot=designated],
way[highway=service][service=driveway],
way[highway=living_street],
way[highway=trunk][tunnel?],
way[highway=primary][tunnel?],
way[highway$=link],
way[highway=trunk][oneway?],
way[highway=motorway]
{
color:salmon;
}
area[leisure][bicycle=no],
area[boundary][bicycle=no]
{
fill-color:#009c00;
fill-opacity:0.1;
}