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

Walking speed parameter has no effect #27

Open
Famondir opened this issue Dec 25, 2024 · 2 comments
Open

Walking speed parameter has no effect #27

Famondir opened this issue Dec 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Famondir
Copy link

Famondir commented Dec 25, 2024

Hi,
I just learned about your prohects in the talk you gave to BHT data science class. I'm working with your bvg api now. But it seems to ignore the parameter. And it gives longer traveling times than the app.

I tried calls like:
https://v6.bvg.transport.rest/journeys?walkingSpeed=slow&from.latitude=52.543333&from.longitude=13.351686&from.address=12623+Berlin&to=900014101&departure=tomorrow+2pm&results=2

I varied the position of the walkspeed argument. Didn't change anything.

@derhuerst derhuerst added the bug Something isn't working label Dec 29, 2024
@derhuerst
Copy link
Owner

derhuerst commented Dec 29, 2024

Thanks for reporting! This is a bug in hafas-client, on of the underlying libraries of bvg-rest.

I'll move this Issue to the hafas-client repo. I cannot transfer it there.

@derhuerst derhuerst self-assigned this Jan 6, 2025
@derhuerst
Copy link
Owner

I have fixed this in hafas-client as of public-transport/hafas-client@9dd6d2c. I still need to publish a new hafas-client release for the fix to end up in bvg-rest/v6.bvg.transport.rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants