ClassSpatialReference
The OGC Spatial Reference requirements.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class SpatialReference : ISpatialReference
Inheritance: objectSpatialReference
Derived Classes:
Implements:
Constructors
SpatialReference()
Declaration
public SpatialReference()
Fields
HalfPI
Half of PI.
RadiansToDegrees
Degrees of one radiant.
Declaration
public const double RadiansToDegrees = 57.2957795130823
Field Value
Properties
AngularUnitOfMeasurement
Gets or sets the measurement units used to define the angles of a spheroid or ellipse associated with a specific datum. The datum is WGS 1984 and the unit of measurement is a degree.
Declaration
public double AngularUnitOfMeasurement { get; set; }
Property Value
Implements
Authority
Gets or sets the authority body that defines the standards for the spatial reference parameters. The Spatial Reference is WGS 1984 and the authority is EPSG:4326.
Declaration
public string Authority { get; set; }
Property Value
Implements
CentralMeridian
Gets or sets the line of longitude at the center of a map projection generally used as the basis for constructing the projection.
Declaration
public double CentralMeridian { get; set; }
Property Value
Implements
Datum
Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
DatumAuthority
Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
Declaration
public string DatumAuthority { get; set; }
Property Value
Implements
FalseEasting
Gets or sets value added to all "x" values in the rectangular coordinate for a map projection. This value frequently is assigned to eliminate negative numbers. Expressed in the unit of measure identified in Planar Coordinate Units.
Declaration
public double FalseEasting { get; set; }
Property Value
Implements
FalseNorthing
Gets or sets value added to all "y" values in the rectangular coordinates for a map projection. This value frequently is assigned to eliminate negative numbers. Expressed in the unit of measure identified in Planar Coordinate Units.
Declaration
public double FalseNorthing { get; set; }
Property Value
Implements
GeoGcs
Gets or sets coordinate system based on latitude and longitude. Some geographic coordinate systems are Latitude/Longitude, and some are Longitude/Latitude. You can find out which this is by examining the axes. You should also check the angular units, since not all geographic coordinate systems use degrees.
LatitudeOfOrigin
Gets or sets the latitude chosen as the origin of rectangular coordinate for a map projection.
Declaration
public double LatitudeOfOrigin { get; set; }
Property Value
Implements
MaxLatitude
The maximum Latitude this tile source supports.
Declaration
public double MaxLatitude { get; set; }
Property Value
Implements
MaxLongitude
The maximum Longitude this tile source supports.
Declaration
public double MaxLongitude { get; set; }
Property Value
Implements
MinLatitude
The minimum Latitude this tile source supports.
Declaration
public double MinLatitude { get; set; }
Property Value
Implements
MinLongitude
The minimum Longitude this tile source supports.
Declaration
public double MinLongitude { get; set; }
Property Value
Implements
OffsetX
Gets or sets logical X offset to centre of earth.
OffsetY
Gets or sets logical Y offset to centre of earth.
Primem
Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
PrimemAuthority
Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
Declaration
public string PrimemAuthority { get; set; }
Property Value
Implements
ProjectionAuthority
Gets or sets a projection from geographic coordinates to projected coordinates.
Declaration
public string ProjectionAuthority { get; set; }
Property Value
Implements
ScaleX
Gets or sets the real world coordinate scale at a given longitude.
ScaleY
Gets or sets the real world coordinate scale at a given latitude.
SpheroidAuthority
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
public string SpheroidAuthority { get; set; }
Property Value
Implements
SpheroidFlattening
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
public double SpheroidFlattening { get; set; }
Property Value
Implements
SpheroidRadius
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
public double SpheroidRadius { get; set; }
Property Value
Implements
StandardParallel
Gets or sets the line of constant latitude at which the surface of the Earth and the plane or developable surface intersect.
Declaration
public double StandardParallel { get; set; }
Property Value
Implements
UnitAuthority
Gets or sets the authority body that defines the unit of measurement i.e. European Petroleum Survey Group (EPSG). The unit of measurement is usually degrees and the authority for the datum the map uses, WGS 1984 is EPSG:4326.
Declaration
public string UnitAuthority { get; set; }
Property Value
Implements
Methods
GeographicToLogical(Location)
Converts a geographical coordinate (Longitude, Latitude) to a logical Point (0->1).
Declaration
public virtual Point GeographicToLogical(Location geographicPoint)
Parameters
geographicPoint
The geographical coordinate (Longitude, Latitude).
Returns
Point
The logical Point.
Implements
GetSizeInKilometers(Location, Size)
Calculate size of rectangle from base point.
Declaration
public virtual Size GetSizeInKilometers(Location basePoint, Size size)
Parameters
basePoint
Base point (left-top).
size
Size
Size in degrees.
Returns
Size
Size of rectangle in kilometers.
Implements
GetSizeInReferenceUnits(Location, Size)
Calculate size of rectangle from base point.
Declaration
public virtual Size GetSizeInReferenceUnits(Location basePoint, Size size)
Parameters
basePoint
Base point (left-top).
size
Size
Size in kilometers.
Returns
Size
Size of rectangle in degrees.
Implements
LogicalToGeographic(Point)
Converts a logical Point (0->1) to a geographical coordinate (Longitude, Latitude).
Declaration
public virtual Location LogicalToGeographic(Point logicalPoint)
Parameters
logicalPoint
Point
The logical Point.
Returns
The geographical coordinate (Longitude, Latitude).
Implements