دمج خلاصة GTFS
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك استخدام GTFS لعرض إعلان البانر المفتوح في "خرائط Google"، ولعرض إيصالات النقل العام في "خرائط Google".
عرض بانر حلقة العرض المفتوحة في "خرائط Google"
يستخدم تطبيقا "محفظة Google" و"خرائط Google" خلاصات GTFS لتحديد المسارات التي يتم عرضها في "خرائط Google". لتفعيل هذه الميزة، على وكالات النقل العام تنفيذ ما يلي:
- على وكالة النقل العام نشر خلاصة GTFS تتضمّن الحقول التالية على الأقل:
- وكالة
- محطات التوقف
- المسارات
- يجب أن تمثل الخلاصة وصفًا دقيقًا للمسارات والمحطات التي تدعم التكرار الحلقي المفتوح.
- لا تتضمّن خلاصة GTFS المحطات أو محطات التوقّف أو المسارات غير المتوافقة. هذا هو
للتأكد من عدم عرض البانر للمستخدمين على مسار غير متوافق.
- لا تتوفّر عمليات الطرح الجزئي حاليًا. يجب على الوكالات إكمال عملية الطرح
خلاصة GTFS كاملة أو إنشاء خلاصة GTFS جديدة.
عرض إيصالات النقل في "خرائط Google"
يمكنك استخدام نظام GTFS لعرض "خرائط Google" في إيصالات النقل العام لمحطات النقل الثابتة والجوالة.
المحطات الثابتة
لعرض "خرائط Google" في "محفظة Google"، قدِّم روابط Google لربط محطات التوقف
بنقرات المستخدمين على محطة طرفية. للقيام بذلك، قم بتوفير العلاقة بين المعلومات في
علامة اسم التاجر وخلاصة GTFS المناسبة، كما هو موضّح في المثال التالي:
STOPS.txt: field(stop_id)
عليك أيضًا إكمال
نموذج النقل في مسار مفتوح.
المحطات الجوّالة
بالنسبة إلى محطات الدفع على الأجهزة الجوّالة، مثل تلك التابعة للحافلة، يمكنك تعديل اسم التاجر ديناميكيًا
العلامة الطرفية (9F4E)، أو تقديم علاقة بين النقرات في الوحدة الطرفية ووحدة GTFS
خلاصة المسار. وفي الحالة الأخيرة، لا يظهر للمستخدم سوى المسار، وليس المحطة. اطّلِع على المثال التالي:
ROUTES.txt field(route_id)
عليك أيضًا إكمال
نموذج النقل في مسار مفتوح.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eTransit 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.\u003c/p\u003e\n"],["\u003cp\u003eGTFS feeds can be used to integrate Google Maps into transit receipts for both stationary and mobile terminals, providing users with visual location information.\u003c/p\u003e\n"],["\u003cp\u003eFor 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.\u003c/p\u003e\n"],["\u003cp\u003eMobile 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.\u003c/p\u003e\n"]]],["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"],null,["# GTFS feed integration\n\nYou can use GTFS to display the open loop banner in Maps, and to show Maps in transit\nreceipts.\n\nDisplay the open loop banner in Maps\n------------------------------------\n\nGoogle Wallet and Google Maps use GTFS feeds to identify which routes are shown in Google\nMaps. To implement this feature, transit agencies must do the following:\n\n- The transit agency must publish a GTFS feed with the following fields at a minimum:\n - Agency\n - Stops\n - Routes\n- The feed must be an accurate representation of the routes and stops that support open loop.\n - The GTFS feed doesn't include stations, stops, or routes that aren't supported. This is done to ensure that the banner isn't shown to users on an unsupported route.\n - Partial rollouts aren't currently supported. Agencies must either complete the rollout for the complete GTFS feed or create a new GTFS feed.\n\nShow Maps in transit receipts\n-----------------------------\n\nYou can use GTFS to show Maps in transit receipts for stationary and mobile terminals.\n\n### Stationary terminals\n\nTo display Google Maps in Google Wallet, provide Google links to link the station stops\nwith users' taps on a terminal. To do this, provide the relationship between information in the\nMerchant Name tag and the appropriate GTFS feed, as shown in the following example: \n\n```scdoc\nSTOPS.txt: field(stop_id)\n```\n\nYou must also complete the\n[open loop transit form](https://support.google.com/pay/merchants/contact/open_loop_transit_onboarding).\n\n### Mobile terminals\n\nFor mobile terminals, such as those on a bus, you can either dynamically update the Merchant Name\non the terminal tag (9F4E), or provide a relationship between the taps on a terminal and a GTFS\nroute feed. In the latter case, the user is only shown the route, not the stop. See the following\nexample: \n\n```scdoc\nROUTES.txt field(route_id)\n```\n\nYou must also complete the\n[open loop transit form](https://support.google.com/pay/merchants/contact/open_loop_transit_onboarding)."]]