Exemple #1
0
        /// <summary>
        /// Handles an incomplete, but non-merged, tile by copying it to the final destination
        /// </summary>
        /// <param name="tile">The tile to copy</param>
        private void HandleIncompleteNonMergedTile(Tile tile)
        {
            string copyTo   = FS.BuildOutputDir(AppController.OutputPath, tile.ZoomLevel.ToString(), tile.Coords.Y.ToString());
            string copyPath = Path.Combine(copyTo, tile.GetName());

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