Public Transport Line Diagram
Quick Access
By network and line number
You can access this service directly with an URL of the form
http://78.46.81.38/api/sketch-line?network=network&ref=ref
Full Access
A form with all possible parameters
Using style files
These style files allow to maintain a set of preferences. For example, an url like
http://78.46.81.38/api/sketch-line?style=wuppertal&network=network&ref=line number
will show you a diagram with German abbrevations, while
http://78.46.81.38/api/sketch-line?style=padua&network=network&ref=line number
would have Italian abbrevations. To edit the styles, type wuppertal or padua in the above box an click the button.
Opening hours
For the times of the week when the bus service is operational, the generator uses the tag opening_hours. These times manifest themselves in two ways:
- For every line which has operation times set, a text line operates ... is added below the line number.
- Connections are only shown between services that operate at a common time. I.e. a night bus doesn't appear on the list of correspondences for a service running only over the day.
The accepted format for opening_hours is as follows: Different entries are separated by colons. An entry consists of either a day (one of Mo, Tu, We, Th, Fr, Sa or Su) or a range of days (e.g. Mo-Fr), a blank and then a range of times in the format hh:mm-hh:mm. Times may not surpass midnight and day ranges may not surpass sunday. The timespans are considered additve. Some eaxmples:
- Mo-Fr 06:00-20:00: The service runs from monday to friday from 06h00 to 20h00.
- Mo-Su 06:00-20:00: The service runs daily from 06h00 to 20h00.
- Mo-Fr 00:00-24:00: The service runs 24 hours from monday to friday but not on the weekend.
- Mo-Su 21:00-24:00, 00:00-00:30; Su 07:00-10:00The service runs every evening from 21:00 to half past midnight and also on sunday mornings. Note that the timespan 21:00-00:30 has to be split.
- Mo-Fr 09:00-12:00, 15:00-18:00; We 09:00-12:00: This is the same as Mo-Fr 09:00-12:00, 15:00-18:00, because the wednesday is contained in Mo-Fr.
- Mo-Fr 09:00-12:00; Mo-Tu 15:00-18:00; Th-Fr 15:00-18:00. This service is not operational on wednesday afternoons.
Public Transport Line Map
Access By network and line number
You can access this service directly with an URL of the form
http://78.46.81.38/api/draw-line?network=network&ref=ref