SlideShare una empresa de Scribd logo
1 de 12
GTFS (General Transit Feed
Specification) について
堀 良彰 (佐賀大学/Code for Saga)
horiyo@cc.saga-u.ac.jp / @horiyo
UDC2018 in Saga, kickoff workshop
2018-10-13
GTFS (General Transit Feed Specification)
[GTFSref] って?
• 公共交通機関の時刻表と地理的情報に関するオープンフォーマット
(= 誰もが使えるデータ形式) [Wikipedia:GTFS]
• General: 一般的
• Transit: 乗継、乗換案内(Google)
• Feed: (データ)供給
• Specification: 仕様、明細
[Wikipedia:GTFS] Wikipedia, “GTFS”, https://developers.google.com/transit/gtfs/reference?hl=ja
[GTFSref] GTFS リファレンス, https://developers.google.com/transit/gtfs/reference?hl=ja
GTFS と GTFS リアルタイム
• GTFS [GTFS-static]
• 静的 GTFS や GTFS-static と書かれることも。
• 静的情報を指す = 刻々とは変化しない情報
• 事業者 (agency)、停留所・標柱 (stops)、経路 (routes)、便 (trips)、 通過時刻
(stop_times)、運行区分 (calendar)、運行日 (calendar_dates)、 運賃属性
(fare_attributes)、運賃定義 (fare_rules)、路線形状 (shapes)、 運行間隔
(frequencies)、 乗換時間(transfers)等
• GTFS リアルタイム (GTFS-realtime) [GTFS-realtime]
• 刻々と変化する今現在の情報
• ルート更新(route)、車両現在地(vehicle)、運行情報(alert)
[GTFS-static] Google, “静的な GTFS の概要”, https://developers.google.com/transit/gtfs/
[GTFS-realtime] Google, “GTFSリアルタイムとは”, https://developers.google.com/transit/gtfs-realtime/
GTFS開発の経緯 [GTFSstory]
• 2005年7月ビビアナ・マッキューらが、Google のチームと会う[GTFSstory]
• ビビアナ・マッキュー(Bibiana McHugh)は、当時、オレゴン州ポートランドの公共交
通機関、トライメット(TriMet)で地理情報サービスのITマネージャー
• その日のうちに、トライメットのティム・マッキュー(Tim McHugh)は最初のデータ出
力を実施
• 2005年12月7日ポートランド・メトロ地域をカバーするトライメットのデータ
を用いた、Google Transit Trip Planner の最初のバージョンが発表された
[GTFSstory]
• サイトのアクセス数は急激に上昇
• 2006年9月27日 Google Transit チームが、Google Transit Feed
Specification を公開
• 2009年10月 General Transit Feed Specification に改名
[GTFSstory] @niyalist, “オープンデータの標準を作る: GTFS物語”, Qiita,
https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644
Bibiana McHugh, “Pioneering Open Data Standards: The GTFS Story” の訳とその紹介
GTFS 成功の要素 [GTFSstory]
• 小規模の共同チームで、非常に具体的な目的を持って始めたこと。
• 交通データの仕様をオープン・スタンダード(標準)として公開したこ
と。仕様もフォーマットも簡素だったこと。
• 参加交通事業者や民間パートナーに対する具体的なビジネスインセ
ンティブがあること。
• 世界中のユーザが関わり、貢献してくれたこと。
[GTFSstory] @niyalist, “オープンデータの標準を作る: GTFS物語”, Qiita,
https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644
Bibiana McHugh, “Pioneering Open Data Standards: The GTFS Story” (2013) の訳とその紹介
GTFS データに課金すべきか? [GTFSstory]
• 初期の頃には、交通事業者が自社のGTFSデータに対し料金を請求すると
いう案もあり
• データの売り上げで得られるだろう利益よりも投資利益率の方がはるか
に高いことが明らかに
• 情報公開請求への対応を考えると、事業者がたくさんの要望に個別に対
応するよりも、求められているデータをオープン化し利用可能にする方が
良いと気づくことに
• 開発者の中にはデータを交通事業者のサイトからスクリーンスクレイピン
グするという手を使う者もいた
標準フォーマットでのオープンデータを提供することが、人々にとって一
番良い
世界的に見ると・・・欧米中心にすでに普及
GTFS, GTFS-realtime データを
提供している TransFeeds.com
日本での動き(1)
交通政策基本計画(2015)(H27.2.13 閣議決定)中、
”第3章 施策の推進に当たって特に留意すべき事項” の中で
オープンデータ化について明記
日本での動き(2)
• “標準的なバス情報フォーマット” 策定(2017.3)(国交省総合政策局
公共交通政策部)
GTFSとの互換性ある形式として策定
日本での動き(3)
「標準的なバス情報フォーマット広め隊」伊藤昌毅氏・他
MASAKI ITO, “標準的なバスフォーマット広め隊”, 2018-01-19
https://gtfs.jp/hirometai2017/ より
日本での動き(4)GTFS関係ツールの登場
• GTFS 形式データを参照する
• GTFS-Viewer (嶋田鉄兵(旭川高専))(ウェブアプリケーション)
• http://tshimada291.sakura.ne.jp/transport/gtfs-viewer/
• GTFS 形式データを作る
• ダイヤ編成支援システム “その筋屋” (Sujiya System)(for Windows)
• http://www.sinjidai.com/sujiya/
• 標準的なバス情報フォーマット出力ツール(試作品) (for Excel)(東大CSIS)
• https://home.csis.u-tokyo.ac.jp/~nishizawa/gtfs/
• GTFS Editor (for Windows, 32bit)
• http://www.sinjidai.com/sujiya/GTFS/
GTFSを理解するためのドキュメント
• 「標準的なバス情報フォーマット」解説書
by 国土交通省総合政策局公共交通政策部(2017.3)
• http://www.mlit.go.jp/sogoseisaku/transport/sosei_transport_tk_000067.ht
ml
• 乗換案内(transit) by Google
• https://developers.google.com/transit/?hl=ja
• オープンデータ標準を作る: GTFS物語
• Qiita 記事 by @niyalist (2017年01月09日に更新)
https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

GTFS (General Transit Feed Specification) について

  • 1. GTFS (General Transit Feed Specification) について 堀 良彰 (佐賀大学/Code for Saga) horiyo@cc.saga-u.ac.jp / @horiyo UDC2018 in Saga, kickoff workshop 2018-10-13
  • 2. GTFS (General Transit Feed Specification) [GTFSref] って? • 公共交通機関の時刻表と地理的情報に関するオープンフォーマット (= 誰もが使えるデータ形式) [Wikipedia:GTFS] • General: 一般的 • Transit: 乗継、乗換案内(Google) • Feed: (データ)供給 • Specification: 仕様、明細 [Wikipedia:GTFS] Wikipedia, “GTFS”, https://developers.google.com/transit/gtfs/reference?hl=ja [GTFSref] GTFS リファレンス, https://developers.google.com/transit/gtfs/reference?hl=ja
  • 3. GTFS と GTFS リアルタイム • GTFS [GTFS-static] • 静的 GTFS や GTFS-static と書かれることも。 • 静的情報を指す = 刻々とは変化しない情報 • 事業者 (agency)、停留所・標柱 (stops)、経路 (routes)、便 (trips)、 通過時刻 (stop_times)、運行区分 (calendar)、運行日 (calendar_dates)、 運賃属性 (fare_attributes)、運賃定義 (fare_rules)、路線形状 (shapes)、 運行間隔 (frequencies)、 乗換時間(transfers)等 • GTFS リアルタイム (GTFS-realtime) [GTFS-realtime] • 刻々と変化する今現在の情報 • ルート更新(route)、車両現在地(vehicle)、運行情報(alert) [GTFS-static] Google, “静的な GTFS の概要”, https://developers.google.com/transit/gtfs/ [GTFS-realtime] Google, “GTFSリアルタイムとは”, https://developers.google.com/transit/gtfs-realtime/
  • 4. GTFS開発の経緯 [GTFSstory] • 2005年7月ビビアナ・マッキューらが、Google のチームと会う[GTFSstory] • ビビアナ・マッキュー(Bibiana McHugh)は、当時、オレゴン州ポートランドの公共交 通機関、トライメット(TriMet)で地理情報サービスのITマネージャー • その日のうちに、トライメットのティム・マッキュー(Tim McHugh)は最初のデータ出 力を実施 • 2005年12月7日ポートランド・メトロ地域をカバーするトライメットのデータ を用いた、Google Transit Trip Planner の最初のバージョンが発表された [GTFSstory] • サイトのアクセス数は急激に上昇 • 2006年9月27日 Google Transit チームが、Google Transit Feed Specification を公開 • 2009年10月 General Transit Feed Specification に改名 [GTFSstory] @niyalist, “オープンデータの標準を作る: GTFS物語”, Qiita, https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644 Bibiana McHugh, “Pioneering Open Data Standards: The GTFS Story” の訳とその紹介
  • 5. GTFS 成功の要素 [GTFSstory] • 小規模の共同チームで、非常に具体的な目的を持って始めたこと。 • 交通データの仕様をオープン・スタンダード(標準)として公開したこ と。仕様もフォーマットも簡素だったこと。 • 参加交通事業者や民間パートナーに対する具体的なビジネスインセ ンティブがあること。 • 世界中のユーザが関わり、貢献してくれたこと。 [GTFSstory] @niyalist, “オープンデータの標準を作る: GTFS物語”, Qiita, https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644 Bibiana McHugh, “Pioneering Open Data Standards: The GTFS Story” (2013) の訳とその紹介
  • 6. GTFS データに課金すべきか? [GTFSstory] • 初期の頃には、交通事業者が自社のGTFSデータに対し料金を請求すると いう案もあり • データの売り上げで得られるだろう利益よりも投資利益率の方がはるか に高いことが明らかに • 情報公開請求への対応を考えると、事業者がたくさんの要望に個別に対 応するよりも、求められているデータをオープン化し利用可能にする方が 良いと気づくことに • 開発者の中にはデータを交通事業者のサイトからスクリーンスクレイピン グするという手を使う者もいた 標準フォーマットでのオープンデータを提供することが、人々にとって一 番良い
  • 11. 日本での動き(4)GTFS関係ツールの登場 • GTFS 形式データを参照する • GTFS-Viewer (嶋田鉄兵(旭川高専))(ウェブアプリケーション) • http://tshimada291.sakura.ne.jp/transport/gtfs-viewer/ • GTFS 形式データを作る • ダイヤ編成支援システム “その筋屋” (Sujiya System)(for Windows) • http://www.sinjidai.com/sujiya/ • 標準的なバス情報フォーマット出力ツール(試作品) (for Excel)(東大CSIS) • https://home.csis.u-tokyo.ac.jp/~nishizawa/gtfs/ • GTFS Editor (for Windows, 32bit) • http://www.sinjidai.com/sujiya/GTFS/
  • 12. GTFSを理解するためのドキュメント • 「標準的なバス情報フォーマット」解説書 by 国土交通省総合政策局公共交通政策部(2017.3) • http://www.mlit.go.jp/sogoseisaku/transport/sosei_transport_tk_000067.ht ml • 乗換案内(transit) by Google • https://developers.google.com/transit/?hl=ja • オープンデータ標準を作る: GTFS物語 • Qiita 記事 by @niyalist (2017年01月09日に更新) https://qiita.com/niyalist/items/5eef5f9fef7fa1dc6644