FME Transformers: 2024.1

Categories
Calculated Values
Related Transformers
LengthCalculator
StatisticsCalculator
VolumeCalculator

AreaCalculator

Calculates the planar or sloped area of polygon geometries and adds the results as attributes.

Jump to Configuration

Typical Uses

  • Retrieving area values as attributes

How does it work?

The AreaCalculator receives features with any type of geometry, and calculates areas as follows:

  • Area polygons (2D) - plane area

  • Area polygons with z values - plane or sloped area

  • Raster - plane area of raster extents

  • 3D object - cumulative area of all surfaces

  • Other geometries (including point clouds) - receive an area of zero (0)

Area values are stored in a specified attribute.

Units are square ground units according to the feature's coordinate system. A multiplier may be applied to scale the values and convert to different units of measure.

Aggregates are supported.

Examples

Usage Notes

  • Alternatively, the @Area() function can be used in expressions to calculate area values.

  • In general, features in a geographic projection (lat/long) should be reprojected to an appropriate coordinate system before calculating areas. The Reprojector or CommonLocalReprojector may be useful.

Creating and Modifying Area Features

These transformers work with polygons in a variety of ways.

Configuration

Input Ports

Output Ports

Note  Feature order may change in relation to other output ports. Feature order per port is maintained.

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