google / google/transit

GTFS-Fares v2: Improvement of filling with stops of a certain area

Open
#374 3 comments 0 reactions 0 assignees View on GitHub
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

It would be convenient to have possibility to bundle-fill the area.

Motivation: in Athens there are `airport` area and `urban` area. The `airport` area can be simply modeled by adding stops to the `stop_areas.txt`. The `urban` area contains all other stops of the city and there's a lot of such. Therefore if a provider adds some stops to the stops.txt in the `urban` zone he could miss to add them to the `stop_areas.txt` and it will fall to an issue.

I’m proposing to add new file `area_networks.txt` as many-to-many relation between `network_id` and `area_id`. This means that all stops of the routes marked by `network_id` will belong to the `area_id`.

Additionally I’m proposing to extend `stop_areas.txt` by `type` (with possible values `include` or `exclude`) which will defaults to `include`.

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.