forked from zephyr-data-specs/GMNS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlane.schema.json
81 lines (81 loc) · 3.56 KB
/
lane.schema.json
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
{
"primaryKey": "lane_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
}
],
"fields": [
{
"name": "lane_id",
"type": "any",
"description": "Primary key",
"constraints": {
"required": true
}
},
{
"name": "link_id",
"type": "any",
"description": "Required. Foreign key to link table.",
"constraints": {
"required": true
}
},
{
"name": "lane_num",
"type": "integer",
"description": "Required. e.g., -1, 1, 2 (use left-to-right numbering). By convention, the left-most through lane is 1. Left-turn lanes have negative numbers",
"constraints": {
"required": true,
"minimum": -10,
"maximum": 10
}
},
{
"name": "allowed_uses",
"type": "string",
"description": "Optional. Set of allowed uses that should appear in either the use_definition or use_group tables; comma-separated."
},
{
"name": "r_barrier",
"type": "string",
"description": "Optional. Whether a barrier exists to prevent vehicles from changing lanes to the right.<br>- `none` (the default). Indicates that a vehicle can change lanes, provided that the vehicle-type is permitted in the destination lane<br>- `regulatory`. There is a regulatory prohibition (e.g., a double-white solid line) against changing lanes, but no physical barrier<br>- `physical`. A physical barrier (e.g., a curb, Jersey barrier) is in place.",
"categories": [
"none",
"regulatory",
"physical"
]
},
{
"name": "l_barrier",
"type": "string",
"description": "Optional. Whether a barrier exists to prevent vehicles from changing lanes to the right.<br>- `none` (the default). Indicates that a vehicle can change lanes, provided that the vehicle-type is permitted in the destination lane<br>- `regulatory`. There is a regulatory prohibition (e.g., a double-white solid line) against changing lanes, but no physical barrier<br>- `physical`. A physical barrier (e.g., a curb, Jersey barrier) is in place.",
"categories": [
"none",
"regulatory",
"physical"
]
},
{
"name": "width",
"type": "number",
"description": "Optional. Width of the lane, short_length units.",
"constraints": {
"minimum": 0
}
}
],
"name": "lane.schema.json",
"description": "The lane file allocates portions of the physical right-of-way that might be used for travel. It might be a travel lane, bike lane, or a parking lane. Lanes only are included in directed links; undirected links are assumed to have no lane controls or directionality. If a lane is added, dropped, or changes properties along the link, those changes are recorded on the `segment_link` table. Lanes are numbered sequentially, starting at either the centerline (two-way street) or the left shoulder (one-way street or divided highway with two centerlines).",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}