GDAL Band Arithmetic tool.
Functions
| Trait(*value_type, **metadata) | Creates a trait definition. |
| on_trait_change(name, *names[, post_init]) | Marks the following method definition as being a handler for the extended trait change specified by name(s). |
Classes
| BAOutputComponent | |
| BaseBAComponent | Base class for all Band Arithmetic tool descriptors. |
| Bool(**metadata[, default_value]) | Defines a trait whose value must be a Python boolean using a C-level |
| DatasetAndBand | Trait with dataset and band |
| DoubleInputBAComponent | |
| Enum(*args, **metadata) | Defines a trait whose value must be one of a specified set of values |
| GXDoubleInputBA([cwd, env, isextraenv, ...]) | |
| GXMultipleInputBA([cwd, env, isextraenv, ...]) | Tool descriptor for double input band arithmetic tools. |
| GXSingleInputBA([cwd, env, isextraenv, ...]) | Tool descriptor for single input band arithmetic tools. |
| GdalInputComponent | Input section component in tool configuration |
| GdalMultipleInputComponent | Double Input section component in tool configuration |
| GdalOutputComponent | Output section component in tool configuration |
| GdalSpecificComponent | Specific section component in tool configuration |
| GdalToolDescriptor([executable, cwd, env, ...]) | Base tool configuration and cmdline building for gdal tools. |
| Group(*values, **traits) | Represents a grouping of items in a user interface view. |
| HGroup(*values, **traits) | A group whose items are laid out horizontally. |
| Instance(**metadata[, klass, factory, args, ...]) | Defines a trait whose value must be an instance of a specified class, |
| Item(**traits[, value]) | An element in a Traits-based user interface. |
| List(**metadata[, trait, value, minlen, ...]) | Defines a trait whose value must be a list whose items are of the |
| MultipleInputBAComponent | |
| MultipleInputBASpecificComponent | Specific Traits component for Band Arithmetic operations with two |
| OptionalTrait(object[, style]) | Base Trait component to make an optional Trait Type GUI. |
| OrderedDict(*args, **kwds) | |
| RangeEditor | Editor factory for range editors. |
| SingleInputBASpecificComponent | Specific Traits component for Band Arithmetic operations with only one |
| Tabbed(*values, **traits) | A group that is shown as a tabbed notebook. |
| TraitsToolDescriptor([executable, cwd, env, ...]) | Tool configuration and cmdline building. |
| View(*values, **traits) | A Traits-based user interface for one or more objects. |
Override standard method.
“of” and “ot” parameter form is different from gdal standard one
Base class for all Band Arithmetic tool descriptors.
This class is meant to be subclassed
Tool descriptor for double input band arithmetic tools.
Usage: gxmba.py [options] pixel_function src_dataset dst_dataset
gxmba.py generates images using pixelfuntion src1dataset srcrb1 src2dataset srcrb2 dstfilename
| --version | show program’s version number and exit |
| -h, --help | show this help message and exit |
| -v, --verbose | print verbose status messages to stdout |
| -q, --quiet | quiet mode |
| -o OUTRASTERBAND, --outrasterband=OUTRASTERBAND | |
| rasterband index starting from 1 | |
| -f FORMAT, --of=FORMAT | |
| output file format (see –format) [default=GTiff] | |
| --formats | display available output formats |
| -t TYPE, --ot=TYPE | |
| output data type (‘Byte’, ‘UInt16’, ‘UInt32’, ‘Int16’, ‘Int32’, ‘Float32’, ‘Float64’) | |
| -x TYPE, --transfer-type=TYPE | |
| output data type (‘Byte’, ‘UInt16’, ‘UInt32’, ‘Int16’, ‘Int32’, ‘Float32’, ‘Float64’) | |
Return args for GXDoubleInputBA tool.
This method does not use inputsection.extractargs, because params order is different from it. Override standard method
Tool descriptor for single input band arithmetic tools.
Return args for GXSingleInputBA tool.
Override standard method.