Replaces a range of values in the source raster with a new single value.
Replace Values >= specifies a range bounded by a minimum value, where all values greater than or equal to the supplied value will be replaced by the replacement value.
Replace Values <= specifies a range bounded by a maximum value, where all values less than or equal to the supplied value will be replaced by the replacement value.
If both parameters are specified, both are applied. If the >= value is less than the <= value, then the bounds define a range of values bounded on both ends that will be replaced. For example, >= 100 and <= 200 replace with -999. Alternatively, if the >= value is greater than the <= value, then the bounds define two distinct ranges or everything outside the range provided. For example, >= 200 and <= 100 with -999 replaces all values in both the range >= 200 and the range <= 100, and leaves the values 101-199 unchanged.
Note: To specify a single value to be replaced, set both Replace Values parameters to the same value to be replaced.
Note: To specify that all values except a single value should be replaced, supply two distinct ranges above and below the exempted value. For example, to replace all values except 100 with 0, specify >= 101 and <= 99.
Specifies the new value that will replace the specified range.
Specifies whether nodata values will be replaced. If set to Yes, nodata values will be replaced just as any other values. If set to No, then nodata values will not be replaced, even if they fall within the specified bounds.
- This transformer supports raster band and palette selection. The RasterSelector can be used to modify selection.
- RGB and RGBA color models are not supported by this transformer.
- Rasters that contain bands with palettes are not supported by this transformer.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.