Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.69 KB

readme.md

File metadata and controls

38 lines (27 loc) · 1.69 KB

RzeszowGTFS

Description

Creates GTFS file for ZTM Rzeszów. Data comes from Rzeszów's open data portal. 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.

Gmina Miasto Rzeszów has expressed their requirements (in accordance with article 11 of the aformentioned legislation) on this website: https://bip.erzeszow.pl/pl/319-informacja-publiczna-ponowne-wykorzystywanie-informacji-sektora-publicznego/4570-zasady-dostepu-do-informacji-publicznej.html.

Exposing info from attributions.txt should satisfy the first point of those requirements.

Running

Python3 (version 3.12 or later) is required with 2 additional libraries:

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.