Click or drag to resize

CoordinateTransformationGet Method (CoordinateReferenceSystem, CoordinateReferenceSystem)

Gets a PROJ.4 coordinate transformation for the specified coordinate reference systems.

Namespace:  Ptv.Components.Projections.Proj4
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static ICoordinateTransformation Get(
	CoordinateReferenceSystem source,
	CoordinateReferenceSystem target
)

Parameters

source
Type: Ptv.Components.ProjectionsCoordinateReferenceSystem
The source coordinate reference system.
target
Type: Ptv.Components.ProjectionsCoordinateReferenceSystem
The target coordinate reference system.

Return Value

Type: ICoordinateTransformation
The PROJ.4 coordinate transformation, provided through ICoordinateTransformation.
Exceptions
ExceptionCondition
TransformationNotFoundExceptionThrown if no transformation is available to transform coordinates from the specified source to the specified target coordinate reference system.
See Also