Home

Awesome

hafas-generate-gtfs

Generate GTFS dumps from HAFAS endpoints.

npm version build status ISC-licensed minimum Node.js version chat with me on Gitter support me on Patreon

Given a hafas-client@5-compatible HAFAS client, a time frame, and a bounding box or GeoJSON shape, hafas-generate-gtfs tries to build a GTFS feed for the area:

  1. Finds all stations in the area.
  2. Fetches all departures at these stations within the time frame.
  3. Fetches the trip for each departure.

Installation

npm install hafas-generate-gtfs

Usage

todo

I recommend you to use this package with a caching HAFAS client.

Contributing

If you have a question or need support using hafas-generate-gtfs, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.