Key:sl_realtime

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg sl_realtime
Description
Abandoned, see sl_stop_id instead. Real time information about traffic linking to Stockholm Public transport real time information. Show/edit corresponding data item.
Group: public transport
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Status: obsolete

Abandoned tag, the scheme has changed to use key:sl_stop_id

sl_realtime= real time information about traffic linking to Stockholm Public transport real time information. An example: osm node node 60875265 which contains data from the old version of the realtime scheme.

The new urls look like this, for the subway station Telefonplan

http://reseplanerare.sl.se/bin/stboard.exe/sn?L=vs_stb&input=Telefonplan%20(Stockholm)%23200102821&boardType=dep&productsFilter=0100000000


Usage


sources of realtime info from SL

Man kan inte ändra på "start=1"
Verkar använda cookies för att veta vad du har sökt.. behöver kolla mer.

Advanced

The urls can only be had by looking at the map available in the "reseplaneraren". The urls look like this, for the subway station Telefonplan

http://reseplanerare.sl.se/bin/stboard.exe/sn?L=vs_stb&input=Telefonplan%20(Stockholm)%23200102821&boardType=dep&productsFilter=0100000000

In the webinterface they also use this information:

  • K=vs_stb required no_clue
  • boardType= Can be arr' or dep default: dep
  • time=13:46 time in 24 hours
  • productsFilter= bitmask to show a specific way of travel: 0100000000==SUBWAY 0001000000==busses
  • additionalTime=0 no clue
  • maxJourneys=20 default is slightly less, not needed
  • start=yes not needed no clue
  • selectDate=today required
  • monitor=1 not needed no clue
  • requestType=[0|1|2] default is a HTML table, not needed
value can be:
0 = json with header info
1 = same as above without header info
2 = HTML table with same info as 0
  • view=preview not needed

This is for busses

http://reseplanerare.sl.se/bin/stboard.exe/sn?L=vs_stb&input=Telefonplan%20(Stockholm)%23200113065&boardType=dep&time=13:43&productsFilter=0001000000&additionalTime=0&maxJourneys=20&start=yes&selectDate=today&monitor=1&requestType=0&view=preview

This is for busses and subway

http://reseplanerare.sl.se/bin/stboard.exe/sn?L=vs_stb&input=Telefonplan%20(Stockholm)%23200113065&productsFilter=0001000000

History

  • The scheme that SL uses changed in April of 2010, shortly after the existing links where put there so they are currently outdated.