Link
A link that is part of the routing graph that specifies the geometry between two (2) nodes and an optional direction. A link is always connected to two nodes, a FromNode
and a ToNode
.
Attribute | Type | Description |
---|---|---|
Link | Array | Array of two node name (s) of Type String |
gml:id | String | Unique Identifier of links |
Direction | String | If a link can only be traversed in one direction, the optional direction attribute is published with values: Positive is from FromNode to ToNode , Negative is from ToNode to FromNode |
Example
{
"link" : ["P1470549_1", "P1507663_acc19005_1271445"],
"gml:id" : "L1470549_0"},
{
"direction" : "Positive",
"link" : ["P2488868_acc15000_2193632", "P1200412_25"],
"gml:id" : "L1200412_65"
},