Interface ISpatialReference
The OGC Spatial Reference requirements.
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public interface ISpatialReference
Properties
AngularUnitOfMeasurement
The measurement units used to define the angles of a spheroid or ellipse associated with a specific datum. The datum is usually WGS (World Geodetic System) 1984 and the unit of measurement is a degree.
Declaration
double AngularUnitOfMeasurement { get; set; }
Property Value
System.Double
|
Authority
The authority body that defines the standards for the spatial reference parameters. Spatial Reference is usually WGS 1984 and the authority is EPSG:4326.
Declaration
string Authority { get; set; }
Property Value
System.String
|
CentralMeridian
The line of longitude at the center of a map projection generally used as the basis for constructing the projection.
Declaration
double CentralMeridian { get; set; }
Property Value
System.Double
|
Datum
This indicates the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
Declaration
string Datum { get; set; }
Property Value
System.String
|
DatumAuthority
This indicates the horizontal datum, which corresponds to the procedure used to measure positions on the surface of the Earth.
Declaration
string DatumAuthority { get; set; }
Property Value
System.String
|
FalseEasting
The 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
double FalseEasting { get; set; }
Property Value
System.Double
|
FalseNorthing
The 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
double FalseNorthing { get; set; }
Property Value
System.Double
|
GeoGcs
A 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
string GeoGcs { get; set; }
Property Value
System.String
|
LatitudeOfOrigin
The latitude chosen as the origin of rectangular coordinate for a map projection.
Declaration
double LatitudeOfOrigin { get; set; }
Property Value
System.Double
|
MaxLatitude
The maximum Latitude this tile source supports.
Declaration
double MaxLatitude { get; set; }
Property Value
System.Double
|
MaxLongitude
The maximum Longitude this tile source supports.
Declaration
double MaxLongitude { get; set; }
Property Value
System.Double
|
MinLatitude
The minimum Latitude this tile source supports.
Declaration
double MinLatitude { get; set; }
Property Value
System.Double
|
MinLongitude
The minimum Longitude this tile source supports.
Declaration
double MinLongitude { get; set; }
Property Value
System.Double
|
Primem
This defines the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
Declaration
double Primem { get; set; }
Property Value
System.Double
|
PrimemAuthority
This defines the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context.
Declaration
string PrimemAuthority { get; set; }
Property Value
System.String
|
ProjectionAuthority
This describes a projection from geographic coordinates to projected coordinates.
Declaration
string ProjectionAuthority { get; set; }
Property Value
System.String
|
SpheroidAuthority
This describes a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
string SpheroidAuthority { get; set; }
Property Value
System.String
|
SpheroidFlattening
This describes a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
double SpheroidFlattening { get; set; }
Property Value
System.Double
|
SpheroidRadius
This describes a spheroid, which is an approximation of the Earth's surface as a squashed sphere.
Declaration
double SpheroidRadius { get; set; }
Property Value
System.Double
|
StandardParallel
The line of constant latitude at which the surface of the Earth and the plane or developable surface intersect.
Declaration
double StandardParallel { get; set; }
Property Value
System.Double
|
UnitAuthority
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
string UnitAuthority { get; set; }
Property Value
System.String
|
Methods
GeographicToLogical(Location)
Converts a geographical coordinate (Longitude, Latitude) to a logical Point (0->1).
Declaration
Point GeographicToLogical(Location geographicPoint)
Parameters
Location
geographicPoint
The geographical coordinate (Longitude, Latitude). |
Returns
System.Windows.Point
The logical Point. |
GetSizeInKilometers(Location, Size)
Calculate size of rectangle from base point.
Declaration
Size GetSizeInKilometers(Location basePoint, Size size)
Parameters
Location
basePoint
Base point (left-top). |
System.Windows.Size
size
Size in units of reference. |
Returns
System.Windows.Size
Size of rectangle in kilometers. |
GetSizeInReferenceUnits(Location, Size)
Calculate size of rectangle from base point.
Declaration
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 units of reference. |
LogicalToGeographic(Point)
Converts a logical Point (0->1) to a geographical coordinate (Longitude, Latitude).
Declaration
Location LogicalToGeographic(Point logicalPoint)
Parameters
System.Windows.Point
logicalPoint
The logical Point. |
Returns
Location
The geographical coordinate (Longitude, Latitude). |