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

Add button to enable/disable flights in the web interface #786

Open
jbruechert opened this issue Jan 10, 2025 · 4 comments
Open

Add button to enable/disable flights in the web interface #786

jbruechert opened this issue Jan 10, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@jbruechert
Copy link
Collaborator

Flights can be very disruptive and replace all other routes due to being faster on paper. MOTIS currently cant't handle the transfer between eg. a train and an airport which takes long in practise.

Currently we have very little data for flights but it looks like that could change.

They should then be off by default.

@Altonss
Copy link
Collaborator

Altonss commented Jan 11, 2025

They should then be off by default.

I'm not sure this is a good idea. A lot of remote areas might only (or at least mainly) be accessible by flights. Turning flights off by default would result in no/not practical routing options for those areas.

We should rather fix the transfer problems, but I don't know how hard it is 🤔 What's the main issue there? Pedestrian routing or adding buffer transfer times for things like security checks?

@felixguendling
Copy link
Contributor

At the moment, the default setting is to not route transfers with pedestrian routing. So that's not an issue (for now).

The problem is time for boarding start (+-30min before takeoff), security checks, luggage, etc. Usually, the recommendation is to arrive 2h before (maybe a bit less if you don't have checkin luggage). So the footpath length between the bus stop and airport stop should probably be at least 1,5 hours.

  • In many cases, this can't be modelled in one dataset because flights and public transport come from different data sources which are only connected inside MOTIS. I guess one option would be to add 1,5h to every footpath going to or coming from stops with only flight routes.
  • If there's one dataset that contains both, the transfer has to be modelled in the transfers.txt file. Then we only have to make sure that MOTIS doesn't create any additional edges that are faster.

@Altonss
Copy link
Collaborator

Altonss commented Jan 11, 2025

  • I guess one option would be to add 1,5h to every footpath going to or coming from stops with only flight routes.

Wouldn't this look strange to the user, as it would display a very long walk time?

@felixguendling
Copy link
Contributor

I think that's more a matter of how to deal with this in the user interface. Maybe the API could annotate those footpaths with an additional flag that tells the UI to not display it as a pure footpath but rather a buffer for security checks, luggage checkin, boarding, etc. But overall this is probably what the user wants in terms of feasibility (is it realistic to take this trip).

@Altonss Altonss added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants