Scaler
Scales x, y, and/or z coordinate values to resize geometry.
Typical Uses
-
Scaling z values for emphasis or de-emphasis
-
Scaling z values when vertical and horizontal units are mismatched
-
Georeferencing
-
Sizing objects or labels
-
Mirroring objects
-
Changing units
How does it work?
The Scaler receives features with any type of geometry and applies a multiplier to their coordinates, resizing the features relative to either their center or the origin of their coordinate system.
X, y and/or z coordinates are multiplied by the provided X, Y, and Z Scale Factors. A scale factor of one (1
) implies no change to a coordinate.
The origin for scaling may be either 0,0 in the feature’s own coordinate system, or the center of the feature itself.
When using the 0,0 origin, if the object being scaled is not on or near the 0,0 point of the coordinate system (as is usually the case with georeferenced data), using the Scaler will also introduce a shift.
When using the Center Point origin, each individual feature will be scaled around its own center, not the center of the dataset’s extents.
Additional parameters are provided for type-specific scaling, including text, raster, and point cloud. This transformer supports raster band and palette selection. The RasterSelector can be used to modify selection.
Examples
Usage Notes
- The Aggregator and Deaggregator may be useful for scaling around a dataset’s center.
- Reprojecting to a local coordinate system may also be useful - see the CommonLocalReprojector and Reprojector (to local coordinate systems).
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 |
|
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 Scaler on the FME Community.
Examples may contain information licensed under the Open Government Licence – Vancouver and/or the Open Government Licence – Canada.