/GTFS

.NET implementation of a General Transit Feed Specification (GTFS) feed parser.

Primary LanguageC#MIT LicenseMIT

GTFS Feed Parser

.Net/Mono implementation of a General Transit Feed Specification (GTFS) feed parser. (see https://developers.google.com/transit/gtfs/reference)

Build status Visit our website MIT licensed

NuGet

The implementation is deliberate kept very flexible and customizable because many GTFS feeds out there all have their specific little perks.

A short example

// create the reader.
var reader = new GTFSReader<GTFSFeed>();

// execute the reader.
using (
  var sources = new GTFSDirectorySource(new DirectoryInfo("path/to/feed/directory")))
{
  var feed = reader.Read(sources);
  ...
}

Install GTFS

PM> Install-Package GTFS