Skip to content

segment

segment

  • description A portion of a link defined by link_id,ref_node_id, start_lr, and end_lr. Values in the segment will override they value specified in the link table. When one segment is fully contained within another, its value prevails.
  • path segment.csv
  • schema
    • missingValues ['NaN', '']
    • primaryKey ['segment_id']
    • foreignKeys
    • [1]
      • fields ['link_id']
      • reference
      • resource link
      • fields ['link_id']
    • [2]
      • fields ['ref_node_id']
      • reference
      • resource node
      • fields ['node_id']
    • fieldsMatch subset
name type description constraints warnings categories
segment_id any Primary key. {'required': True}
link_id any Required. Foreign key to road_links. The link that the segment is located on. {'required': True}
ref_node_id any Required. Foreign key to node where distance is 0. {'required': True}
start_lr number Required. Distance from ref_node_id in short_length units. {'required': True, 'minimum': 0}
end_lr number Required. Distance from ref_node_idin short_length units. {'required': True, 'minimum': 0}
grade number % grade, negative is downhill {'maximum': 100, 'minimum': -100} {'maximum': 25, 'minimum': -25}
capacity number Optional. Saturation capacity (pce/hr/ln) {'minimum': 0}
free_speed number Optional. Free flow speed, units defined by config file {'minimum': 0, 'maximum': 200} {'minimum': 1, 'maximum': 120}
lanes integer Optional. Number of lanes in the direction of travel (must be consistent with link lanes + lanes added).
l_lanes_added integer Optional. # of lanes added on the left of the road link (negative indicates a lane drop).
r_lanes_added integer Optional. # of lanes added on the right of the road link (negative indicates a lane drop).
bike_facility string Optional. Types of bicycle accommodation based on the National Bikeway Network Data Template (Table 1-A at https://nmtdev.ornl.gov/assets/templates/NBN_DataTemplates_final.pdf) ['unseparated bike lane', 'buffered bike lane', 'separated bike lane', 'counter-flow bike lane', 'paved shoulder', 'shared lane', 'shared use path', 'off-road unpaved trail', 'other', 'none']
ped_facility string Optional. Type of pedestrian accommodation:unknown,none,shoulder,sidewalk,offstreet_path. ['unknown', 'none', 'shoulder', 'sidewalk', 'offstreet_path']
parking string Optional. Type of parking: unknown,none,shoulder,sidewalk,offstreet_path. ['unknown', 'none', 'shoulder', 'sidewalk', 'offstreet_path']
allowed_uses string Optional. Set of allowed uses that should appear in either the use_definition or use_group tables; comma-separated.
toll number Optional. Toll on the segment, in currency units.
jurisdiction string Optional. Optional. Owner/operator of the segment.
row_width number Optional. Width (short_length units) of the entire right-of-way (both directions). {'minimum': 0} {'minimum': 10}