Class SpatialReference
The OGC Spatial Reference requirements.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class SpatialReference : Object, ISpatialReference
Constructors
SpatialReference()
Declaration
public SpatialReference()
Fields
HalfPI
Half of PI.
Declaration
public const double HalfPI = 0.159154943091895
Field Value
System.Double
|
RadiansToDegrees
Degrees of one radiant.
Declaration
public const double RadiansToDegrees = 57.2957795130823
Field Value
System.Double
|
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
System.Double
|
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
System.String
|
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
System.Double
|
Implements
Datum
Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
Declaration
public string Datum { get; set; }
Property Value
System.String
|
Implements
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
System.String
|
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
System.Double
|
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
System.Double
|
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.
Declaration
public string GeoGcs { get; set; }
Property Value
System.String
|
Implements
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
System.Double
|
Implements
MaxLatitude
The maximum Latitude this tile source supports.
Declaration
public double MaxLatitude { get; set; }
Property Value
System.Double
|
Implements
MaxLongitude
The maximum Longitude this tile source supports.
Declaration
public double MaxLongitude { get; set; }
Property Value
System.Double
|
Implements
MinLatitude
The minimum Latitude this tile source supports.
Declaration
public double MinLatitude { get; set; }
Property Value
System.Double
|
Implements
MinLongitude
The minimum Longitude this tile source supports.
Declaration
public double MinLongitude { get; set; }
Property Value
System.Double
|
Implements
OffsetX
Gets or sets logical X offset to centre of earth.
Declaration
public double OffsetX { get; set; }
Property Value
System.Double
|
OffsetY
Gets or sets logical Y offset to centre of earth.
Declaration
public double OffsetY { get; set; }
Property Value
System.Double
|
Primem
Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
Declaration
public double Primem { get; set; }
Property Value
System.Double
|
Implements
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
System.String
|
Implements
ProjectionAuthority
Gets or sets a projection from geographic coordinates to projected coordinates.
Declaration
public string ProjectionAuthority { get; set; }
Property Value
System.String
|
Implements
ScaleX
Gets or sets the real world coordinate scale at a given longitude.
Declaration
public double ScaleX { get; set; }
Property Value
System.Double
|
ScaleY
Gets or sets the real world coordinate scale at a given latitude.
Declaration
public double ScaleY { get; set; }
Property Value
System.Double
|
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
System.String
|
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
System.Double
|
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
System.Double
|
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
System.Double
|
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
System.String
|
Implements
Methods
GeographicToLogical(Location)
Converts a geographical coordinate (Longitude, Latitude) to a logical Point (0->1).
Declaration
public virtual Point GeographicToLogical(Location geographicPoint)
Parameters
Location
geographicPoint
The geographical coordinate (Longitude, Latitude). |
Returns
System.Windows.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
Location
basePoint
Base point (left-top). |
System.Windows.Size
size
Size in degrees. |
Returns
System.Windows.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
Location
basePoint
Base point (left-top). |
System.Windows.Size
size
Size in kilometers. |
Returns
System.Windows.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
System.Windows.Point
logicalPoint
The logical Point. |
Returns
Location
The geographical coordinate (Longitude, Latitude). |