Improved www.ttss.krakow.pl
Jacek Kowalski
2018-06-03 fc8d60517033c7de6115d9d56bb43a8a7b279a3f
commit | author | age
896879 1 # TTSS KRK
JK 2
0782c8 3 This is a rewrite of http://www.ttss.krakow.pl/ website
JK 4 presenting predicted tram arrival times in Krakow.
896879 5
JK 6 Check https://mpk.jacekk.net/ for a live version.
7
7cbf51 8 Contact and suggestions: mpk_AT_jacekk.info
JK 9
61c1ee 10 [![Build Status](https://travis-ci.org/jacekkow/mpk-ttss.svg?branch=master)](https://travis-ci.org/jacekkow/mpk-ttss)
JK 11
896879 12 ## Differences
JK 13
14 * Presents tram delays.
15 * Lists lines passing through selected stop.
7cbf51 16 * Improved autocompletion.
JK 17
18 ## Usage
19
20 ### Changing language
21
22 You can change the interface language using the dropdown near "TTSS Kraków" header.
23 Currently only Polish (PL) and English (EN) translations are available.
24
25 ### Selecting the stop
26
27 Enter first letter of a stop name into the input field labeled as "Stop name".
28 Suggestions will be displayed in the dropdown located to the right.
29
30 Each name component is matched separately (case-insensitive), so:
31
32 - "ba" matches "Teatr Bagatela",
33 - "d g" matches "Dworzec Główny", "Dworzec Główny Tunel" and "Dworzec Główny Zachód",
34 - "aleja" matches "M1 Al. Pokoju" and "TAURON Arena Kraków Al. Pokoju",
35 - "święt" matches "Plac Wszystkich Świętych", "Św.Gertrudy" and "Św.Wawrzyńca".
36
37 When the selected suggestion in the dropdown matches the desired stop,
38 click the "Go" button or (alternatively) press the ENTER key.
39
40 ### Display
41
42 After selecting the stop, the following information are visible:
43
44 - Line - line number,
45 - Direction - final stop on the line,
46 - Time - predicted/scheduled departure time,
47 - Delay - calculated delay from the schedule.
48
49 Relative times (eg. 3 min) are real-time arrivals based on tram location data.
50 Absolute times (eg. 8:01) are scheduled departures, shown when the tram cannot be located.
51
52 To the left of the time is an icon representing the tram type:
53 ♿ - low-floor tram,
54 *♿ - partially low-floor tram,
55 ‐ - high-floor tram.
56 Hover over an icon to show the tooltip with tram identifier and vehicle type.
57
58 Rows have different background depending on the tram status:
59 - green - at the stop,
60 - white - en-route,
61 - yellow - delayed 4 or more minutes,
62 - red - delayed 10 or more minutes.
63
68aeb4 64 Clicking on the table row loads the schedule for the selected tram
JK 65 - listing next stops and predicted departure times for each one.
66
7cbf51 67 ### Auto-refresh
JK 68
69 The list is automatically updated every 20 seconds. It is possible to manually
70 reload the data using the "Refresh" button.
71
72 When an error occurs, automatic update is disabled and manual refresh is required.
73 This event is indicated by the red message box just over the stop name.
74
75 ### Bookmarks
76
77 Changing the language or selecting a stop causes the address to change.
78 You may bookmark the address to avoid entering the data each time.
896879 79
JK 80 ## License
81
82 Project is licensed under the BSD 3-Clause license.
83 Feel free to contribute!