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
)
Public Shared Function Get (
source As CoordinateReferenceSystem,
target As CoordinateReferenceSystem
) As ICoordinateTransformation
public:
static ICoordinateTransformation^ Get(
CoordinateReferenceSystem^ source,
CoordinateReferenceSystem^ target
)
static member Get :
source : CoordinateReferenceSystem *
target : CoordinateReferenceSystem -> ICoordinateTransformation
Parameters
- source
- Type: Ptv.Components.ProjectionsCoordinateReferenceSystem
The source coordinate reference system. - target
- Type: Ptv.Components.ProjectionsCoordinateReferenceSystem
The target coordinate reference system.
Return Value
Type:
ICoordinateTransformationThe PROJ.4 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