Click or drag to resize

CoordinateTransformationsGetTransformation Method

Gets a managed transformation for the given CRS identifiers.

Namespace:  Ptv.Components.Projections.Direct
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static TransformDelegate GetTransformation(
	string sourceId,
	string targetId
)

Parameters

sourceId
Type: SystemString
Identifier of the source coordinate reference system.
targetId
Type: SystemString
Identifier of the target coordinate reference system.

Return Value

Type: TransformDelegate
The TransformDelegate for performing a direct coordinate transformation, which may be null, if the specified transformation does not exist.
Exceptions
ExceptionCondition
TransformationNotFoundExceptionThrown if no transformation is available to transform coordinates from the specified source to the specified target coordinate reference system.
See Also