NAME
Opendata::GTFS::Feed - Parse General Transit Feeds (GTFS)
VERSION
Version 0.0202, released 2016-02-28.
SYNOPSIS
use Opendata::GTFS::Feed;
my $feed = Opendata::GTFS::Feed->parse(file => 'a-gtfs-feed.zip', directory => 'feed');
DESCRIPTION
Opendata::GTFS::Feed is an easy way to parse GTFS feeds.
ATTRIBUTES
All list attributes has the Array trait. Currently the following public methods are created for those attributes:
file
If file is given, the feed in the file will be parsed.
url
If url is given, the feed at the url will be fetched and parsed.
directory
If only directory is given, it is expected to find a fully extracted feed in that directory. If C is given together with either file or url, the feed will be extracted into that directory (and remain there).
agencies
calendar_dates
calendars
fare_attributes
fare_rules
frequencies
routes
shapes
stop_times
stops
transfers
trips
SOURCE
https://github.com/Csson/p5-Opendata-GTFS-Feed
HOMEPAGE
https://metacpan.org/release/Opendata-GTFS-Feed
AUTHOR
Erik Carlsson <info@code301.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.