Import GeoTIFF

This tool can be used to import GeoTIFF files (*.tif) to Whitebox GAT raster files. GeoTIFF files are a type of binary image file that are not human-readable. The user must specify the name of one or more GeoTIFF files to be imported. The tool will create Whitebox GAT raster files for each input file. Output file names are the same of the input files. The tool does not supports import of GeoTIFF files that are compressed or 48-bit or 64-bit RGB and aRGB GeoTIFFs.

See Also:

Scripting:

The following is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
# You may have multiple input files but they must
# be separated by semicolons in the string.
inputFiles = wd + "input1.tif" + ";" + wd + "input2.tif" + ";" + wd + "input3.tif"
args = [inputFiles]
pluginHost.runPlugin("ImportGeoTiff", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
// You may have multiple input files but they must
// be separated by semicolons in the string.
def inputFiles = wd + "input1.tif" + ";" + wd + "input2.tif" + ";" + wd + "input3.tif"
String[] args = [inputFiles]
pluginHost.runPlugin("ImportGeoTiff", args, false)

Credits: