[][src]Function transit_model::merge_stop_areas::merge_stop_areas

pub fn merge_stop_areas(
    collections: Collections,
    rule_paths: Vec<PathBuf>,
    automatic_max_distance: u32,
    report_path: PathBuf
) -> Result<Collections>

Merge stop areas using manual rules from a csv file and automatic rules determined from a specific distance

The rule_paths parameter allows you to specify the path of the csv file which contains the manual rules

The automatic_max_distance parameter allows you to specify the max distance in meters to compute a stop area merge

The report_path parameter allows you to specify the path of the file which will contain a report of the errors and warning encountered during the merge