-
Notifications
You must be signed in to change notification settings - Fork 16
/
node.schema.json
90 lines (90 loc) · 2.86 KB
/
node.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
82
83
84
85
86
87
88
89
90
{
"primaryKey": "node_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "zone_id",
"reference": {
"resource": "zone",
"fields": "zone_id"
}
},
{
"fields": "parent_node_id",
"reference": {
"resource": "",
"fields": "node_id"
}
}
],
"fields": [
{
"name": "node_id",
"type": "any",
"description": "Primary key",
"constraints": {
"required": true
}
},
{
"name": "name",
"type": "string",
"description": ""
},
{
"name": "x_coord",
"type": "number",
"description": "Coordinate system specified in config file (longitude, UTM-easting etc.)",
"constraints": {
"required": true
}
},
{
"name": "y_coord",
"type": "number",
"description": "Coordinate system specified in config file (latitude, UTM-northing etc.)",
"constraints": {
"required": true
}
},
{
"name": "z_coord",
"type": "number",
"description": "Optional. Altitude in short_length units."
},
{
"name": "node_type",
"type": "string",
"description": "Optional. What it represents (intersection, transit station, park & ride)."
},
{
"name": "ctrl_type",
"type": "string",
"description": "Optional. Intersection control type - one of ControlType_Set.",
"categories": [
"none",
"yield",
"stop",
"4_stop",
"signal"
]
},
{
"name": "zone_id",
"type": "any",
"description": "Optional. Could be a Transportation Analysis Zone (TAZ) or city, or census tract, or census block."
},
{
"name": "parent_node_id",
"type": "any",
"description": "Optional. Associated node. For example, if this node is a sidewalk, a parent_nodek_id could represent the intersection it is associated with."
}
],
"name": "node.schema.json",
"description": "A list of vertices that locate points on a map. Typically, they will represent intersections, but may also represent other points, such as a transition between divided and undivided highway. Nodes are the endpoints of a link (as opposed to the other type of vertex, location, which is used to represent points along a link)",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}