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

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.

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 PROJReprojector on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver and/or the Open Government Licence – Canada.