forked from dtemkin-volpe/GMNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocation.schema.json
75 lines (75 loc) · 2.82 KB
/
location.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
{
"primaryKey": "loc_id",
"missingValues": [
"NaN"
],
"fields": [
{
"name": "loc_id",
"type": "any",
"description": "Primary key. Location ID.",
"constraints": {
"required": true
}
},
{
"name": "link_id",
"type": "any",
"foreign_key": "link.link_id",
"description": "Required. Road Link ID. Foreign Key from Road_Link.",
"constraints": {
"required": true
}
},
{
"name": "ref_node_id",
"type": "any",
"foreign_key": "node.node_id",
"description": "Required. The From node of the link. Foreign Key from Node.",
"constraints": {
"required": true
}
},
{
"name": "lr",
"type": "number",
"description": "Required. Linear Reference of the location, measured as distance in short_length units along the link from the reference node. If link_geometry exists, it is used. Otherwise, link geometry is assumed to be a crow-fly distance from A node to B node.",
"constraints": {
"required": true,
"minimum": 0
}
},
{
"name": "x_coord",
"type": "number",
"description": "Optional. Either provided, or derived from Link, Ref_Node and LR."
},
{
"name": "y_coord",
"type": "number",
"description": "Optional. Either provided, or derived from Link, Ref_Node and LR."
},
{
"name": "z_coord",
"type": "number",
"description": "Optional. Altitude in short_length units."
},
{
"name": "loc_type",
"type": "string",
"description": "Optional. What it represents (driveway, bus stop, etc.) OpenStreetMap map feature names are recommended."
},
{
"name": "zone_id",
"type": "any",
"description": "Optional. Foreign Key, Associated zone"
},
{
"name": "gtfs_stop_id",
"type": "string",
"description": "Optional. Foreign Key to GTFS data. For bus stops and transit station entrances, provides a link to the General Transit Feed Specification."
}
],
"name": "location.schema.json",
"description": "A location is a vertex that is associated with a specific location along a link. Locations may be used to represent places where activities occur (e.g., driveways and bus stops). Its attributes are nearly the same as those for a node, except that the location includes an associated link and node, with location specified as distance along the link from the node."
}