GTFS フィードの統合
GTFS を使って、マップにオープンループ バナーを表示したり、交通機関のマップに表示できます。
領収書が必要です。
マップにオープンループ バナーを表示する
Google ウォレットと Google マップは、GTFS フィードを使用して、Google に表示されるルートを識別します。
マップ。この機能を実装するには、交通機関は次のことを行う必要があります。
- 交通機関は、少なくとも以下のフィールドを含む GTFS フィードを公開する必要があります。
<ph type="x-smartling-placeholder">
- フィードは、オープンループに対応した経路と停車地を正確に表している必要があります。
- GTFS フィードにサポートされていない駅、停留所、ルートは含まれません。これは、
バナーがサポートされていないルート上のユーザーには表示されなくなります。
- 現在、部分的なロールアウトはサポートされていません。代理店は、
GTFS フィード全体を作成するか、新しい GTFS フィードを作成します。
交通機関の領収書にマップを表示する
GTFS を使用すると、据え置きのターミナルやモバイル ターミナルの交通機関の領収書にマップを表示できます。
固定端末
Google ウォレットに Google マップを表示するには、駅の停留所にリンクする Google リンクを提供します
ユーザーのかざすだけで十分ですそのためには、スペース内の情報間の関係を
販売者名タグと適切な GTFS フィードの例を以下に示します。
STOPS.txt: field(stop_id)
また、
オープンループの交通機関のフォーム。
モバイル デバイス
バス内のモバイル デバイスの場合は、販売者名を動的に更新することも、
ターミナルタグ(9F4E)で指定するか、ターミナルのタップと GTFS の関係を提供します。
使用できます。後者の場合、ユーザーには経路のみが表示され、停車地は表示されません。以下をご覧ください。
例:
ROUTES.txt field(route_id)
また、
オープンループの交通機関のフォーム。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[null,null,["最終更新日 2024-08-29 UTC。"],[[["Transit agencies can leverage GTFS feeds to display an open loop banner in Google Maps, indicating routes that support open loop payments, by ensuring their feed accurately represents these routes and stops."],["GTFS feeds can be used to integrate Google Maps into transit receipts for both stationary and mobile terminals, providing users with visual location information."],["For stationary terminals, linking station stops with user taps requires providing the relationship between the Merchant Name tag and the corresponding GTFS feed, along with completing an onboarding form."],["Mobile terminals can either dynamically update the Merchant Name or link taps to a GTFS route feed, displaying the route to the user, and also require completion of the onboarding form."]]],["Transit agencies use GTFS feeds to display open loop banners and maps in Google Maps and transit receipts. To show banners, agencies must publish a complete GTFS feed (agency, stops, routes) accurately representing supported routes. To show maps in stationary terminal receipts, link the Merchant Name tag to the `STOPS.txt` stop ID field. For mobile terminals, link the Merchant Name or terminal taps to the `ROUTES.txt` route ID field. Submitting the open loop transit form is mandatory.\n"]]