MzMapProjection Class |
Note: This API is now obsolete.
The ProjectionString is a WKT string for a spatial reference system. A number of abbreviated strings also exists, i.e., "UTM-33" for a WGS-84 UTM zone 33 projection, and "LONG/LAT" for WGS-84 geographical coordinates.
Namespace: DHI.Generic.Cartography
The MzMapProjection type exposes the following members.
| Name | Description | |
|---|---|---|
| MzMapProjection |
Create and initialize a mapprojection with the specifed projection string.
|
| Name | Description | |
|---|---|---|
| Name |
The short name of a projection.
The short name is not unique amongst all WKT projections If the ProjectionString is not a WKT projection string, the ProjectionString itself is returned as the short name. | |
| ProjectionString |
Returns the WKT projection string, or one of the projection abbreviation strings.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Geo2Proj |
Convert coordinates from geographical coordinates to projection coordinates
| |
| Geo2ProjRotation |
Convert a rotation from true north
into a rotation from map projection north
It subtracts the convergence value from the true north rotation value The convertion depends on the geographical location. | |
| Geo2Xyz |
Convert coordinates from geographical coordinates to 3D coordinates.
The 3D coordinate system origin is at the earth center (ellipsoid center) | |
| GetConvergence |
Get the convergence (orientation towards true north) at the given geographical location.
The convergence is the angle measured clockwise from true north to the north-south gridline passing through the specified coordinate. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetOrigin |
Get the geographical origin of the map projection
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsGeographical |
Checks whether a projection string is using longitude/latitude
coordinates
| |
| IsValidProjection |
Checks whether a projection string is a valid projection string
| |
| IsValidUtmZone |
Checks whether a projection string is a valid UTM zone projection string
| |
| Longitude2UtmZone |
Get the projection string for the UTM zone best matching the longitude coordinate
| |
| Proj2Geo |
Convert coordinates from projection coordinates to geographical coordinates
| |
| Proj2GeoRotation |
Convert a rotation from map projection north
into a rotation from true north.
It adds the convergence value to the projection north rotation value The convertion depends on the geographical location. | |
| ProjectionOrigin |
Returns the geographical origin of the projection defined by the
projstring If the projection string is not a valid WKT string, an exception is thrown. | |
| ProjectionShortName |
Get the short name out of a WKT projetion string.
The short name is not unique amongst all WKT projections If the projString is not a WKT projection string, the projString itself is returned as the short name. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Xyz2Geo |
Convert coordinates from 3D coordinates to geographical coordinates.
The 3D coordinate system origin is at the earth center (ellipsoid center) |