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

Copy-paste from already published departing times #14

Open
mirelon opened this issue Nov 27, 2019 · 2 comments
Open

Copy-paste from already published departing times #14

mirelon opened this issue Nov 27, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@mirelon
Copy link

mirelon commented Nov 27, 2019

The operator usually has a webpage with departing times. What about inferring those intervals and periods from this data, instead of manually inferring?
E.g. in Slovakia we have timetables in this format:

04 | 50 |  
05 | 00 | 06 | 12 | 18 | 24 | 31 | 46 |  
06 | 01 | 16 | 31 | 46 |  
07 | 01 | 16 | 31 | 46 |  
08 | 01 | 31 |  
09 | 01 | 31 |  
10 | 01 | 31 |  
11 | 01 | 31 |  
12 | 01 | 31 |  
13 | 01 | 11 | 21 | 31 | 51 |  
14 | 11 | 21 | 31 | 41 | 51 |  
15 | 01 | 16 | 36 |  
16 | 01 | 31 |  
17 | 11 | 31 |  
18 | 01 | 41 |  
19 | 01 |  
20 | 01 |  
21 | 11 | 31 |  
22 | 11 | 33

I see many periods there with different intervals:
10 minutes (4:50 - 5:00)
6 minutes (5:00 - 5:24)
7 minutes (5:24 - 5:31)
15 minutes (5:31 - 8:01)
30 minutes (8:01 - 13:01)
...

It is too much work to figure those intervals manually.
If I were able to just copy-paste the data, it would be awesome.

@mirelon mirelon changed the title Copy-paste from already published hours Copy-paste from already published departing times Nov 27, 2019
@PanierAvide PanierAvide added the enhancement New feature or request label Nov 29, 2019
@PanierAvide
Copy link
Collaborator

Hello, thanks for you feedback. It seems to be a good idea to get this data and parse the syntax to get intervals.

@nlehuby
Copy link
Member

nlehuby commented Nov 30, 2019

Thank for your feedback @mirelon

If there is a common format for all Slovakia, it is a pretty cool idea.
But I'd rather have it in another tool, because I cannot see how we will be able to handle all the timetable formats in the world in one tool 🙍‍♀️

I had a similar use case and we create a spreadsheet with some formulas and remote control links to edit in JOSM: https://docs.google.com/spreadsheets/d/15OnibQP6qWxrVF-CSU0Pt1oKwoGjiqtPUWuEQPsQuXc/edit?usp=sharing
(this is actual data, please do not edit in OSM 😉 )

Here is the general process:

  • define the start and end times of the periods (morning peak hours, evening peak hours, and other surrounding off-peak periods). The vehicle fill level is a good indicator (full bus => peak hour) and can be used throughout the network.
  • calculate the frequency over each period by dividing the duration of the period by the number of departures observed (6 departures in 3 hours = one bus every 30 minutes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants