Route Matching
PostGIS supports route-aware matching.
Useful operations:
sql
ST_DWithin(...)
ST_Distance(...)
ST_Intersects(...)
ST_LineLocatePoint(...)
ST_LineSubstring(...)Track:
- pickup distance
- dropoff distance
- route overlap
- detour metres
- detour seconds
- detour percentage
Thresholds should be configuration-driven.
