Skip to content
Fletcher Foti edited this page Nov 1, 2013 · 7 revisions

First read the readme of this project to get a general overview about what we're going to do in the documentation here. (This wiki will be fairly down in the weeds.)

Note there's an example of all of this in the UrbanSim Networks module.

Initialize

If you installed in the system directory, this will be:

from pyaccess.pyaccess import PyAccess
pya = PyAccess()

Set the number of graphs you will have - e.g. if you have a walking, transit, and auto network to use, you would specify "3". Most of the time just pass "1" here.

pya.createGraphs(numGraphs)

Create the Graph

Clone this wiki locally