PrjParser Class

Constructor of the projection parser class that takes a map projection string as argument.

Definition

Namespace: DHI.Projections
Assembly: DHI.Projections (in DHI.Projections.dll) Version: 25.0.0.0 (11.1.1.1111)
C#
public class PrjParser : IDisposable
Inheritance
Object    PrjParser
Implements
IDisposable

Constructors

PrjParser(IntPtr) Create and initialize a prjParser with the specified MzProjData pointer.
PrjParser(String) Create and initialize a prjParser with the specifed projection string.

Methods

DatumName Extract the datum name used for grouping the map projections from the full WKT string. @remark If a short name is passed to the function, this name is returned as the result
Dispose Free unmanaged ressources
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Format Function that formats a complete WKT map projection string. The WKT string is progressively built from all underlying parameters. @return true if the formatting is successful, false otherwise
FormatAsReadableWKT Format a complete WKT map projection as a readable WKT string.
GetAngularUnit Get the name and value of the angular unit used by the projection.
GetDatum Get the name of the datum used by the projection.
GetDatumShiftParams Get the datum shift parameters used by the projection, if any.
GetEllipsoid Get the name, semi major axis and inverse flatness of the ellipsoid.
GetGeoCSName Get the name of the geographic coordinate system (GeoCS) used by the projection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNoOfParameters Get the number of floating point parameters required to define the projection completely.
GetParameter Get the lead text, value, unit description and unit conversion factor of the nth parameter.
GetPrimeMeridian Get the the name and value of the prime meridian.
GetProjCSName Get the name of the map projection.
GetProjectionType Get the projection type of the parsed projection string.
GetProjectionTypeName Get the name of the projection type.
GetProjectionTypeTitle Get the title of the projection type.
GetProjUnit Get the name and value of the projection unit.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse Parse the projection string
ShortName Extract the short name used for grouping the map projections from the full WKT string.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also