transitland / gtfs

Ruby library for dealing with GTFS. Used by Transitland's FeedEater import pipeline.
8 stars 6 forks source link

Nested GTFS #26

Closed irees closed 8 years ago

irees commented 8 years ago

Refactor classes to support the following: Source: reads files from local directory ZipSource: reads from zip file (extracts to tmp dir) URLSource: reads from remote zip file

Additionally, ZipSource contains methods for introspecting zip archives to find nested directories and nested archives containing valid GTFS feeds. These are returned as "path fragments" that can also be used to extract from archives.