google / transit

https://gtfs.org/
Apache License 2.0
581 stars 177 forks source link

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

Open kostjerry opened 1 year ago

kostjerry commented 1 year ago

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.

derhuerst commented 1 year ago

Wouldn't it be possible to catch this case with a relatively straightforward validation script or rule in the GTFS Validator?

kostjerry commented 1 year ago

You're totally right from the perspective of the GTFS consumer. Nevertheless this approach could decrease data maintenance efforts for data producers.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It may be closed manually after one month of inactivity. Thank you for your contributions.