You are here: FME Transformers > Linear Referencing > Snipper

Snipper

Shortens the geometry of a line feature by snipping off specified distances, indices or measure values from the ends. It operates on features with simple line geometry and polygons without holes.

The parameters specify a starting and ending point for the snipping. After execution, the feature's geometry will be a line representing the portion of the original line between those two positions, inclusive of the endpoints. New coordinates will be generated at the beginning or end of the line, if there are not already coordinates at exactly the specified positions. If the line contains three-dimensional coordinates, the Z value at each endpoint will be interpolated linearly from the original feature's coordinates between which the endpoint exists.

Parameters

Mode

The mode you choose determines which parameters are available and how they are interpreted. Therefore, only the mode parameters are listed here.

In all modes, features containing geometry other than polygons or lines (for example, points and donut polygons) will be passed through this transformer untouched.

Geometry Handling (applicable to some FME workspaces prior to FME 2012)

If the Geometry Handling parameter (under Advanced Workspace Settings) is set to Enhanced in the workspace, arcs and ellipses can be snipped; they are otherwise left untouched.

Usage Notes

The Measurement Mode parameter does not have any effect on two-dimensional lines, or when the Mode is Vertex.

Editing Transformer Parameters

About Transformer Parameter Options

Transformer Categories

Linear Referencing

Transformer History

This transformer replaces the DistanceSnipper and VertexSnipper.

 

Search FMEpedia

Search for samples and information about this transformer on FMEpedia.

Keywords: DistanceSnipper VertexSnipper