C# Class ProjNet.CoordinateSystems.Info

The Info object defines the standard information stored with spatial reference objects
Inheritance: IInfo
Datei anzeigen Open project: fivepmtechnology/ProjNET

Private Properties

Property Type Description
Info System

Public Methods

Method 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 text for this object as defined in the simple features specification.

Private Methods

Method Description
Info ( string name, string authority, long code, string alias, string abbreviation, string remarks ) : System

A base interface for metadata applicable to coordinate system objects.

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 method

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
return bool

ToString() public method

Returns the Well-known text for this object as defined in the simple features specification.
public ToString ( ) : string
return string