use of org.opentripplanner.netex.NetexModule in project OpenTripPlanner by opentripplanner.
the class NetexConfig method netexModule.
private NetexModule netexModule(Iterable<DataSource> netexSources) {
List<NetexBundle> netexBundles = new ArrayList<>();
for (DataSource it : netexSources) {
NetexBundle netexBundle = netexBundle((CompositeDataSource) it);
netexBundles.add(netexBundle);
}
return new NetexModule(buildParams.netex.netexFeedId, buildParams.parentStopLinking, buildParams.stationTransfers, buildParams.getSubwayAccessTimeSeconds(), buildParams.maxInterlineDistance, buildParams.getTransitServicePeriod(), netexBundles);
}
Aggregations