Click or drag to resize

CoordinateTransformationGet Method (CoordinateReferenceSystem, CoordinateReferenceSystem)

Gets a coordinate transformation for the specified coordinate reference systems.

Namespace:  Ptv.Components.Projections
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 coordinate transformation, provided through ICoordinateTransformation.
Exceptions
ExceptionCondition
TransformationNotFoundExceptionA TransformationNotFoundException will be thrown if the coordinate transformation cannot be constructed.
Remarks
See Also