Click or drag to resize
MapProjection Methods

The MapProjection type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleAreIdentical
Function that checks if two projecions are identical.

Two map projections are identical, if they have the same set of parameters. if just one of the parameters are different, then the map projections are NOT identical.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGeo2Proj
Convert coordinates from geographical coordinates to projection coordinates
Public methodGeo2ProjRotation
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.

Public methodGeo2Xyz
Convert coordinates from geographical coordinates and height to 3D Euclidean coordinates.

The 3D coordinate system origin is at the earth center (ellipsoid center)

Public methodGetConvergence
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.

Public methodGetDefaultArea
Function that returns the default area in map projection coordinates of the projection.

The default area is the area where the projection is ment to be used and where it is accurate. It is not recommended to use the map projection outside its default area.

Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOrigin
Get the geographical origin of the map projection
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHasDatum
Returns true if the projectionString projection has a datum definition.

If a projection does not have an underlying datum, reprojections including datum shifts cannot be performed.

Public methodStatic memberIsGeographical
Returns true if the projectionString projection is a geographical projection, i.e. based on spherical (lon, lat) coordinates
Public methodStatic memberIsGeoreferenced
Returns true if the projectionString projection is georeferenced, meaning that it is based on, or can convert to, geographical coordinates (longitude, latitude).
Public methodStatic memberIsLocal
Returns true if the projectionString defines a local coordinate system that is not georeferenced.

The projection string for a local coordinate system is the string: "NON-UTM"

Public methodStatic memberIsLongLat
Returns true if the projectionString projection is "LONG/LAT"

"LONG/LAT" is a geographical coordinate system without an underlying datum (ellipsoid) definition.

Public methodStatic memberIsValid
Returns true if the projectionString is a valid projection string
Public methodStatic memberLongitude2UtmZone
Get the projection string for the UTM zone best matching the longitude coordinate
Public methodProj2Geo
Convert coordinates from projection coordinates to geographical coordinates
Public methodProj2GeoRotation
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.

Public methodStatic memberProjectionOrigin
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.

Public methodStatic memberProjectionShortName
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.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodXyz2Geo
Convert coordinates from Euclidean 3D coordinates to geographical coordinates and height.

The 3D coordinate system origin is at the earth center (ellipsoid center)

Top
See Also