Snipper

Shortens linear geometry by cutting off the ends.

Jump to Configuration

Typical Uses

How does it work?

The Snipper receives features with line, arc, path, or non-donut area geometry and shortens them according to a specified Starting and Ending Location along the feature.

The snipping locations can be set in a variety of ways:

The portion of the geometry between the snipping locations is output. The snipped-off portions at either end are output as Remnants.

Areas with portions snipped become non-closed and are output as lines. Donut areas are not supported.

Z Values

Z values are supported. If the snipping location is a new vertex, the z value is determined by linear interpolation between the input vertices on either side.

When Snipping Mode is Distance (Value) or Distance (Percentage), z values may be used for distance calculation only if Measurement Mode is 3D. Otherwise, distances are determined by x and y coordinates only.

Snip by Distance (Value)

When entering distance values, note that:

Action

Distance Values

Result

None (Input Feature)

 

Snip out a section of the line.

Snip off the end of the line.

Snip off the beginning of the line.

Snip off an equal amount at both ends.

Snip by Distance (Percentage)

When entering percentage values, note that:

Action

Percentage Values

Result

None (Input Feature)

 

Snip out a section of the line.

Snip off the end of the line.

Snip off the beginning of the line.

Snip by Vertex

When entering vertex indices, note that:

Action

Indices

Result

None (Input Feature)

 

Snip out a section of the line.

Snip off the last two segments of the line.

Snip off the first segment of the line.

Snipping with Measures

When entering measures, note that:

Action

Measures

Result

None (Input Feature with measures)

 

Snip out a section of the line with Measure (Value).

Snip out a section of the line with Measure (Relative to Start Point).

Usage Notes

Creating and Modifying Linear Features

These transformers work with lines 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 has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the Snipper 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.