Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Avoimen reittioppaan uudet rajapinnat
Search
Tuukka Hastrup
May 12, 2015
Technology
1
200
Avoimen reittioppaan uudet rajapinnat
Tapahtumassa ALPO 2015 (Avoimen lähdekoodin paikkatieto-ohjelmistot -seminaari)
Tuukka Hastrup
May 12, 2015
Tweet
Share
More Decks by Tuukka Hastrup
See All by Tuukka Hastrup
HSL OpenMaaS
tuukka
0
110
Open Data at Helsinki Region Transport HSL
tuukka
0
120
Digitransit – how to deploy 100% open journey planners
tuukka
0
150
Enabling personalised services in public transport
tuukka
0
420
Digitransit – fully open journey planner and passenger information platform
tuukka
0
260
Pyöräily ja kaupunkipyörät reittioppaan rajapinnoissa
tuukka
0
230
Realtime and general purpose open APIs at Digitransit
tuukka
0
360
100% Open Journey Planning Open source, open APIs, open data
tuukka
0
120
Reittiopas ja Digitransit-rajapinnat APIKAssa
tuukka
0
360
Other Decks in Technology
See All in Technology
いま注目しているデータエンジニアリングの論点
ikkimiyazaki
0
600
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
6
3.5k
【新卒研修資料】LLM・生成AI研修 / Large Language Model・Generative AI
brainpadpr
24
17k
Modern_Data_Stack最新動向クイズ_買収_AI_激動の2025年_.pdf
sagara
0
220
AI Agentと MCP Serverで実現する iOSアプリの 自動テスト作成の効率化
spiderplus_cb
0
500
Escaping_the_Kraken_-_October_2025.pdf
mdalmijn
0
140
多様な事業ドメインのクリエイターへ 価値を届けるための営みについて
massyuu
1
320
AIAgentの限界を超え、 現場を動かすWorkflowAgentの設計と実践
miyatakoji
0
140
about #74462 go/token#FileSet
tomtwinkle
1
360
10年の共創が示す、これからの開発者と企業の関係 ~ Crossroad
soracom
PRO
1
360
バイブコーディングと継続的デプロイメント
nwiizo
2
430
Azure SynapseからAzure Databricksへ 移行してわかった新時代のコスト問題!?
databricksjapan
0
140
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
890
RailsConf 2023
tenderlove
30
1.2k
Mobile First: as difficult as doing things right
swwweet
224
10k
4 Signs Your Business is Dying
shpigford
185
22k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Rails Girls Zürich Keynote
gr2m
95
14k
Automating Front-end Workflow
addyosmani
1371
200k
Docker and Python
trallard
46
3.6k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
Tuukka Hastrup 2015-05-12, ALPO-seminaari Avoimen reittioppaan uusien rajapintojen hyödyntäminen
1.Nykyiset rajapinnat 2.Tulevaisuus 3.Aikataulut ja reititys OTP 4.Push-rajapinta MQTT
Nykyisiä rajapintoja • Aikojen saatossa avattu palvelukohtaisia rajapintoja • HSL:n
viralliset: Reittiopas, Poikkeusinfo (XML), Omat lähdöt (SOAP), HSL Live (CSV) • HSL:n kokeilulliset: navigator-server (Faye/Bayeux, SIRI JSON) • VR:n Junat kartalla (GeoRSS, ei enää tarjolla?) • Liikenneviraston rata.digitraffic.fi
http://junat.dy.fi/liikenne/naytto/HKI
Avoimen reittioppaan uusia rajapintoja • Aikataulut ja reititys: OpenTripPlanner (JSON)
• Reaaliaikadata (SIRI JSON) • Push-rajapinta (MQTT, myös websocket) • Geokooderi (JSON) • Karttatiilet (rasteri- ja vektori)
Ajoneuvot kartalle
MQTT Esimerkkiviestin sisältö (JSON-muoto): {"tsi":1431417982,"spd":5,"lat":60.17052,"long":24.94359,"dl":52 ..} Aiherakenne (MQTT topic): /hfp/journey/type/id/line/direction/headsign/start_time/
next_stop/geohash Esimerkkiviestin aihe: /hfp/journey/bus/67bf46c0/1055/1/Koskela/1105/ 1020169/60;24/19/74/03 Esimerkkitilauksia: /hfp/journey/# (kaikki viestit) /hfp/journey/+/+/1055/1/# (linja 55 Koskelan suuntaan) /hfp/journey/+/+/+/+/+/+/+/60;24/19/# (geohash-karttaruutu)
None
None
Digitransit – uusi avoin reittiopas
None
Lähdekoodi (github.com/HSLdevcom) • openjourneyplanner-ui • openjourneyplanner-deploy: Ansible, Docker, Compose •
openjourneyplanner-geocoder: ElasticSearch • openjourneyplanner-map: map style for OpenStreetMap • navigator-server: Publish-subscribe for realtime data
Kiitos! Linkit: dev.hsl.fi matka.hsl.fi
[email protected]