forked from przemas75/OSM-permissions-preset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRestrictions.mapcss
56 lines (47 loc) · 1.51 KB
/
Restrictions.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
meta
{
title: "Restrictions";
description: "Road restrictions";
version: "1.1";
author: "przemas75";
min-josm-version: "5198";
}
node { symbol-shape: square; symbol-size: 2; symbol-stroke-color: #D3D3D3; symbol-stroke-opacity: 0.1; }
node:connection { symbol-shape: square; symbol-size: 2; symbol-stroke-color: #D3D3D3; symbol-stroke-opacity: 0.2; }
relation[building],way[building]:closed { width: 1; color: #D3D3D3; opacity: 0.1; fill-color: #D3D3D3; fill-opacity: 0.02; z-index: 0.2; }
way[highway=~/living_street|residential|service|track|unclassified|motorway|trunk|primary|secondary|tertiary/]
{ width: 2; color: #32CD32; dashes: 9, 13; right-casing-width: 3; right-casing-offset: +3; width: 8}
way[highway][vehicle=no]
{ left-casing-color: red; left-casing-width: 2; left-casing-offset: 2; }
way[highway]["motor_vehicle:conditional"]
{ color: #FF7F50; dashes: 9, 13; right-casing-width: 3; right-casing-offset: +3; width: 8}
way[highway][bicycle=no]::access_no_bicycle
{
color: #FF0000;
width: 2;
object-z-index:1.0
}
way[highway][bicycle!=no][bicycle]::access_bicycle
{
color: #b100ff;
width: 2;
object-z-index:1.0
}
way[highway][destination]::access_destination
{
color: #FAA460;
width: 2;
dashes: list(10,10);
z-index:1.0;
}
way[highway][goods]::access_goods
{
color: #FFFF00;
width: 2;
dashes: list(20,20);
z-index:1.0;
}
way[highway]
{
text: "name"; text-color: white; font-weight: bold; font-size: 16; text-offset-y: 8;
}