Implementing a Kalman Filter in Postgres to Smooth GPS Data
How-to 5 min +50 XP
A Kalman Filter can run entirely inside Postgres to smooth noisy GPS tracks, with per-device state (estimate plus covariance matrix) kept in a devices table and a kalman_step SQL function applying predict/update steps that can use HDOP or speed.