[][src]Function transit_model::gtfs::read_from_zip

pub fn read_from_zip<P: AsRef<Path>>(
    path: P,
    configuration: Configuration
) -> Result<Model>

Imports a Model from a zip file containing the GTFS.

The config_path argument allows you to give a path to a file containing a json representing the contributor and dataset used for this GTFS. If not given, default values will be created.

The prefix argument is a string that will be prepended to every identifiers, allowing to namespace the dataset. By default, no prefix will be added to the identifiers.