Click or drag to resize

CoordinateTransformationGet Method (String, String)

Gets a PROJ.4 coordinate transformation for the specified coordinate reference system identifiers.

Namespace:  Ptv.Components.Projections.Proj4
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static ICoordinateTransformation Get(
	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: 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