Skip to main content
Ctrl+K

AequilibraE 1.0.1

  • Getting started
  • Examples
  • Modeling with AequilibraE
  • API Reference
  • Validation & Benchmarking
    • Developing
    • History
  • GitHub
  • Getting started
  • Examples
  • Modeling with AequilibraE
  • API Reference
  • Validation & Benchmarking
    • Developing
    • History
  • GitHub

Section Navigation

  • aequilibrae.Project
  • aequilibrae.project.About
  • aequilibrae.project.FieldEditor
  • aequilibrae.project.Log
  • aequilibrae.project.Matrices
  • aequilibrae.project.Network
  • aequilibrae.project.Zoning
  • aequilibrae.project.Zone
  • aequilibrae.project.network.Modes
  • aequilibrae.project.network.LinkTypes
  • aequilibrae.project.network.Links
  • aequilibrae.project.network.Nodes
  • aequilibrae.project.network.Mode
  • aequilibrae.project.network.LinkType
  • aequilibrae.project.network.Link
  • aequilibrae.project.network.Node
  • aequilibrae.Parameters
  • aequilibrae.distribution.Ipf
  • aequilibrae.distribution.GravityApplication
  • aequilibrae.distribution.GravityCalibration
  • aequilibrae.distribution.SyntheticGravityModel
  • aequilibrae.matrix.AequilibraeData
  • aequilibrae.matrix.AequilibraeMatrix
  • aequilibrae.paths.Graph
  • aequilibrae.paths.TransitGraph
  • aequilibrae.paths.AssignmentResults
  • aequilibrae.paths.TransitAssignmentResults
  • aequilibrae.paths.SkimResults
  • aequilibrae.paths.PathResults
  • aequilibrae.paths.VDF
  • aequilibrae.paths.TrafficClass
  • aequilibrae.paths.TransitClass
  • aequilibrae.paths.TrafficAssignment
  • aequilibrae.paths.TransitAssignment
  • aequilibrae.transit.Transit
  • aequilibrae.transit.TransitGraphBuilder
  • API Reference
  • aequilibrae....

aequilibrae.project.network.Links#

class aequilibrae.project.network.Links(net)[source]#

Access to the API resources to manipulate the links table in the network

>>> from aequilibrae import Project

>>> proj = Project.from_path("/tmp/test_project")

>>> all_links = proj.network.links

# We can just get one link in specific
>>> link = all_links.get(1)

# We can save changes for all links we have edited so far
>>> all_links.save()
__init__(net)[source]#

Methods

__init__(net)

copy_link(link_id)

Creates a copy of a link with a new id

delete(link_id)

Removes the link with link_id from the project

extent()

Queries the extent of the layer included in the model

get(link_id)

Get a link from the network by its link_id

new()

Creates a new link

refresh()

Refreshes all the links in memory

refresh_fields()

After adding a field one needs to refresh all the fields recognized by the software

save()

Attributes

data

Returns all links data as a Pandas dataFrame

fields

Returns a FieldEditor class instance to edit the zones table fields and their metadata

sql

Query sql for retrieving links

previous

aequilibrae.project.network.LinkTypes

next

aequilibrae.project.network.Nodes

On this page
  • Links
    • Links.__init__()
Show Source

© Copyright 2024-02-25, AequilibraE developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.15.2.