Travel demand studies produce trip records: origin zone, destination zone, purpose, mode, time of day. Weighted correctly, they represent how a region moves, not how a sample moved.
OD matrices aggregate flows between zones. PostGIS makes spatial joins and zone lookups set-based at metropolitan scale. Python orchestrates; the database computes.
Mode choice and assignment models sit downstream of clean trip tables. Garbage zone boundaries or inconsistent purpose codes propagate silently into policy recommendations.
Visualization for clients should show uncertainty, not false precision. Maps of weighted flows with clear legends beat 3D flythroughs that obscure methodology.
Reproducible pipelines from raw survey through weighting to published tables let studies be updated when new census controls arrive, without starting from scratch.