CoordinateTransformationGet Method (String, String) |
Gets a managed coordinate transformation for the specified coordinate reference system identifiers.
Namespace:
Ptv.Components.Projections.Direct
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public static ICoordinateTransformation Get(
string sourceId,
string targetId
)
Public Shared Function Get (
sourceId As String,
targetId As String
) As ICoordinateTransformation
public:
static ICoordinateTransformation^ Get(
String^ sourceId,
String^ targetId
)
static member Get :
sourceId : string *
targetId : string -> ICoordinateTransformation
Parameters
- sourceId
- Type: SystemString
Identifier of the source coordinate reference system. - targetId
- Type: SystemString
Identifier of the target coordinate reference system.
Return Value
Type:
ICoordinateTransformationThe managed coordinate transformation, provided through
ICoordinateTransformation.
Exceptions Exception | Condition |
---|
TransformationNotFoundException | Thrown if no transformation is available to transform coordinates
from the specified source to the specified target coordinate reference system. |
See Also