/// <summary>
 /// 计算一个高铁城市的在高铁未通车的时间成本
 /// </summary>
 /// <returns>时间成本操作</returns>
 private RasterOp CalculationCity(string cityName)
 {
     RasterOp rasterOp=new RasterOp(_rasterReader);
     City city = _allCities.First(item => item.Name == cityName);
     Postion pos = _rasterReader.Coordinate(city.XCoord,city.YCoord);
     return rasterOp.Calculator(pos);
 }
 private void Run(RasterReader reader, CalculatorCity city, string folderPath)
 {
     RasterOp rasterOp=new RasterOp(reader);
     Postion pos = reader.Coordinate(city.XCoord,city.YCoord);
     var result = rasterOp.Calculator(pos);
     RasterWriter writer=new RasterWriter(folderPath,city.Name+"_高铁未通车",reader.RasterInfo);
     result.WriteRaster(writer, "TIFF");
 }