findTifFiles: Find all the files associated with a TIFF file.

View source: R/findTifFiles.R

findTifFilesR Documentation

Find all the files associated with a TIFF file.

Description

findTifFiles() is primarily intended for internal use and is called by copyTif(),deleteTif(), and renameTif().

Usage

findTifFiles(x, includeVrt = TRUE)

Arguments

x

(character) the path to a single TIFF file.

includeVrt

(logical) if TRUE consider a .vrt with the same base name to be associated.

Details

Given the path to a TIFF file (.tif extension) return the path to all the associated files, including the original .tif. Any file that includes the full name (with .tif extension and some additional extension e.g. .tif.ovr) a world file which has the same base name but .twf instead of .tif and if includeVrt is TRUE a .vrt file with the same name.

Value

a vector of files associated with x


ethanplunkett/rasterPrep documentation built on Sept. 17, 2024, 1:05 p.m.