CoordinateSwapper
Swaps coordinate axes of the input features.
Parameters
X with Y: Each feature's x-coordinates will be swapped with its y-coordinates.
X with Z: Each feature's x-coordinates will be swapped with its z-coordinates.
Y with Z: Each feature's y-coordinates will be swapped with its z-coordinates.
Usage Notes
There are three common uses for this transformer:
- The transformer was originally intended to help solve the problem of Lat/Long order, where some formats expect Latitude/Longitude, and others expected Longitude/Latitude.
- The transformer can also be used to swap X or Y values with the Z axis to produce a cross-section view of a dataset, such as a building model elevation.
- The transformer can also be used as a tool for quality assurance purposes, where switching the data into a different plane causes spikes in the other axes, like this:
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.
Transformer Categories
Search FME Community
Search for samples and information about this transformer on the FME Community.
Keywords: transform transpose transposer switch