New to Telerik UI for WPFStart a free 30-day trial

The OGC Spatial Reference requirements.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class SpatialReference : ISpatialReference

Inheritance: objectSpatialReference

Derived Classes: MercatorProjectionProportionalProjection

Implements: ISpatialReference

Constructors

C#
public SpatialReference()

Fields

Half of PI.

C#
public const double HalfPI = 0.159154943091895

Degrees of one radiant.

C#
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.

C#
public double AngularUnitOfMeasurement { get; set; }

Implements: ISpatialReference.AngularUnitOfMeasurement

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.

C#
public string Authority { get; set; }

Implements: ISpatialReference.Authority

Gets or sets the line of longitude at the center of a map projection generally used as the basis for constructing the projection.

C#
public double CentralMeridian { get; set; }

Implements: ISpatialReference.CentralMeridian

Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.

C#
public string Datum { get; set; }

Implements: ISpatialReference.Datum

Gets or sets the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.

C#
public string DatumAuthority { get; set; }

Implements: ISpatialReference.DatumAuthority

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.

C#
public double FalseEasting { get; set; }

Implements: ISpatialReference.FalseEasting

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.

C#
public double FalseNorthing { get; set; }

Implements: ISpatialReference.FalseNorthing

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.

C#
public string GeoGcs { get; set; }

Implements: ISpatialReference.GeoGcs

Gets or sets the latitude chosen as the origin of rectangular coordinate for a map projection.

C#
public double LatitudeOfOrigin { get; set; }

Implements: ISpatialReference.LatitudeOfOrigin

The maximum Latitude this tile source supports.

C#
public double MaxLatitude { get; set; }

Implements: ISpatialReference.MaxLatitude

The maximum Longitude this tile source supports.

C#
public double MaxLongitude { get; set; }

Implements: ISpatialReference.MaxLongitude

The minimum Latitude this tile source supports.

C#
public double MinLatitude { get; set; }

Implements: ISpatialReference.MinLatitude

The minimum Longitude this tile source supports.

C#
public double MinLongitude { get; set; }

Implements: ISpatialReference.MinLongitude

Gets or sets logical X offset to centre of earth.

C#
public double OffsetX { get; set; }

Gets or sets logical Y offset to centre of earth.

C#
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.

C#
public double Primem { get; set; }

Implements: ISpatialReference.Primem

Gets or sets the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.

C#
public string PrimemAuthority { get; set; }

Implements: ISpatialReference.PrimemAuthority

Gets or sets a projection from geographic coordinates to projected coordinates.

C#
public string ProjectionAuthority { get; set; }

Implements: ISpatialReference.ProjectionAuthority

Gets or sets the real world coordinate scale at a given longitude.

C#
public double ScaleX { get; set; }

Gets or sets the real world coordinate scale at a given latitude.

C#
public double ScaleY { get; set; }

Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.

C#
public string SpheroidAuthority { get; set; }

Implements: ISpatialReference.SpheroidAuthority

Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.

C#
public double SpheroidFlattening { get; set; }

Implements: ISpatialReference.SpheroidFlattening

Gets or sets a spheroid, which is an approximation of the Earth's surface as a squashed sphere.

C#
public double SpheroidRadius { get; set; }

Implements: ISpatialReference.SpheroidRadius

Gets or sets the line of constant latitude at which the surface of the Earth and the plane or developable surface intersect.

C#
public double StandardParallel { get; set; }

Implements: ISpatialReference.StandardParallel

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.

C#
public string UnitAuthority { get; set; }

Implements: ISpatialReference.UnitAuthority

Methods

Converts a geographical coordinate (Longitude, Latitude) to a logical Point (0->1).

C#
public virtual Point GeographicToLogical(Location geographicPoint)
Parameters:geographicPointLocation

The geographical coordinate (Longitude, Latitude).

Returns:

Point

The logical Point.

Implements: ISpatialReference.GeographicToLogical(Location)

Calculate size of rectangle from base point.

C#
public virtual Size GetSizeInKilometers(Location basePoint, Size size)
Parameters:basePointLocation

Base point (left-top).

sizeSize

Size in degrees.

Returns:

Size

Size of rectangle in kilometers.

Implements: ISpatialReference.GetSizeInKilometers(Location, Size)

Calculate size of rectangle from base point.

C#
public virtual Size GetSizeInReferenceUnits(Location basePoint, Size size)
Parameters:basePointLocation

Base point (left-top).

sizeSize

Size in kilometers.

Returns:

Size

Size of rectangle in degrees.

Implements: ISpatialReference.GetSizeInReferenceUnits(Location, Size)

Converts a logical Point (0->1) to a geographical coordinate (Longitude, Latitude).

C#
public virtual Location LogicalToGeographic(Point logicalPoint)
Parameters:logicalPointPoint

The logical Point.

Returns:

Location

The geographical coordinate (Longitude, Latitude).

Implements: ISpatialReference.LogicalToGeographic(Point)