9.1.2. aequilibrae.Network

class aequilibrae.Network(project)

Bases: object

Network class. Member of an AequilibraE Project

__init__(project)

Instantiates the network with the project it is member of

Args:

project (Project): Project

Methods

__init__(project)

Instantiates the network with the project it is member of

add_spatial_index()

Adds spatial indices to links and nodes table

add_triggers()

Adds consistency triggers to the project

build_graphs()

Builds graphs for all modes currently available in the model

count_centroids()

Returns the number of centroids in the model

count_links()

Returns the number of links in the model

count_nodes()

Returns the number of nodes in the model

create_empty_tables()

Creates empty network tables for future filling

create_from_osm([west, south, east, north, …])

Downloads the network from Open-Street Maps

modes()

Returns a list of all the modes in this model

set_time_field(time_field)

Set the time field for all graphs built in the model

skimmable_fields()

Returns a list of all fields that can be skimmed

Attributes

protected_fields

req_link_flds

req_node_flds

__init__(project)

Instantiates the network with the project it is member of

Args:

project (Project): Project