[−][src]Function transit_model::netex::read
pub fn read<P>(
path: P,
config_path: Option<P>,
prefix: Option<String>
) -> Result<Model> where
P: AsRef<Path>,
Imports a Model
from one or several Netex files.
The path
can be a single file, a directory or a zip file.
Refers to the Netex Github repo
for details.
The config_path
argument allows you to give a path to a file
containing a json representing the contributor and dataset used
for this Netex file. 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.