Skip to content

PeopleForBikes/brokenspoke-analyzer

Repository files navigation

Brokenspoke-analyzer

ci Latest Version License Code of Conduct

The Brokenspoke Analyzer is a tool allowing the user to run “Bicycle Network Analysis” locally.

Requirements

Quickstart

We recommend using Poetry for installing the tool and working in a virtual environment. Once you have Poetry set up:

git clone git@github.com:PeopleForBikes/brokenspoke-analyzer.git
cd brokenspoke-analyzer
poetry install

Activate the virtual environment in the cloned folder by using:

source .venv/bin/activate

The simplest way to run an analysis is to use docker compose.

bna run-with compose usa "santa rosa" "new mexico" 3570670

This command takes care of starting and stopping the PostgreSQL/PostGIS server, running all the analysis commands, and exporting the results.

The data required to perform the analysis will be saved in data/santa-rosa-new-mexico-usa, and the results exported in results/usa/new mexico/santa rosa/23.11.

For more details about the different ways to run an analysis and how to adjust the options, please refer to the full documentation.