Geolocating Fuel Stations Using Vehicle Telematics and BigQuery

As a Data Scientist Intern at Geotab, I developed a scalable SQL-based pipeline using Google BigQuery to identify gas station locations based on fuel level telemetry from millions of connected vehicles worldwide. By leveraging periodic reports of fuel levels from the OBDII-connected devices, I detected significant fuel level increases and combined them with geospatial coordinates. Using the DBSCAN clustering algorithm, I grouped these fuel fill events and applied rigorous filtering to remove false positives such as fleet depots and warehouses. The pipeline incorporated several custom thresholds and geographic heuristics to distinguish public gas stations. Ultimately, this enriched dataset was integrated into Geotab’s Infrastructure Telematics System (ITS), providing valuable information for city planners and fleet managers.

Explore with Tags