Class Identifier

Identifier class

Represents an identifier - a reference to external description of an object. If you create a SRS from WKT, Identifier corresponds to “AUTHORITY” keyword.

public class Identifier : IEquatable<Identifier>


Identifier(string, string)Create new instance.


AuthorityName { get; }A name of authority, which gave an AuthorityUniqueIdentifier.
AuthorityUniqueIdentifier { get; }A unique way to represent an object within a AuthorityName.


static Epsg(int)Creates new Identifier that represents EPSG identifier with code epsgCode.
Equals(Identifier)Indicates whether the current object is equal to another object of the same type.
override Equals(object)Determines whether the specified object is equal to the current object.
GetEpsgCode()If this object represents a valid EPSG identifier (e.g. - authority name is “EPSG” and authority unique identifier is integer) - return it. Otherwise - return -1.
override GetHashCode()Serves as the default hash function.
operator ==Implements the operator ==.
operator !=Implements the operator !=.


WGS 84 Spatial reference system have EPSG code 4326, so it might contain identifier:

new  {  = "EPSG",  = 4326 };

WGS 84 Ellipsoid have EPSG code 7030, and it might contain identifier:

new  {  = "EPSG",  = 7030 };

See Also