derhuerst/match-gtfs-rt-to-gtfs

matching: option to configure tolerable time differences

Open

#4 创建于 2021年10月22日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (1 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (5 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

With some realtime data sources (such as some HAFAS endpoints) and some GTFS datasets, there are minor discrepancies between the realtime data and the plan data, e.g. 1m for a departure of a specific trip.

We could introduce an option to allow such time differences when matching.

  • In the respective SQL queries, the time range would have to include the tolerance.
  • There should be logic in JS that fails if there are >1 matches, because in these cases, the matching can be wrong.

as reported by @hbruch

贡献者指南