C# Class MapAround.CoordinateSystems.SpatialReferenceInfo

Implements the IInfo interface. Defines the standard information stored with spatial reference objects.
Inheritance: IInfo
Afficher le fichier Open project: gkrsu/maparound.core

Private Properties

Свойство Type Description
SpatialReferenceInfo System

Méthodes publiques

Méthode Description
EqualParams ( object obj ) : bool

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.

ToString ( ) : string

Returns the well-known of this object.

Private Methods

Méthode Description
SpatialReferenceInfo ( string name, string authority, long code, string alias, string abbreviation, string remarks ) : System

Initializes a new instance of the MapAround.CoordinateSystems.Info.

The metadata items "Abbreviation", "Alias", "Authority", "AuthorityCode", "Name" and "Remarks" were specified in the Simple Features interfaces, so they have been kept here.

This specification does not dictate what the contents of these items should be. However, the following guidelines are suggested:

When ICoordinateSystemAuthorityFactory is used to create an object, the "Authority" and "AuthorityCode" values should be set to the authority name of the factory object, and the authority code supplied by the client, respectively. The other values may or may not be set. (If the authority is EPSG, the implementer may consider using the corresponding metadata values in the EPSG tables.)

When CoordinateSystemFactory creates an object, the "Name" should be set to the value supplied by the client. All of the other metadata items should be left empty

Method Details

EqualParams() public abstract méthode

Checks whether the values of this instance is equal to the values of another instance. Only parameters used for coordinate system are used for comparison. Name, abbreviation, authority, alias and remarks are ignored in the comparison.
public abstract EqualParams ( object obj ) : bool
obj object
Résultat bool

ToString() public méthode

Returns the well-known of this object.
public ToString ( ) : string
Résultat string