CsmapReprojector

Reprojects feature coordinates from one coordinate system to another using the CS-MAP library.

Parameters

Coordinate Systems

Vertical

See Vertical Grids for more information.

Raster Parameters

Dynamic Coordinate Systems

If the destination coordinate system is specified as "_AZMEA_" or "_AZMED_", each input feature is reprojected to either an equal area or equal distance projection appropriate for that feature, respectively. In general, this causes a new coordinate system to be defined for each input feature.

Each feature remembers which specific equal distance or equal area coordinate system it has, and can be safely reprojected back to a normal (non-dynamic) coordinate system.

For example:

There is an input feature representing a point on the earth in LL-WGS84 (normal lat/long).

  • The point is reprojected to _AZMED_ via a CsmapReprojector transformer. The Source Coordinate System parameter is set to LL-WGS84 and the Destination Coordinate System parameter is set to _AZMED_.
  • The x and y coordinates of the point are extracted into x1, y1.
  • Set x2 = x1 + 1000, and y2 = y1.
  • Add a vertex to the point to make the line (x1,y1) -> (x2,y2).
  • Reproject back to LL-WGS84 via a CsmapReprojector with the Source Coordinate System parameter set to ”Read from feature” and the Destination Coordinate System parameter set to LL-WGS84.

You have now changed the point into a line extending 1km east of the original point, in lat/long.

Dynamic coordinate systems have the following limitation:

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

Usage Notes

  • This transformer works with raster, vector, and point cloud data.
  • This transformer is unaffected by raster band and palette selection.

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.

 

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 samples and information about this transformer on the FME Community.