Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep extended route types in RouteType deserializer #110

Open
Naturseptime opened this issue Dec 18, 2021 · 0 comments
Open

Keep extended route types in RouteType deserializer #110

Naturseptime opened this issue Dec 18, 2021 · 0 comments

Comments

@Naturseptime
Copy link

When reading GTFS data many of the extended route types are converted to old route types (e.g. 109 Suburban Railway -> 2 Rail). This leads to a loss of relevant information which cannot be recovered by the library user afterwards. I suggest to always keep the extended route type in the Route struct and add an extra function like old_route_type for compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant