Skip to main content
Ctrl+K

AequilibraE

    • Main menu
    • The AequilibraE Project
    • Run module
    • Network manipulation
    • Distribution Procedures
    • Path Computation
    • Traffic Assignment
    • Public Transport
    • Route choice
    • Other Applications
  • Python
  • QGIS
  • GitHub
    • Main menu
    • The AequilibraE Project
    • Run module
    • Network manipulation
    • Distribution Procedures
    • Path Computation
    • Traffic Assignment
    • Public Transport
    • Route choice
    • Other Applications
  • Python
  • QGIS
  • GitHub

Section Navigation

  • aequilibrae
    • aequilibrae.context
    • aequilibrae.distribution
    • aequilibrae.log
    • aequilibrae.matrix
    • aequilibrae.parameters
    • aequilibrae.paths
    • aequilibrae.project
    • aequilibrae.reference_files
    • aequilibrae.transit
      • aequilibrae.transit.column_order
      • aequilibrae.transit.constants
      • aequilibrae.transit.date_tools
      • aequilibrae.transit.functions
        • aequilibrae.transit.functions.breaking_links_for_stop_access
        • aequilibrae.transit.functions.compute_line_bearing
        • aequilibrae.transit.functions.get_srid
      • aequilibrae.transit.gtfs_loader
      • aequilibrae.transit.gtfs_writer
      • aequilibrae.transit.lib_gtfs
      • aequilibrae.transit.parse_csv
      • aequilibrae.transit.route_map_matcher
      • aequilibrae.transit.route_system
      • aequilibrae.transit.route_system_reader
      • aequilibrae.transit.transit
      • aequilibrae.transit.transit_elements
      • aequilibrae.transit.transit_graph_builder
    • aequilibrae.utils
  • aequilibrae.transit.functions.breaking_links_for_stop_access

aequilibrae.transit.functions.breaking_links_for_stop_access#

Functions

split_links_at_stops(stops, links[, tolerance])

Breaks links at the closest points for the nodes (transit stops) nearby, within a certain tolerance.

aequilibrae.transit.functions.breaking_links_for_stop_access.split_links_at_stops(stops: GeoDataFrame, links: GeoDataFrame, tolerance: float = 50) → List[GeoDataFrame][source]#

Breaks links at the closest points for the nodes (transit stops) nearby, within a certain tolerance. New nodes are created at split points with IDs continuing from the maximum of the existing a_node and b_node values.

Parameters:
  • stops – GeoDataFrame of points

  • links – GeoDataFrame of linestrings. Must contain “a_node” and “b_node” columns.

  • tolerance – Search radius.

Returns:

A list containing two GeoDataFrames:
  • broken_links: The provided links where some have been split at stop locations. Contains updated “a_node”, “b_node”, and “geometry”. Original link attributes are preserved (duplicated for splits).

  • new_nodes: Point geometries representing the new nodes created at split locations, with IDs starting from start_node_id.

Return type:

List[GeoDataFrame]

On this page
  • split_links_at_stops()

This Page

  • Show Source

© Copyright 2026-02-13, AequilibraE developers.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.