Clipping Rasters
Clipping operations on rasters are often used for keeping only the areas that are necessary and removing parts that are not needed.
For clipping rasters, FME uses the standard
Clipper transformer (
See example in attached raster_clipping.fmwt).
Vector polygons (or aggregates of polygons) serve as clippers, and rasters are clippees, the result is a set of smaller rasters that are output via the CLIPPED_INSIDE port:
Source feature types:


Destination:
Note that the Clipper has a specific raster option, which allows preserving original raster extents. If we run the example above with this option turned on, we will get three rasters of the same size - 10,000*10,000 pixels, however, visually, there will be no difference. This option may be useful when, for example a clipped raster will replace a tile in some grid system or will use the same external georeferencing file as the original.