You are here: Geometric OperatorsClipper

Clipper

Performs a geometric clipping operation.

This transformer takes a number of clip boundaries (Clippers) and a number of features to be clipped (Clippees). The output is split into two groups: the parts of the Clippees that are within the clip boundaries, and the parts of the Clippees that are not within the clip boundaries. The Clippees that intersect the clip boundaries will be cut into multiple sections (along the clip boundaries), and then each section will be added to the appropriate group. The Clippees that do not intersect are added directly to the appropriate group, and are output without modification.

Input Ports

Output Ports

Parameters

Transformers

Parameters

Vector Processing

Raster Processing

Merge Attributes

Usage Notes

  • This transformer works with raster, point cloud, and vector data.
  • This transformer is unaffected by raster band and palette selection.
  • Clipped raster cells (i.e. those outside the clipper but part of an Inside raster) will be set to the nodata value. If a nodata value has not been set, clipped raster cells will be set to 0. To set a value for nodata, use the RasterBandNodataSetter transformer prior to the Clipper.

Example

The example below illustrates the input features on the left and the output features on the right. Both the input and output consist of a clipping boundary (1) (Clippers) in blue and the clip features (2) (Clippees) in red. The output then splits the features into two groups: Inside port and Outside port.

The Clippee features highlighted in white fall within or intersect the clipper, and these features are output to the Inside (3) port. The Clippee features that fall outside of the clipping boundary are output to the Outside (4) port.

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.

Transformer Categories

Geometric Operators

 

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.

Tags Keywords: MBR "minimum bounding rectangle" raster grid clip clipper clippee subset extent sample bound clean conflation overshoot undershoot pointcloud