SpatialReference
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
public SpatialReference()
Fields
Degrees of one radiant.
public const double RadiansToDegrees = 57.2957795130823
Properties
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.
public double AngularUnitOfMeasurement { get; set; }
Implements:
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.
public string Authority { get; set; }
Implements:
Gets or sets the line of longitude at the center of a map projection generally used as the basis for constructing the projection.
public double CentralMeridian { get; set; }
Implements:
Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
public string Datum { get; set; }
Implements:
Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
public string DatumAuthority { get; set; }
Implements:
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.
public double FalseEasting { get; set; }
Implements:
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.
public double FalseNorthing { get; set; }
Implements:
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.
public string GeoGcs { get; set; }
Implements:
Gets or sets the latitude chosen as the origin of rectangular coordinate for a map projection.
public double LatitudeOfOrigin { get; set; }
Implements:
The maximum Latitude this tile source supports.
public double MaxLatitude { get; set; }
Implements:
The maximum Longitude this tile source supports.
public double MaxLongitude { get; set; }
Implements:
The minimum Latitude this tile source supports.
public double MinLatitude { get; set; }
Implements:
The minimum Longitude this tile source supports.
public double MinLongitude { get; set; }
Implements:
Gets or sets logical X offset to centre of earth.
public double OffsetX { get; set; }
Gets or sets logical Y offset to centre of earth.
public double OffsetY { get; set; }
Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
public double Primem { get; set; }
Implements:
Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
public string PrimemAuthority { get; set; }
Implements:
Gets or sets a projection from geographic coordinates to projected coordinates.
public string ProjectionAuthority { get; set; }
Implements:
Gets or sets the real world coordinate scale at a given longitude.
public double ScaleX { get; set; }
Gets or sets the real world coordinate scale at a given latitude.
public double ScaleY { get; set; }
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
public string SpheroidAuthority { get; set; }
Implements:
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
public double SpheroidFlattening { get; set; }
Implements:
Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
public double SpheroidRadius { get; set; }
Implements:
Gets or sets the line of constant latitude at which the surface of the Earth and the plane or developable surface intersect.
public double StandardParallel { get; set; }
Implements:
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.
public string UnitAuthority { get; set; }
Implements:
Methods
Converts a geographical coordinate (Longitude, Latitude) to a logical Point (0->1).
public virtual Point GeographicToLogical(Location geographicPoint)
The geographical coordinate (Longitude, Latitude).
Returns:Point
The logical Point.
Implements:
Calculate size of rectangle from base point.
public virtual Size GetSizeInKilometers(Location basePoint, Size size)
Base point (left-top).
sizeSizeSize in degrees.
Returns:Size
Size of rectangle in kilometers.
Implements:
Calculate size of rectangle from base point.
public virtual Size GetSizeInReferenceUnits(Location basePoint, Size size)
Base point (left-top).
sizeSizeSize in kilometers.
Returns:Size
Size of rectangle in degrees.
Implements:
Converts a logical Point (0->1) to a geographical coordinate (Longitude, Latitude).
public virtual Location LogicalToGeographic(Point logicalPoint)
The logical Point.
Returns:The geographical coordinate (Longitude, Latitude).
Implements: