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
140
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
220
Realtime and general purpose open APIs at Digitransit
tuukka
0
350
100% Open Journey Planning Open source, open APIs, open data
tuukka
0
110
Reittiopas ja Digitransit-rajapinnat APIKAssa
tuukka
0
360
Other Decks in Technology
See All in Technology
React Server ComponentsでAPI不要の開発体験
polidog
PRO
0
220
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
140
GMOペパボのデータ基盤とデータ活用の現在地 / Current State of GMO Pepabo's Data Infrastructure and Data Utilization
zaimy
3
210
マルチプロダクト×マルチテナントを支えるモジュラモノリスを中心としたアソビューのアーキテクチャ
disc99
1
480
AIのグローバルトレンド 2025 / ai global trend 2025
kyonmm
PRO
1
140
S3 Glacier のデータを Athena からクエリしようとしたらどうなるのか/try-to-query-s3-glacier-from-athena
emiki
0
220
Agent Development Kitで始める生成 AI エージェント実践開発
danishi
0
140
僕たちが「開発しやすさ」を求め 模索し続けたアーキテクチャ #アーキテクチャ勉強会_findy
bengo4com
0
2.3k
Serverless Meetup #21
yoshidashingo
1
120
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
金融サービスにおける高速な価値提供とAIの役割 #BetAIDay
layerx
PRO
1
820
SRE新規立ち上げ! Hubbleインフラのこれまでと展望
katsuya0515
0
190
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
GraphQLとの向き合い方2022年版
quramy
49
14k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Fireside Chat
paigeccino
38
3.6k
Balancing Empowerment & Direction
lara
1
540
Designing Experiences People Love
moore
142
24k
Building an army of robots
kneath
306
45k
Speed Design
sergeychernyshev
32
1.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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]