RasterTiler

Splits each input raster into a series of tiles by specifying either a tile size in cells/pixels or the number of tiles.

Jump to Configuration

Typical Uses

  • Dividing a raster into smaller rasters
  • Reversing the action of a RasterMosaicker
  • Tiling rasters to match the extents of additional datasets to enable group processing
  • Tiling data to facilitate parallel processing

How does it work?

The RasterTiler accepts raster features, and divides them into smaller tiles according to the parameter selections.

Tile size can be defined by specifying tile dimensions in cells/pixels, or by specifying the number of tiles to create, both vertically and horizontally.

In either case, the tiles are measured from the upper-left origin (0,0) position. If tiling by Tile Size, the origin can be offset (Seed Column and Seed Row).

If the specified tile size results in partial (smaller) tiles along the right or lower edge, the Force Equal Sized Tiles option can pad smaller tiles with cells to match the full tile size.

Attributes may be added to the output tiled raster features, including an original raster index, row and column positions, and tile counts.

This transformer is unaffected by raster band and palette selection.

RasterTiler or Tiler?

The Tiler transformer also tiles rasters, and may be appropriate if you wish to tile based on ground coordinates instead of pixels or tile number division. This table compares the two:

  Tiler RasterTiler
Type of data accepted All types Raster only
Tile size units Ground coordinates Pixel coordinates
Tile row numbering (0, 1,...) Selectable Top to bottom
Supports forcing equal-size tiles No Yes
Supports raster index attribute No Yes
Supports number of horizontal/vertical tiles attribute No Yes

Examples

Usage Notes

Choosing a Raster Transformer

FME has an extensive selection of transformers for working with raster data. They can be generally categorized as working with whole rasters, bands, cells or palettes, and those designed for workflow control or combining raster with vector data.

For information on raster geometry and properties, see Rasters (IFMERaster).

Configuration

Input Ports

Output Ports

Parameters

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.

Defining Values

There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Dialog Options - Tables

Transformers with table-style parameters have additional tools for populating and manipulating values.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
Aliases  
History  

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the RasterTiler on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver and/or the Open Government Licence – Canada.