FME Transformers: 2024.1

Categories
Rasters
Related Transformers
Clipper
RasterMosaicker
RasterSubsetter
Tiler
WebMapTiler

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

Tiling extents

Cumulative over all features

Single feature

Type of data accepted

All types except surfaces and solids

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).

Creating Boxes and Rectangles

Creating rectangular geometry is a common task. These transformers do so in a variety of ways.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

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, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.