osm2gtfs
Turn OpenStreetMap data and schedule information into GTFS.
https://github.com/grote/osm2gtfs
Category: Consumption
Sub Category: Mobility and Transportation
Keywords
gtfs openstreetmap public-transportation python schedule
Keywords from Contributors
navitia efa
Last synced: about 1 hour ago
JSON representation
Repository metadata
Turn OpenStreetMap data and schedule information into GTFS
- Host: GitHub
- URL: https://github.com/grote/osm2gtfs
- Owner: grote
- License: gpl-3.0
- Created: 2016-07-11T21:07:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T16:07:07.000Z (about 1 year ago)
- Last Synced: 2025-04-10T04:39:47.432Z (17 days ago)
- Topics: gtfs, openstreetmap, public-transportation, python, schedule
- Language: Python
- Size: 38.8 MB
- Stars: 99
- Watchers: 11
- Forks: 31
- Open Issues: 32
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
osm2gtfs
Use public transport data from OpenStreetMap
and external schedule information
to create a General Transit Feed (GTFS).
The official source code repository is at github.com/grote/osm2gtfs.
How does it work?
The script retrieves current data about public transport networks directly from
OpenStreetMap via the Overpass API. It stores the data in python objects and
caches on disk for efficient re-use. Then the data is combined with another
source of schedule (time) information in order to create a GTFS file using the
transitfeed library.
For every new city a new configuration file
needs to be created. Additionally, schedule information should be provided. By-default the schedule information is expected to be provided in a certain format. However other formats are supported through extending the code. For any city and schedule format the script can be easily extended, see the
developer documentation
for more information.
Included cities
- Florianópolis, Brazil
- Suburban trains in Costa Rica
- Accra, Ghana
- Managua, Ciudad Sandino and Estelí in Nicaragua
- Abidjan, Ivory Coast
Soon, also in your city
Install
Install by running
pip install -e .
Requirements
Automatically installed by the previous step:
Use
osm2gtfs -c <config-file>
Example:
osm2gtfs -c osm2gtfs/creators/br_florianopolis/config.json
License
This program is Free Software: You can use, study share and improve it at your
will. Specifically you can redistribute and/or modify it under the terms of the
GNU General Public License as
published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Owner metadata
- Name: Torsten Grote
- Login: grote
- Email:
- Kind: user
- Description: Free Software developer and activist interested in topics of technology-enabled social and political change.
- Website: https:// blog.grobox.de
- Location: Brazil
- Twitter: t_grote
- Company:
- Icon url: https://avatars.githubusercontent.com/u/244947?u=96eaaad9680de3a23bb9684bc5c4c9b54ffdfeec&v=4
- Repositories: 51
- Last ynced at: 2025-04-24T15:43:34.519Z
- Profile URL: https://github.com/grote
GitHub Events
Total
- Issue comment event: 3
Last Year
- Issue comment event: 3
Committers metadata
Last synced: 5 days ago
Total Commits: 111
Total Committers: 10
Avg Commits per committer: 11.1
Development Distribution Score (DDS): 0.64
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Felix Delattre | g****b@x****u | 40 |
Noémie | n****y@z****t | 17 |
Torsten Grote | t@g****e | 17 |
jamescr | j****r@g****m | 14 |
Ialokim | i****m@t****e | 10 |
Pascal Rhod | p****d@c****r | 5 |
Nico Alt | n****t@p****g | 4 |
Pascal Rhod | p****d@z****t | 2 |
FranciscoGarcia | f****9@g****m | 1 |
Nícolas Iensen | n****n@g****m | 1 |
Committer domains:
- zaclys.net: 2
- posteo.org: 1
- canaltp.fr: 1
- t-online.de: 1
- grobox.de: 1
- xama.nu: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 80
Total pull requests: 87
Average time to close issues: 4 months
Average time to close pull requests: about 1 month
Total issue authors: 18
Total pull request authors: 13
Average comments per issue: 6.23
Average comments per pull request: 3.77
Merged pull request: 62
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- xamanu (33)
- AltNico (8)
- jamescr (8)
- grote (5)
- ialokim (5)
- nlehuby (4)
- amenk (3)
- prhod (2)
- danpanetta (2)
- jaullo (2)
- mvanlaar (1)
- marcosfede (1)
- proma90 (1)
- Robot8A (1)
- Skippern (1)
Top Pull Request Authors
- xamanu (41)
- jamescr (13)
- ialokim (9)
- nlehuby (8)
- AltNico (3)
- prhod (3)
- grote (3)
- amenk (2)
- miguelgraz (1)
- Laiiev (1)
- xirapo (1)
- jcfausto (1)
- nicolasiensen (1)
Top Issue Labels
- enhancement (56)
- help wanted (45)
- ready (8)
- bug (8)
- question (4)
- High Priority (3)
- duplicate (2)
- wontfix (1)
- needs info (1)
Top Pull Request Labels
- enhancement (16)
- ready (14)
- High Priority (3)
- bug (3)
- help wanted (1)
- needs info (1)
Dependencies
- attrs >=17.1.0
- mock *
- overpy >=0.4
- transitfeed >=1.2.16
- transporthours *
- webcolors *
Score: 7.177782416195197