C# Class MapAround.CoordinateSystems.Transformations.CoordinateTransformationFactory

Creates coordinate transformations.
Inheritance: ICoordinateTransformationFactory
Mostrar archivo Open project: gkrsu/maparound.core Class Usage Examples

Public Methods

Method Description
CreateFromCoordinateSystems ( ICoordinateSystem sourceCS, ICoordinateSystem targetCS ) : ICoordinateTransformation

Creates a transformation between two coordinate systems.

This method will examine the coordinate systems in order to construct a transformation between them. This method may fail if no path between the coordinate systems is found, using the normal failing behavior of the DCP (e.g. throwing an exception).

Private Methods

Method Description
CreateCoordinateOperation ( IGeocentricCoordinateSystem geo ) : IMathTransform
CreateCoordinateOperation ( IProjection projection, IEllipsoid ellipsoid, ILinearUnit unit ) : IMathTransform
CreateGeoc2Geoc ( IGeocentricCoordinateSystem source, IGeocentricCoordinateSystem target ) : ICoordinateTransformation

Creates geocentric to geocentric transformation.

Adds a datum shift if nessesary

CreateGeog2Geog ( IGeographicCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation

Creates geographic to geographic transformation.

Adds a datum shift if nessesary

Geoc2Geog ( IGeocentricCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation
Geog2Geoc ( IGeographicCoordinateSystem source, IGeocentricCoordinateSystem target ) : ICoordinateTransformation
Geog2Proj ( IGeographicCoordinateSystem source, IProjectedCoordinateSystem target ) : ICoordinateTransformation
Proj2Geog ( IProjectedCoordinateSystem source, IGeographicCoordinateSystem target ) : ICoordinateTransformation
Proj2Proj ( IProjectedCoordinateSystem source, IProjectedCoordinateSystem target ) : ICoordinateTransformation

Method Details

CreateFromCoordinateSystems() public method

Creates a transformation between two coordinate systems.
This method will examine the coordinate systems in order to construct a transformation between them. This method may fail if no path between the coordinate systems is found, using the normal failing behavior of the DCP (e.g. throwing an exception).
public CreateFromCoordinateSystems ( ICoordinateSystem sourceCS, ICoordinateSystem targetCS ) : ICoordinateTransformation
sourceCS ICoordinateSystem Source coordinate system
targetCS ICoordinateSystem Target coordinate system
return ICoordinateTransformation