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

Platform numbers for SNCB/NMBS #88

Open
pietervdvn opened this issue Oct 1, 2019 · 3 comments
Open

Platform numbers for SNCB/NMBS #88

pietervdvn opened this issue Oct 1, 2019 · 3 comments

Comments

@pietervdvn
Copy link

We are starting to talk about using Itinero-transit commercially, but not having platform numbers is a bit of a deal breaker for that.

I know this is a bit of an issue, so I wanted to log this here and (re)start the effort to get the data.

@julianrojas87
Copy link
Contributor

It is an issue indeed. The main problem is the way NMBS publishes that data in the GTFS dump.

In the stops.txt file they do provide identifiers for individual platforms. They link them to the main station identifiers via the parent_station parameter. However, they do not use the platform ids in the stop_times.txt definitions. Instead, they provide a non-standard GTFS file called stop_times_overrides.txt which overwrites the stop ids of each trip with the platforms ids.

We could somehow parse this file while creating the Linked Connections but this will break the compatibility of the static Linked Connections with the live data provided via their GTFS-RT feed, as they do not include any platform information there. And even if we could align the static and live data feeds, this would become an ad-hoc solution for NMBS, which is not ideal.

@pietervdvn
Copy link
Author

For completeness:

In the stops-dataset, stations are given multiple times - once as they should be, once with a _1 suffix, where 1 is the platform number.

Also: some are duplicated with '00S' in the identifier.

@xivk
Copy link

xivk commented Oct 2, 2019

We understand the reluctance to have something NMBS-specific. Is there something we could build that can augment the GTFS-RT data before it is consumed and turned into LCs? This would stay compatible with any future enhancements in GTFS-RT by NMBS...

The platforms really are a deal breaker, anything that can enable us to have them, even scraping them somewhere, is acceptable to us.

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

3 participants