Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 727 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 727 Bytes

GTFS Feed Parser

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

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