Ejemplo n.º 1
0
        /// <summary>
        /// Handles incomplete tiles by copying them to the temporary working directory
        /// </summary>
        /// <param name="tile">The incomplete tile to copy</param>
        private void HandleIncompleteTile(Tile tile)
        {
            string tmpDir = FS.BuildTempDir(AppController.OutputPath);
            string copyTo = FS.BuildTempPath(tmpDir, tile.ZoomLevel.ToString(), tile.Coords.Y.ToString(), tile.GetName(), tile.Atlas);

            File.Copy(tile.Path, copyTo, true);
        }