transitio.index.Place.feeds

Contents

transitio.index.Place.feeds#

Place.feeds(*, tiers=None, exclude=None, spec='gtfs', on_unknown='include', requires=None, categories='default', international=False)#

The feeds serving this place, as IndexedFeed objects.

tiers keeps only edges of those tiers, exclude drops edges of the named tiers (a feed with nothing left is dropped), spec selects the feed kind (static GTFS by default; None for everything, a list to narrow), on_unknown governs unknown-tier edges and requires keeps only feeds whose manifest carries the named GTFS files (for example "shapes.txt"). On a schema-7 index categories picks the relevance categories (the place kind’s default view unless named, in which a region or country of at most 1,000 km² keeps its primary feeds too; None for all) and international=True adds the cross-border feeds. See transitio.index.feeds.feeds_for_place().