Omówienie GTFS w wersji statycznej
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ogólna specyfikacja pliku danych transportu publicznego (GTFS), zwana też GTFS static lub static transit (aby odróżnić ją od GTFS w czasie rzeczywistym), definiuje wspólny format rozkładów jazdy transportu publicznego i powiązanych informacji geograficznych. „Pliki danych” GTFS umożliwiają przewoźnikom publikowanie danych o transporcie publicznym, a deweloperom tworzenie aplikacji, które wykorzystują te dane w sposób interoperacyjny.
Omówienie pliku danych GTFS
Plik danych GTFS składa się z szeregu plików tekstowych zebranych w pliku ZIP. Każdy plik modeluje konkretny aspekt informacji o transporcie: przystanki, trasy, przejazdy i inne dane o rozkładzie jazdy. Szczegóły każdego pliku są zdefiniowane w dokumentacji GTSF.
Przykładowy plik danych znajdziesz w przykładach pliku danych Google Tag Managera. Przewoźnik może wygenerować plik danych GTFS, aby udostępnić informacje o transporcie publicznym deweloperom, którzy piszą narzędzia korzystające z plików danych GTFS, aby uwzględnić informacje o transporcie publicznym w swoich aplikacjach. GTFS może być używany przez planistów podróży, wydawców rozkładów jazdy oraz różne aplikacje, których jest zbyt wiele, aby je tu wymienić, a które w jakiś sposób korzystają z informacji o transporcie publicznym.
Udostępnianie pliku danych o transporcie publicznym
Wiele aplikacji jest zgodnych z danymi w formacie GTFS. Najprostszym sposobem udostępnienia pliku danych jest umieszczenie go na serwerze internetowym i opublikowanie komunikatu o możliwości jego użycia.
Lista przewoźników, którzy udostępniają publiczne pliki danych, jest dostępna na stronie projektu GoogleTransitDataFeed.
Przesyłanie pliku danych Transit do Google
Jeśli pracujesz w agencji publicznej, która nadzoruje transport publiczny w Twoim mieście, możesz użyć specyfikacji GTFS, aby udostępnić rozkłady jazdy i informacje geograficzne do Map Google i innych aplikacji Google, które wyświetlają informacje o transporcie.
Jeśli oferujesz usługi transportowe dostępne dla wszystkich, które działają zgodnie z stałymi rozkładami jazdy i trasami, zachęcamy do udziału w programie. Jest on prosty i dostępny bezpłatnie.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]