Key:sl_realtime

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Key:sl realtime
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Baso Minangkabau · bosanski · brezhoneg · català · čeština · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · português do Brasil · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް
Public-images-osm logo.svg sl_realtime
Osm element key.svg
Description
Real time information about traffic linking to Stockholm Public transport real time information.
Group: Railways
Used on these elements
use on nodes unspecifieduse on ways unspecifieduse on areas unspecifieduse on relations unspecified
Status: Draft

Currently not working, the scheme has changed see 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 (XML, Potlatch2, iD, JOSM, history) 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.