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

How to select only train stations #1368

Open
Mark531 opened this issue Oct 24, 2024 · 2 comments
Open

How to select only train stations #1368

Mark531 opened this issue Oct 24, 2024 · 2 comments

Comments

@Mark531
Copy link

Mark531 commented Oct 24, 2024

Hello,

At first, I thought that this dataset only contained railway stations but in fact it's not the case. For instance, if you filter on Switzerland, there are 22347 rows while Switzerland only has around 1672 railway stations. It seems that most of the stations in the dataset are in fact bus stations. How can I filter them out?

Thanks in advance,
Mark

@fbarbe00
Copy link
Contributor

See #1073. I believe you can simply look at which stations have a uic code, although I am not sure.

@Mark531
Copy link
Author

Mark531 commented Oct 28, 2024

Citing @misdoro:

I'm afraid there is no reliable way to do that, we do not have such information.
One approach could be to check if the station has only busbud_id / distribusion_id / flixbus_id values defined, however this is not a reliable approach. For ex in Switzerland there will be multiple bus stops that are available through CFF.

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

2 participants