A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

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

README.md

osm2gtfs

Build Status

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

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

GNU GPLv3 Image

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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/grote/osm2gtfs

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

setup.py pypi
  • attrs >=17.1.0
  • mock *
  • overpy >=0.4
  • transitfeed >=1.2.16
  • transporthours *
  • webcolors *

Score: 7.177782416195197