FME Transformers: 2024.1

Categories
Cartography and Reports
Geometries
Related Transformers
2DArcReplacer
2DEllipseReplacer
3DArcReplacer
ArcEstimator
ArcPropertyExtractor
ArcPropertySetter
ArcStroker
Creator
EllipsePropertyExtractor
EllipsePropertySetter
Generalizer

Curvefitter

Replaces geometry with an optimal path of line segments and arcs, creating smooth, curving lines and areas.

Jump to Configuration

Typical Uses

  • Optimizing file size or processing by reducing vertices

  • Smoothing jagged geometry

  • Restoring stroked arcs

How does it work?

The CurveFitter receives line and area features and replaces their geometry with a path composed of lines and arcs.

An optimal path is calculated based on a number of parameters:

  • Precision - the maximum amount the new geometry may deviate from the original.

  • Flattening - allows shallow curves to be converted to straight line segments.

  • Weighting - Compression, Smoothness, and Accuracy Weight may be adjusted to emphasize desired outcomes.

Adjacent area boundaries may be preserved, preventing the introduction of gaps and overlaps.

Examples

Usage Notes

  • In general, arcs do not reproject well. Consider using the ArcStroker prior to reprojecting arcs.

  • In some cases such as working with contours, the Generalizer and its numerous Algorithm choices may be a better choice of transformer.

  • Not all formats support path geometry, and so CurveFitter results may be stroked when writing to them. The PathSplitter can be used to break a path into its component lines and arcs. See Path geometry.

Creating and Modifying Arcs, Circles, and Ellipses

These transformers work with arcs 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, except when Preserve Shared Boundaries is Yes.

Dependencies None
Aliases  
History Formerly an extra-cost add-on.

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