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
Introduction to Bill One Development Engineer
sansan33
PRO
0
300
RDS の負荷が高い場合に AWS で取りうる具体策 N 連発/a-series-of-specific-countermeasures-available-on-aws-when-rds-is-under-high-load
emiki
7
4.1k
能登半島災害現場エンジニアクロストーク 【JAWS FESTA 2025 in 金沢】
ditccsugii
0
900
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
200
Railsの話をしよう
yahonda
0
160
それでも私が品質保証プロセスを作り続ける理由 #テストラジオ / Why I still continue to create QA process
pineapplecandy
0
130
LLMアプリの地上戦開発計画と運用実践 / 2025.10.15 GPU UNITE 2025
smiyawaki0820
1
640
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
300
速習AGENTS.md:5分で精度を上げる "3ブロック" テンプレ
ismk
6
1.8k
Performance Insights 廃止から Database Insights 利用へ/transition-from-performance-insights-to-database-insights
emiki
0
310
Node.js 2025: What's new and what's next
ruyadorno
0
420
『バイトル』CTOが語る! AIネイティブ世代と切り拓くモノづくり組織
dip_tech
PRO
1
130
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Illustrated Children's Guide to Kubernetes
chrisshort
49
51k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Typedesign – Prime Four
hannesfritz
42
2.8k
4 Signs Your Business is Dying
shpigford
185
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Statistics for Hackers
jakevdp
799
220k
It's Worth the Effort
3n
187
28k
Done Done
chrislema
185
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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]