Tiler

Splits input features into a series of tiles by specifying either tile size (in ground units) or total number of tiles.  

Jump to Configuration

Typical Uses

  • Tiling data for storage or processing efficiency

  • Tiling data to match the extents of other datasets to enable group processing

How does it work?

The Tiler accepts features with most types of geometry, including vector, raster, and point cloud. 2D and 3D features are supported, with the exception of surfaces and solids. The input features are divided into a series of rectangular tiles, according to parameter selections.

The extent of each tile may be described by:

  • Dimensions in Ground Units - where the height and width of the tiles are specified explicitly in the ground units of the features’ coordinate system, or

  • Number of Tiles - where the bounding box encompassing all features is divided by the specified number of columns and rows.

Features receive Row and Column number attributes identifying the tile they fall within. Rows and columns are numbered from zero (0) and the numbering may start in any corner.

Features are split where they cross tile boundaries. Elements that fall on tile borders may be duplicated in each tile.

Seed coordinates can be used to control tile position when Define Tiles By is Dimensions in Ground Units.

3D features are tiled as they overlay the 2D tiles. Where they are split, z values may be interpolated in a variety of ways. Measures may also be interpolated where required.

RasterTiler or Tiler?

The RasterTiler also tiles rasters, and may be appropriate if you wish to tile based on number of cells (pixels) per tile. 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

  • Features in a latitude/longitude coordinate system may need to be reprojected prior to tiling. Consider using the Reprojector or other reprojection transformers. For temporary reprojection for defined tile size, the CommonLocalReprojector may be useful.

  • The Tiler does not create grid. For grid, see the 2DGridAccumulator or 2DGridCreator.

Creating Boxes and Rectangles

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

Transformer

Function

Creator

Creates one or more new features with box geometry of a specific size and position (when Geometry Object is Box).

2DBoxReplacer

Replaces an existing feature’s geometry with a box of a specific size and position.

BoundingBoxAccumulator

Creates one rectangle that encompasses all features received.

BoundingBoxReplacer

Individually replaces the geometry of each feature with a rectangle that covers its extents.

RasterExtentsCoercer

Individually replaces the geometry of each raster feature with a rectangle that covers its extents (with various Extents Type options).

BoundsExtractor

Extracts the coordinate values that describe an individual feature’s bounding box (or cube) and stores them as attributes.

2DGridAccumulator

Creates a series of regularly-spaced rectangles that span the extent of all features received (when Type of Grid to Create is Polygons).

2DGridCreator

Creates a series of regularly-spaced rectangles of a specific size and position (when Type of Grid to Create is Polygons).

Tiler and RasterTiler

Do not create actual rectangles, but chop features into a series of rectangular tiles, specified in a similar fashion to the 2DGridAccumulator.

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

Group-Based

Feature Holding

Yes

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 Tiler on the FME Community.

 

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

Keywords: raster grid clip subset tile extent bound limit Tessellate Tessellation pointcloud