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
220
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Avoimen reittioppaan uudet rajapinnat
Tapahtumassa ALPO 2015 (Avoimen lähdekoodin paikkatieto-ohjelmistot -seminaari)
Tuukka Hastrup
May 12, 2015
More Decks by Tuukka Hastrup
See All by Tuukka Hastrup
HSL OpenMaaS
tuukka
0
130
Open Data at Helsinki Region Transport HSL
tuukka
0
160
Digitransit – how to deploy 100% open journey planners
tuukka
0
160
Enabling personalised services in public transport
tuukka
0
460
Digitransit – fully open journey planner and passenger information platform
tuukka
0
270
Pyöräily ja kaupunkipyörät reittioppaan rajapinnoissa
tuukka
0
240
Realtime and general purpose open APIs at Digitransit
tuukka
0
400
100% Open Journey Planning Open source, open APIs, open data
tuukka
0
130
Reittiopas ja Digitransit-rajapinnat APIKAssa
tuukka
0
400
Other Decks in Technology
See All in Technology
インフラと開発の垣根を超えていき!〜元AWSインフラエンジニアがAWS開発で奮闘している話〜
hatahata021
3
350
凡エンジニアがこの先生きのこるためには。〜TypeScript完全に理解したい〜
alchemy1115
2
360
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
360
LLMやAIエージェントをソフトウェアに組み込むプラクティス
shibuiwilliam
2
440
Kaggleで成長するために意識したこと
prgckwb
2
430
ガバナンスの「ちょうどいい落とし所」を探れ!開発スピードを妨げない運用判断の勘所 / SRE NEXT 2026
genda
1
270
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
350
生成AI×AWS CDK×AWS FISで"振り返れる"ミニGameDayをつくろう
yoshimi0227
2
480
Genie Ontologyは銀の弾丸かを考える / Is Genie Ontology a Silver Bullet?
nttcom
0
420
第67回コンピュータビジョン勉強会CVPR2026読会前編
tsukamotokenji
0
160
“それは自分の仕事じゃない"を越えて行け
yuukiyo
1
500
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Technical Leadership for Architectural Decision Making
baasie
3
440
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Making the Leap to Tech Lead
cromwellryan
135
10k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
360
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
Visualization
eitanlees
152
17k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
350
Evolving SEO for Evolving Search Engines
ryanjones
0
240
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]