transitio.FetchResult.to_cafein

transitio.FetchResult.to_cafein#

FetchResult.to_cafein(**options)#

Build a routable cafein.TransportNetwork from this result.

The validated feeds and the OSM extract are handed to cafein.TransportNetwork.from_gtfs; keyword arguments pass through (walking_speed_kmph, bounding_box, ultra, …), and osm_pbf=None builds without the walking network.

Requires the cafein package.