Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkuranowski/rzeszowgtfs
Creates GTFS feed for ZTM Rzeszów
https://github.com/mkuranowski/rzeszowgtfs
gtfs open-data public-transportation rzeszow
Last synced: about 2 months ago
JSON representation
Creates GTFS feed for ZTM Rzeszów
- Host: GitHub
- URL: https://github.com/mkuranowski/rzeszowgtfs
- Owner: MKuranowski
- License: mit
- Created: 2020-01-09T12:54:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T07:47:16.000Z (4 months ago)
- Last Synced: 2024-09-15T10:47:33.822Z (4 months ago)
- Topics: gtfs, open-data, public-transportation, rzeszow
- Language: Python
- Size: 71.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# RzeszowGTFS
## Description
Creates GTFS file for [ZTM Rzeszów](https://ztm.rzeszow.pl/).
Data comes from [Rzeszów's open data portal](https://otwartedane.erzeszow.pl/dataset/rozklady-jazdy-gtfs).
which contains ugly GTFS data.I assume that those TransXChange files are considered "public sector information" by Polish law,
and are subject to laws described in [ustawa o ponownym wykorzystywaniu informacji sektora publicznego](https://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20160000352).Gmina Miasto Rzeszów has expressed their requirements (in accordance with article 11 of the aformentioned legislation) on this website:
.Exposing info from `attributions.txt` _should_ satisfy the first point of those requirements.
## Running
[Python3](https://www.python.org) (version 3.12 or later) is required with 2 additional libraries:
- [impuls](https://pypi.org/project/impuls/) and
- [requests](https://pypi.org/project/requests/)Before launching install required libs with `pip install -r requirements.txt`.
### Modifications to the original GTFS files
- Merging multiple routes.
ZTM Rzeszów publishes a new file with with every schedule change, violating the GTFS
specification. This script merges any current and future files to ensure schedules
are contained in a single GTFS file.
- Route deduplication
- Route color unification
- Stop name prettification
- Trip headsign prettification
- Correct request stop markings in stop_times## License
*RzeszowGTFS* is provided under the MIT license, included in the `license.md` file.