use of org.onebusaway.transit_data_federation.bundle.tasks.MultiCSVLogger in project onebusaway-application-modules by camsys.
the class HastusGtfsFactory method run.
public void run() throws Exception {
logger = new MultiCSVLogger();
// hack to swap directories
String csvDir = _gtfsOutputPath.toString().replace("_gtfs/29", "s");
logger.setBasePath(new File(csvDir));
_log.info("setting up MultiCSVLogger at path " + csvDir);
processAgency();
processStops();
processRoutesStopSequences();
processShapes();
processSchedules();
processCalendars();
GtfsWriter writer = new GtfsWriter();
writer.setOutputLocation(_gtfsOutputPath);
writer.run(_dao);
writer.close();
// Release the dao
_dao = null;
applyModifications();
logger.summarize();
_log.info("MultiCSVLogger summarize called");
}
Aggregations