/// <summary> /// write the list of directions out to the filesystem as a comma seperated value file /// </summary> public void writeOutputFile(string fileName, string units) { if (fileName.EndsWith(".csv")) { cueWriter = new CsvWriter(); } else { cueWriter = new HtmlWriter(); } if (_addresses != null && _addresses.Count > 0 && _turns != null) { cueWriter.writeCueSheet(fileName, _inputFileName, _addresses, _turns, units); _drawnOnMapImage.Save(fileName + ".bmp"); ElevationProfiler.getElevationProfile(_path.Locations, units).Save(fileName + ".ele.bmp"); } _status = cueWriter.Status; }
/// <summary> /// write the list of directions out to the filesystem as a comma seperated value file /// </summary> public void writeOutputFile(string fileName, string units) { if (fileName.EndsWith(".csv")) cueWriter = new CsvWriter(); else cueWriter = new HtmlWriter(); if (_addresses != null && _addresses.Count > 0 && _turns != null) { cueWriter.writeCueSheet(fileName, _inputFileName, _addresses, _turns, units); _drawnOnMapImage.Save(fileName + ".bmp"); ElevationProfiler.getElevationProfile(_path.Locations, units).Save(fileName + ".ele.bmp"); } _status = cueWriter.Status; }