-
Notifications
You must be signed in to change notification settings - Fork 55
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
GBFS problem: incorrectly composed path #731
Comments
can you please add a screenshot? |
Sure!
If you ever need to identify where the stations are, you can find them here: https://mobilille.fr/se-deplacer/vlille |
@pablohoch can you have a look please? |
This problem occurs because when the GBFS feed doesn't include the optional Maybe the best way to fix it is to assume that vehicles picked up at a station can only be returned at stations (unless specified otherwise using |
Perfect, thank you! |
Despite your update, I notice that the problem persists on my test instance after the update. I've noticed the change in the station name as indicated in the pull request, but the problem with the end of the route is still there. Obviously, you've tested with the GBFS stream I provided above, and there's no apparent problem? |
Hmmm, you're right - it's now broken again. It was working before, but other providers caused problems, so I had to change the geofencing code. Maybe I forgot to test the Lille feed again after these changes. I'll look into it, sorry! |
I forgot a check if there are no geofencing zones defined. With #735 it should work correctly for the Lille feed (and feeds like Call-a-Bike also still work): I'm not super happy with the logic (as described in #733), but it's the best I could come up with given that so many fields and files are optional in GBFS and the defaults are often not specified. Hopefully this works for most feeds... |
In my case, this correction works! Thank you for your work! |
I recently add the GBFS feed from the Lille metropolitan area. I notice that when a route is plotted, the first part of the route is well composed: starting from an address to the nearest bike station for my destination. But on arrival, on the last segment of the route, it asks me to drop the bike in the middle of nowhere, like a free-floating vehicle, when it should be returned to the station.
GBFS feed link: https://media.ilevia.fr/opendata/gbfs.json
Link to the development instance used: https://onboard-dev.mobilille.fr/
Example route : https://onboard-dev.mobilille.fr/api/v1/plan?time=2025-02-10T10%3A51%3A00.000Z&fromPlace=50.63151517666361%2C3.094756593937717%2C0&toPlace=50.6364924164736%2C3.0703012933901164%2C0&arriveBy=false&timetableView=true&pedestrianProfile=FOOT&preTransitModes=WALK,RENTAL,BIKE&postTransitModes=WALK,RENTAL,BIKE&directModes=WALK,RENTAL,BIKE&requireBikeTransport=true&transitModes=AIRPLANE,HIGHSPEED_RAIL,LONG_DISTANCE,NIGHT_RAIL,COACH,REGIONAL_FAST_RAIL,REGIONAL_RAIL,METRO,SUBWAY,TRAM,BUS,FERRY,OTHER
The text was updated successfully, but these errors were encountered: