C# Class SharpMap.CoordinateSystems.CoordinateSystem

Base interface for all coordinate systems.

A coordinate system is a mathematical space, where the elements of the space are called positions. Each position is described by a list of numbers. The length of the list corresponds to the dimension of the coordinate system. So in a 2D coordinate system each position is described by a list containing 2 numbers.

However, in a coordinate system, not all lists of numbers correspond to a position - some lists may be outside the domain of the coordinate system. For example, in a 2D Lat/Lon coordinate system, the list (91,91) does not correspond to a position.

Some coordinate systems also have a mapping from the mathematical space into locations in the real world. So in a Lat/Lon coordinate system, the mathematical position (lat, long) corresponds to a location on the surface of the Earth. This mapping from the mathematical space into real-world locations is called a Datum.

Inheritance: Info, ICoordinateSystem
Show file Open project: jumpinjackie/fdotoolbox

Private Properties

Property Type Description
CoordinateSystem System

Public Methods

Method Description
GetAxis ( int dimension ) : AxisInfo

Gets axis details for dimension within coordinate system.

GetUnits ( int dimension ) : IUnit

Gets the units for the dimension within coordinate system. Each dimension in the coordinate system has corresponding units.

Private Methods

Method Description
CoordinateSystem ( string name, string authority, long authorityCode, string alias, string abbreviation, string remarks ) : System

Initializes a new instance of a coordinate system.

Method Details

GetAxis() public method

Gets axis details for dimension within coordinate system.
public GetAxis ( int dimension ) : AxisInfo
dimension int Dimension
return AxisInfo

GetUnits() public abstract method

Gets the units for the dimension within coordinate system. Each dimension in the coordinate system has corresponding units.
public abstract GetUnits ( int dimension ) : IUnit
dimension int
return IUnit