General Transit Feed Specification (GTFS) data parser
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Project.Gtfs.Net
LICENSE
README.md

README.md

GTFS.Net

General Transit Feed Specification (GTFS) data parser

How to Install

Install via NuGet.

  Install-Package GtfsNet

Example

  1. Create a parser
  2. parse specified folder location ("feeds/subway" in the example below)
  3. Optional step: Validate the feed according to GTFS specification.
  GtfsFeedParser parser = new GtfsFeedParser();
  GtfsFeed feed = parser.Parse("feeds/subway");
  // Optional step
  GtfsFeedValidator validator = new GtfsFeedValidator();
  validator.Validate(feed);

Implementation detail

Credit

Many entity classes are copied from OsmSharp/GTFS project.

Next Version

  • Implement async methods