FME Transformers: 2024.1

Categories
Coordinates
Strings
Related Transformers
CommonLocalReprojector
CsmapAttributeReprojector
CsmapReprojector
GridInQuestIIReprojector
GtransAttributeReprojector
GtransReprojector
ReframeReprojector
ReprojectAngleCalculator
ReprojectLengthCalculator
Reprojector

AttributeReprojector

Reprojects x and y coordinates stored as attributes from one coordinate system to another.

Jump to Configuration

Typical Uses

  • Reprojecting coordinates stored as attributes (not geometry) to the desired coordinate system
  • Adding additional coordinate pairs as attributes, in alternate coordinate systems

How does it work?

The AttributeReprojector accepts any feature. The user specifies the attributes containing x and y coordinates, and supplies both the source and destination coordinate systems.

The transformer reprojects the coordinates according to these selections, and updates the x and y attributes to the new values, overwriting the originals.

This transformer does not alter the feature’s geometry – only the values of the selected X and Y attributes (if they contain coordinate values) are changed.

Accurate results depend on the user’s correct selection of the source coordinate system.

Dynamic Coordinate Systems

Features may be reprojected to a dynamic Destination Coordinate System - that is, a local coordinate system that is created specifically for each individual feature. This is often used for tasks such as taking measurements or creating geometry in meters or other ground units, on data with geographic (latitude and longitude) coordinates.

There are two types available:

  • _AZMEA_ (Dynamic Reprojection Equal Area) - Better for preserving area accuracy
  • _AZMED_ (Dynamic Reprojection Equal Distance) - Better for preserving distance accuracy

In either case, the input feature is reprojected to a local coordinate system centered on its bounding box. Though all the output features will be centered on a common origin (with the exception of features located very near the poles) and appear stacked on top of each other, each one retains the specifics of its reprojection (and so original position), and can be safely reprojected back into a projected or geographic coordinate system.

Note that Z values are not considered, so areas or distances are best preserved for geometry at an ellipsoid height of 0 meters.

Note  To calculate and reproject to a single AZMED or AZMEA coordinate system that encompasses all input features, consider using the CommonLocalReprojector.

Examples

Usage Notes

  • FME has a Workspace Parameter, Reprojection Engine, that may be set to either FME (CS-Map) or Esri. This transformer will honor that parameter setting.
  • This transformer does not do vertical reprojections. For vertical handling, consider using the CsmapAttributeReprojector.

Working With Coordinate System Transformers

FME inherently supports coordinate system transformations and reprojections.

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