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.

Lists

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
```