Real-Time Vehicle Tracking with Neo4j, Databricks Lakebase and OpenStreetMap
This book builds a real-time fleet operations dashboard using three database systems:
- Neo4j Aura for the road network graph.
- Databricks Lakebase for live vehicle positions.
- Databricks Lakehouse for historical analytics.
Ten simulated vehicles move around a city following real road connections loaded from OpenStreetMap. Two Streamlit dashboards show live positions and analytics.
The primary demo uses the London Borough of Merton. Additional example configurations are provided for San Francisco and Singapore. The whole system is driven by a single YAML configuration file.
How the Code Is Organized
All runnable code lives in the code/ directory alongside config.yaml.
The chapter markdown files live in src/.
Notebooks are numbered to match the chapters – 02_road_network.ipynb corresponds to Chapter 2, and so on.