Click or drag to resize

CoordinateReferenceSystem Class

Abstract class that defines coordinate reference systems for projecting geographical points into pixel (screen) coordinates and back.
Inheritance Hierarchy
SystemObject
  GSF.GeoCoordinateReferenceSystem
    GSF.GeoEarth

Namespace: GSF.Geo
Assembly: GSF.Geo (in GSF.Geo.dll) Version: 2.4.218.0 (2.4.218.0)
Syntax
public abstract class CoordinateReferenceSystem
View Source

The CoordinateReferenceSystem type exposes the following members.

Constructors
 NameDescription
Protected methodCoordinateReferenceSystemInitializes a new instance of the CoordinateReferenceSystem class
Top
Properties
 NameDescription
Public propertyProjection Gets the projection used by the CRS.
Public propertyTransformation Gets the transformation used by the CRS.
Top
Methods
 NameDescription
Public methodDistance Returns the distance between two geographical coordinates.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodScale Returns the scale used when transforming projected coordinates into pixel coordinates for a particular zoom. For example, it returns 256 * 2^zoom for Mercator-based CRS.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTranslate(GeoCoordinate, Double) Translates the given geographical coordinate to a cartesian point at the given zoom level.
Public methodTranslate(Point, Double) Translates the given cartesian point to a geographical coordinate at the given zoom level.
Public methodZoom Returns the zoom level corresponding to the given scale factor.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
http://en.wikipedia.org/wiki/Coordinate_reference_system
See Also