Overview
The main workspace lives at /map. It combines a Mapbox-based editor, a Lines panel for route visibility and management, and optional AI-assisted planning tools. All your edits are reflected live on the map.
Map Basics
- Pan and zoom like any standard web map.
- Use the top-center toggles to show/hide overlays such as Population Density and Traffic.
- Switch tools in the top-center draw toolbar: Explore mode (browse), Select neighbourhoods, and Boundary drawing.
Tip: Use scroll-to-zoom on the map canvas. Hold Ctrl/Cmd and drag to rotate or tilt the view.
Lines Panel
The Lines panel (top-left) groups lines by mode: Subway/LRT, Streetcar, and Bus. Each section can be collapsed, and each route can be shown or hidden independently. Bus routes start collapsed and hidden by default.
- Collapse a section using its caret. Expand it to see individual routes.
- Show/Hide all routes in a section using the eye icon on the section header.
- Show/Hide a single route using the eye icon that appears when hovering a route row.
Add Stops to a Line
To add stations to an existing or custom line, select it from the Lines panel using the colored pill button on the left of the route row. The app will enter "add station" mode and prompt you to click the map.
- Click the line's colored pill button to start adding stations.
- Click anywhere on the map to drop a new station.
- Click "Done" in the banner to exit add-station mode.
- Use Undo/Redo in the bottom toolbar to revert recent edits.
Note: You can click an existing station to open its detail popup, which shows connections, population served, and AI-generated station analysis.
Neighbourhood Selection & Boundaries
- Use Select Neighbourhoods mode to click neighbourhood polygons and build context for planning.
- Use Boundary mode to draw a freeform polygon area of interest on the map.
- Selected neighbourhoods and boundaries are used as planning context in the AI council flow.
- Click a neighbourhood to view population density, traffic levels, and employment data.
Import & Export (GTFS)
Use the Import and Export GTFS buttons (top-right area of the map) to round-trip data between the editor and GTFS format.
AI Planning Council
The council is a structured multi-round discussion between specialized AI agents that propose and critique a route. It can stream route previews and produce a candidate line that you can further edit.
- Use "Generate Route" to start a new council run when you have enough context selected (neighbourhoods and/or boundary).
- Use "View Council" to reopen the council UI for the current session.
- When a proposed line is created, it appears as a custom line and is fully editable.
- Each AI agent focuses on a different lens: ridership, coverage, equity, transfers, and feasibility.
Tip: Select a few neighbourhoods before running the council to give the AI agents better spatial context for their proposals.
Roadmap
The following features are currently in active development: