Tổng quan về GTFS tĩnh
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Quy cách chung cho nguồn cấp dữ liệu về phương tiện công cộng (GTFS), còn gọi là GTFS tĩnh hoặc phương tiện công cộng tĩnh để phân biệt với tiện ích theo thời gian thực của GTFS, xác định một định dạng chung cho lịch trình của phương tiện công cộng và thông tin địa lý liên quan. "Nguồn cấp dữ liệu" GTFS cho phép các công ty vận tải công cộng xuất bản dữ liệu vận tải của họ và nhà phát triển viết các ứng dụng sử dụng dữ liệu đó theo cách có thể tương tác.
Tổng quan về nguồn cấp dữ liệu GTFS
Nguồn cấp dữ liệu GTFS bao gồm một loạt tệp văn bản được thu thập trong một tệp ZIP. Mỗi tệp mô hình hoá một khía cạnh cụ thể của thông tin về phương tiện công cộng: điểm dừng, tuyến, chuyến đi và dữ liệu lịch trình khác. Thông tin chi tiết về từng tệp được xác định trong tài liệu tham khảo về GTFS.
Bạn có thể xem nguồn cấp dữ liệu mẫu trong ví dụ về GTFS. Một công ty vận tải có thể tạo nguồn cấp dữ liệu GTFS để chia sẻ thông tin về phương tiện công cộng với các nhà phát triển. Họ sẽ viết các công cụ sử dụng nguồn cấp dữ liệu GTFS để đưa thông tin về phương tiện công cộng vào ứng dụng của mình. Bạn có thể sử dụng GTFS để hỗ trợ các trình lập kế hoạch chuyến đi, nhà xuất bản lịch trình và nhiều ứng dụng (quá đa dạng để liệt kê tại đây) sử dụng thông tin về phương tiện công cộng theo một cách nào đó.
Phát hành công khai nguồn cấp dữ liệu phương tiện công cộng
Nhiều ứng dụng tương thích với dữ liệu ở định dạng GTFS. Cách đơn giản nhất để công khai nguồn cấp dữ liệu là lưu trữ nguồn cấp dữ liệu đó trên máy chủ web và phát hành thông báo cho phép sử dụng nguồn cấp dữ liệu đó.
Danh sách các công ty vận tải cung cấp nguồn cấp dữ liệu công khai có trên trang web dự án GoogleTransitDataFeed.
Gửi nguồn cấp dữ liệu về phương tiện công cộng cho Google
Nếu làm việc tại một cơ quan công cộng giám sát hoạt động vận tải công cộng cho thành phố của bạn, bạn có thể sử dụng quy cách GTFS để cung cấp lịch trình và thông tin địa lý cho Google Maps cũng như các ứng dụng khác của Google hiển thị thông tin về phương tiện công cộng.
Nếu bạn cung cấp dịch vụ vận tải công cộng và hoạt động theo lịch trình và tuyến đường cố định, chúng tôi rất mong bạn tham gia. Việc này đơn giản và hoàn toàn miễn phí.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eGTFS defines a common format for public transportation schedules and geographic information, enabling data sharing between agencies and developers.\u003c/p\u003e\n"],["\u003cp\u003eGTFS feeds consist of text files within a ZIP file, covering aspects like stops, routes, trips, and other schedule data.\u003c/p\u003e\n"],["\u003cp\u003ePublic transit agencies can share their GTFS feeds publicly and submit them to Google for integration with Google Maps and other applications.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage GTFS feeds to build applications like trip planners, timetables, and various other tools utilizing public transit data.\u003c/p\u003e\n"],["\u003cp\u003eResources like examples, references, validation tools, and community support are available for working with GTFS.\u003c/p\u003e\n"]]],["The General Transit Feed Specification (GTFS) is a format for public transportation schedules and geographic data, enabling transit agencies to publish data and developers to build applications. Key actions include: reviewing GTFS examples, creating feeds using the reference guide, validating feeds with tools, and publishing them. Agencies can share feeds publicly via a web server or submit them to Google for inclusion in Google Maps. GTFS allows the use in various applications like trip planners.\n"],null,["# GTFS Static Overview\n\nThe General Transit Feed Specification (GTFS), also known as *GTFS static* or *static transit*\nto differentiate it from the [GTFS realtime extension](/transit/gtfs-realtime), defines a common format for\npublic transportation schedules and associated geographic information. GTFS\n\"feeds\" let public transit agencies publish their transit data and\ndevelopers write applications that consume that data in an interoperable way.\n\n### How do I start?\n\n1. Take a look at the [GTFS examples](/transit/gtfs/examples).\n2. Create your own feeds using the [reference](/transit/gtfs/reference) as a guide.\n3. Test your feed using [validation tools](/transit/gtfs/guides/tools).\n4. Publish your feed, as [described in the Help Center](https://support.google.com/transitpartners/answer/1111577).\n\n### Overview of a GTFS feed\n\nA GTFS feed is composed of a series of text files collected in a ZIP\nfile. Each file models a particular aspect of transit information: stops,\nroutes, trips, and other schedule data. The details of each file are\ndefined in the [GTFS reference](/transit/gtfs/reference).\n\nAn example feed can be found in the [GTFS\nexamples](/transit/gtfs/examples). A transit agency can produce a GTFS feed to share their\npublic transit information with developers, who write tools that consume\nGTFS feeds to incorporate public transit information into their\napplications. GTFS can be used to power trip planners, time table\npublishers, and a variety of applications, too diverse to list here, that\nuse public transit information in some way.\n\n### Making a Transit feed publicly available\n\nMany applications are compatible with data in the GTFS format. The\nsimplest way to make a feed public is to host it on a web server and publish\nan announcement that makes it available for use.\n\nA list of transit agencies who provide public feeds is available on the\n[GoogleTransitDataFeed project site](http://code.google.com/p/googletransitdatafeed/wiki/PublicFeeds).\n\n### Submitting a Transit feed to Google\n\nIf you're at a public agency that oversees public transportation for your\ncity, you can use the GTFS specification to provide schedules and\ngeographic information to Google Maps and other Google applications that\nshow transit information.\n\nIf you provide a transportation service that is open to the public, and operates with fixed schedules\nand routes, we welcome your participation; it is\n[simple and available at no charge](https://support.google.com/transitpartners/answer/1111471).\n\n### Getting help\n\nTo participate in discussions around GTFS realtime and suggest changes and\nadditions to the specification, join the\n[GTFS realtime discussion group](http://groups.google.com/group/gtfs-realtime).\n\nAdditional resources are available on the [Community page](/transit/gtfs/community).\n\nIf you have questions about the Google Transit Partners program, contact\n[Google support](https://support.google.com/transitpartners/gethelp)."]]