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
190
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
110
Digitransit – how to deploy 100% open journey planners
tuukka
0
140
Enabling personalised services in public transport
tuukka
0
400
Digitransit – fully open journey planner and passenger information platform
tuukka
0
250
Pyöräily ja kaupunkipyörät reittioppaan rajapinnoissa
tuukka
0
210
Realtime and general purpose open APIs at Digitransit
tuukka
0
330
100% Open Journey Planning Open source, open APIs, open data
tuukka
0
100
Reittiopas ja Digitransit-rajapinnat APIKAssa
tuukka
0
350
Other Decks in Technology
See All in Technology
いつも初心者向けの記事に助けられているので得意分野では初心者向けの記事を書きます
toru_kubota
2
270
20250413_湘南kaggler会_音声認識で使うのってメルス・・・なんだっけ?
sugupoko
1
390
10分でわかるfreeeのQA
freee
1
12k
Android는 어떻게 화면을 그릴까?
davidkwon7
0
100
Lightdashの利活用状況 ー導入から2年経った現在地_20250409
hirokiigeta
2
270
IVRyにおけるNLP活用と NLP2025の関連論文紹介
keisukeosone
0
180
Micro Frontends: Necessity, Implementation, and Challenges
rainerhahnekamp
2
350
ソフトウェア開発現代史: "LeanとDevOpsの科学"の「科学」とは何か? - DORA Report 10年の変遷を追って - #DevOpsDaysTokyo
takabow
0
200
NLP2025 参加報告会 / NLP2025
sansan_randd
4
520
テキスト解析で見る PyCon APAC 2025 セッション&スピーカートレンド分析
negi111111
0
280
Amazon CloudWatch Application Signals ではじめるバーンレートアラーム / Burn rate alarm with Amazon CloudWatch Application Signals
ymotongpoo
5
310
7,000名規模の 人材サービス企業における プロダクト戦略・戦術と課題 / Product strategy, tactics and challenges for a 7,000-employee staffing company
techtekt
0
260
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
How STYLIGHT went responsive
nonsquared
99
5.5k
Optimising Largest Contentful Paint
csswizardry
36
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The Cult of Friendly URLs
andyhume
78
6.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Designing for humans not robots
tammielis
252
25k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Embracing the Ebb and Flow
colly
85
4.6k
Building Adaptive Systems
keathley
41
2.5k
Agile that works and the tools we love
rasmusluckow
328
21k
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]