C# Класс MapAround.CoordinateSystems.SpatialReferenceInfo

Implements the IInfo interface. Defines the standard information stored with spatial reference objects.
Наследование: IInfo
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
SpatialReferenceInfo System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

EqualParams() публичный абстрактный Метод

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
Результат bool

ToString() публичный Метод

Returns the well-known of this object.
public ToString ( ) : string
Результат string