FME Transformers: 2024.2

Categories
Coordinates
Integrations
Related Transformers
AttributeReprojector
CommonLocalReprojector
CsmapAttributeReprojector
CsmapReprojector
EsriReprojector
GridInQuestIIReprojector
GtransAttributeReprojector
GtransReprojector
PROJAttributeReprojector
ReframeReprojector
ReprojectAngleCalculator
ReprojectLengthCalculator
Reprojector

PROJReprojector

Reprojects feature coordinates from one coordinate system to another using the PROJ library.

Jump to Configuration

Typical Uses

  • Reprojecting features when explicitly using the PROJ library is desired

How does it work?

The PROJReprojector receives raster, vector, or point cloud features and reprojects their coordinates from one coordinate system to another, using PROJ coordinate system definitions and PROJ reprojection library.

FME currently uses PROJ version 9.5.0.

The transformation can be automatically or manually configured. For Automatic transformations, the Source Coordinate System may be read from the features or specified explicitly, and the Destination Coordinate System must be specified.

For Manual transformations, a PROJ string must be provided describing the desired transformation, as documented at PROJ’s Transformation Pipelines and shown in the examples further below. WKT2 descriptions are also valid.

Coordinate System Definitions

This transformer will accept coordinate systems defined in any one of the following forms.

Definition Style

Example: LL-WGS84 Defined

External Reference

EPSG Number

EPSG:4326

EPSG Website

Well-Known Text (WKT1 or WKT2)

GEODCRS["WGS 84",

DATUM["World Geodetic System 1984",

ELLIPSOID["WGS 84",6378137,298.257223563,

LENGTHUNIT["metre",1.0]]],

CS[ellipsoidal,2],

AXIS["latitude",north,ORDER[1]],

AXIS["longitude",east,ORDER[2]],

ANGLEUNIT["degree",0.01745329252],

ID["EPSG",4326]]

Open Geospatial Consortium: Geographic information — Well-known text representation of coordinate reference systems

Note that the EPSG website can also provide WKT strings for specific coordinate systems.

PROJ String

+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs

PROJ Projections

They are fully interchangeable and can be used in any combination to define the Source and Destination Coordinate System for an Automatic transformation.

They may also be used in a PROJ string or pipeline for a Manual transformation.

Note that EPSG and WKT representations can more fully describe a coordinate system than PROJ strings, and so are the preferred definition types.

Geographic Transformations and Grids

Geographic Transformations control how coordinates are converted between different datums.

For an Automatic Transformation, FME will attempt to select an appropriate transformation between the Source and Destination coordinate systems.

Manual Transformations are performed as specified in the Manual Transformation Parameters.

Grid-Based Datum Adjustments

Some areas use grid shift files for datum conversion.

Many grids needed by PROJ are included with FME, and additional grids may be downloaded from the PROJ website.

PROJ will generally search for an appropriate grid to use, although specific paths or URLS may be specified in a transformation definition.

PROJ User Data

Grids and customized proj.db files may be placed in your [FME User Directory]/ProjData folder.

Sample ProjData folder locations:

macOS

/Users/[User]/Library/Application\ Support/FME/ProjData/

Windows 10

C:\Users\[User]\Documents\FME\ProjData

Linux

/home/[User]/.fme/ProjData

PROJ transformers will give preference to files placed in this folder over other locations, including the proj.db and grid files shipped with FME.

Rasters

Additional parameters are available for raster features, specifying how the reprojected cells are to be interpolated.

This transformer is not affected by raster band and palette selection.

Examples

Usage Notes

  • Earlier versions of PROJ used the proj-datumgrid grid files package, which is still available on the PROJ website. It should be replaced by the current proj-data package.
  • FME has a Workspace Parameter, Reprojection Engine, that may be set to either FME (CS-Map) or Esri. This transformer will override this parameter setting.
  • The Reprojector provides similar functionality, and will use the default library (CS-Map or Esri) set in FME. It does not handle z values.
  • To reproject coordinates stored as attribute values, consider using the PROJAttributeReprojector.
  • Automatic Transformations will produce a PROJ pipeline string in the log, which can be used as a template for Manual Transformations.

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 has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the PROJReprojector 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.