google / google/transit

Fare leg duration

Open
#552 1 comment 0 reactions 0 assignees View on GitHub
Change type: Functional Discussion Period GTFS Schedule GTFS-Fares Status: Stale
Dominant language
No language data
Stars
1.1k
Forks
225
Avg merge
7d 17h
Merged PRs (30d)
3

Description

### Describe the problem

I should be able to set a duration limit for a fare leg. A lot of transport networks limit how long you can stay in the network for a single fare validation.

### Use cases

I would like to avoid the journey planner suggesting fares which will run afoul of the time limit.

### Proposed solution

Add `duration_limit` to fare_leg_rules.txt which can be used to specify the maximum duration a fare leg can take.

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.