Import IDRISI raster

This tool can be used to import IDRISI raster files (*.rdc and *.rst) to Whitebox GAT raster files. This IDRISI raster format is a type of binary file that is not human-readable. The user must specify the name of one or more IDRISI .rst files to be imported. Importantly, the corresponding header files (*.rdc) must be located within the same directory as the specified data files (*.rst). The tool will create Whitebox GAT raster files for each input file. Output file names are the same of the input files. The tool supports import of IDRISI byte, integer, real, and RGB24 data types.

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.rst" + ";" + wd + "input2.rst" + ";" + wd + "input3.rst"
args = [inputFiles]
pluginHost.runPlugin("ImportIDRISIRaster", 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.rst" + ";" + wd + "input2.rst" + ";" + wd + "input3.rst"
String[] args = [inputFiles]
pluginHost.runPlugin("ImportIDRISIRaster", args, false)

Credits: