Click or drag to resize

ProjectionTranslator Class

Class for translating between different projection strings
Inheritance Hierarchy
SystemObject
  DHI.ProjectionsProjectionTranslator

Namespace:  DHI.Projections
Assembly:  DHI.Projections (in DHI.Projections.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class ProjectionTranslator

The ProjectionTranslator type exposes the following members.

Constructors
  NameDescription
Public methodProjectionTranslator
Initializes a new instance of the ProjectionTranslator class
Top
Methods
  NameDescription
Public methodStatic memberConvertWkt2Proj4(String)
Function that converts a map projection string in WKT (PRJ) format to PROJ.4 format.
Public methodStatic memberConvertWkt2Proj4(String, Double)
Function that converts a map projection string in WKT (PRJ) format to PROJ.4 format.

Optional datum shift parameters to wgs84 datum (going to WGS84) can be provided, but you can also specify datumShiftParameters as null.

Datum shift parameter must be specified in order and unit as defined in the Proj.4 projection string:

delta_x, 
delta_y, 
delta_z, 
Rx - rotation X, 
Ry - rotation Y, 
Rz - rotation Z, 
M_BF - Scaling.
The three translation parameters are in meters. The rotational parameters are in seconds of arc. The scaling is the scale change in parts per million. In case of a 3 parameter conversion, only the 3 translation parameters needs to be specified.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also