Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/now8-org/gtfsmerge
Script to merge GTFS ZIP archives into one.
https://github.com/now8-org/gtfsmerge
csv gtfs merge public-transport python script zip
Last synced: about 2 months ago
JSON representation
Script to merge GTFS ZIP archives into one.
- Host: GitHub
- URL: https://github.com/now8-org/gtfsmerge
- Owner: now8-org
- License: gpl-3.0
- Created: 2021-12-15T04:17:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T09:04:48.000Z (over 2 years ago)
- Last Synced: 2024-01-11T21:52:31.092Z (6 months ago)
- Topics: csv, gtfs, merge, public-transport, python, script, zip
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-transit - gtfsmerge - A Python Script to merge GTFS ZIP archives into one. (Uncategorized / Uncategorized)
README
# GTFSmerge
Script to merge GTFS ZIP archives into one.
## Features
* Uses the first archive contents as a reference.
* Supports wildcards in input arguments.
* Skips files from other archives with a different header.
* Adds the CSV header row once per file in the output archive.
* Avoids lines with duplicate indexes.Note that the script doesn't check the input or output CSV files validity
nor GTFS compliance.## Usage
```bash
./gtfsmerge.py gtfs1.zip gtfs2.zip gtfs3.zip output.zip
```