C# Класс SharpMap.CoordinateSystems.Info

The Info object implements the standard metadata for spatial reference 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.

Наследование: IInfo
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Info 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 text for this object as defined in the simple features specification.

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

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

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

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 text for this object as defined in the simple features specification.
public ToString ( ) : string
Результат string