{"id":13723859,"url":"https://github.com/grote/osm2gtfs","last_synced_at":"2025-10-09T16:08:31.886Z","repository":{"id":118798435,"uuid":"63102305","full_name":"grote/osm2gtfs","owner":"grote","description":"Turn OpenStreetMap data and schedule information into GTFS","archived":false,"fork":false,"pushed_at":"2024-04-04T16:07:07.000Z","size":40697,"stargazers_count":101,"open_issues_count":32,"forks_count":31,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-06T23:37:25.419Z","etag":null,"topics":["gtfs","openstreetmap","public-transportation","python","schedule"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-11T21:07:57.000Z","updated_at":"2025-07-05T23:44:05.000Z","dependencies_parsed_at":"2024-04-09T16:13:47.650Z","dependency_job_id":null,"html_url":"https://github.com/grote/osm2gtfs","commit_stats":{"total_commits":111,"total_committers":10,"mean_commits":11.1,"dds":0.6396396396396397,"last_synced_commit":"b86ae4cb1903e6cdc6b735f5e5a37f63ec40b94e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grote/osm2gtfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grote%2Fosm2gtfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grote%2Fosm2gtfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grote%2Fosm2gtfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grote%2Fosm2gtfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grote","download_url":"https://codeload.github.com/grote/osm2gtfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grote%2Fosm2gtfs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264705084,"owners_count":23652153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtfs","openstreetmap","public-transportation","python","schedule"],"created_at":"2024-08-03T01:01:46.451Z","updated_at":"2025-10-09T16:08:26.840Z","avatar_url":"https://github.com/grote.png","language":"Python","funding_links":[],"categories":["Producing Data","Uncategorized","Consumption","Energy Consumption"],"sub_categories":["GTFS","Uncategorized","Mobility and Transportation"],"readme":"osm2gtfs\n========\n\n[![Build Status](https://travis-ci.org/grote/osm2gtfs.svg?branch=master)](https://travis-ci.org/grote/osm2gtfs)\n\nUse public transport data from [OpenStreetMap](http://www.openstreetmap.org/)\nand external schedule information\nto create a General Transit Feed ([GTFS](https://developers.google.com/transit/gtfs/)).\n\nThe official source code repository is at [github.com/grote/osm2gtfs](https://github.com/grote/osm2gtfs).\n\nHow does it work?\n-----------------\n\nThe script retrieves current data about public transport networks directly from\nOpenStreetMap via the Overpass API. It stores the data in python objects and\ncaches on disk for efficient re-use. Then the data is combined with another\nsource of schedule (time) information in order to create a GTFS file using the\ntransitfeed library.\n\nFor every new city a new [configuration file](https://github.com/grote/osm2gtfs/wiki/Configuration)\nneeds to be created. Additionally, schedule information should be provided. By-default the schedule information is expected to be provided in a  [certain format](https://github.com/grote/osm2gtfs/wiki/Schedule). However other formats are supported through extending the code. For any city and schedule format the script can be easily extended, see the\n[developer documentation](https://github.com/grote/osm2gtfs/wiki/Development)\nfor more information.\n\nIncluded cities\n-----------------\n\n* [Florianópolis, Brazil](./osm2gtfs/creators/br_florianopolis/config.json)\n* [Suburban trains in Costa Rica](./osm2gtfs/creators/cr_gam/config.json)\n* [Accra, Ghana](./osm2gtfs/creators/gh_accra/readme.md)\n* [Managua, Ciudad Sandino](./osm2gtfs/creators/ni_managua/config.json) and [Estelí](./osm2gtfs/creators/ni_esteli/config.json) in Nicaragua\n* [Abidjan, Ivory Coast](./osm2gtfs/creators/ci_abidjan/README.md)\n\n*Soon, also in your city*\n\nInstall\n------------\n\nInstall by running\n\n    pip install -e .\n\nRequirements\n------------\nAutomatically installed by the previous step:\n* https://github.com/DinoTools/python-overpy\n* https://github.com/google/transitfeed\n\nUse\n------------\n\n    osm2gtfs -c \u003cconfig-file\u003e\n\nExample:\n\n    osm2gtfs -c osm2gtfs/creators/br_florianopolis/config.json\n\nLicense\n-------\n\n![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)\n\nThis program is Free Software: You can use, study share and improve it at your\nwill. Specifically you can redistribute and/or modify it under the terms of the\n[GNU General Public License](https://www.gnu.org/licenses/gpl.html) as\npublished by the Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrote%2Fosm2gtfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrote%2Fosm2gtfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrote%2Fosm2gtfs/lists"}