aequilibrae.transit.transit_elements.route#

Classes

Route(agency_id)

Transit route element to feed into Transit_routes

class aequilibrae.transit.transit_elements.route.Route(agency_id)[source]#

Transit route element to feed into Transit_routes

  • route_id (str): ID of this route, starting with the agency prefix ID

  • route_short_name (str): Short name as found in the GTFS feed

  • route_long_name (str): Long name as found in the GTFS feed

  • route_desc (str): Route description as found in the GTFS feed

  • route_type (int): Route type (mode) for this transit link

  • route_url (str): Route URL as found in the GTFS feed

  • route_color (str): Route color for mapping as found in the GTFS feed

  • route_text_color (str): Route color (text) for mapping as found in the GTFS feed

  • route_sort_order (int): Route rendering order as found in the GTFS feed

  • agency_id (str): Agency ID

  • pce (float): Vehicle PCE for this route

  • seated_capacity (float): Vehicle seated capacity for this route

  • total_capacity (float): Total vehicle capacity for this route

from_row(data: Series)#
populate(record: tuple, headers: list) None[source]#
save_to_database(conn: Connection, commit=True) None[source]#

Saves route to the database

property data#