About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class SpatialReference

The OGC Spatial Reference requirements.

Inheritance
System.Object
SpatialReference
ProportionalProjection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll

Syntax

public class SpatialReference : 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
ISpatialReference.AngularUnitOfMeasurement

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
ISpatialReference.Authority

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
ISpatialReference.CentralMeridian

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
ISpatialReference.Datum

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
ISpatialReference.DatumAuthority

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
ISpatialReference.FalseEasting

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
ISpatialReference.FalseNorthing

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
ISpatialReference.GeoGcs

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
ISpatialReference.LatitudeOfOrigin

MaxLatitude

The maximum Latitude this tile source supports.

Declaration
public double MaxLatitude { get; set; }
Property Value
System.Double

Implements
ISpatialReference.MaxLatitude

MaxLongitude

The maximum Longitude this tile source supports.

Declaration
public double MaxLongitude { get; set; }
Property Value
System.Double

Implements
ISpatialReference.MaxLongitude

MinLatitude

The minimum Latitude this tile source supports.

Declaration
public double MinLatitude { get; set; }
Property Value
System.Double

Implements
ISpatialReference.MinLatitude

MinLongitude

The minimum Longitude this tile source supports.

Declaration
public double MinLongitude { get; set; }
Property Value
System.Double

Implements
ISpatialReference.MinLongitude

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
ISpatialReference.Primem

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
ISpatialReference.PrimemAuthority

ProjectionAuthority

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

Declaration
public string ProjectionAuthority { get; set; }
Property Value
System.String

Implements
ISpatialReference.ProjectionAuthority

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
ISpatialReference.SpheroidAuthority

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
ISpatialReference.SpheroidFlattening

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
ISpatialReference.SpheroidRadius

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
ISpatialReference.StandardParallel

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
ISpatialReference.UnitAuthority

Methods

GeographicToLogical(PointG)

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

Declaration
public virtual PointG GeographicToLogical(PointG geographicPoint)
Parameters
PointG geographicPoint

The geographical coordinate (Longitude, Latitude).

Returns
PointG

The logical Point.

Implements
ISpatialReference.GeographicToLogical(PointG)

GetSizeInKilometers(PointG, SizeG)

Calculate size of rectangle from base point.

Declaration
public virtual SizeG GetSizeInKilometers(PointG basePoint, SizeG size)
Parameters
PointG basePoint

Base point (left-top).

SizeG size

Size in degrees.

Returns
SizeG

Size of rectangle in kilometers.

Implements
ISpatialReference.GetSizeInKilometers(PointG, SizeG)

GetSizeInReferenceUnits(PointG, SizeG)

Calculate size of rectangle from base point.

Declaration
public virtual SizeG GetSizeInReferenceUnits(PointG basePoint, SizeG size)
Parameters
PointG basePoint

Base point (left-top).

SizeG size

Size in kilometers.

Returns
SizeG

Size of rectangle in degrees.

Implements
ISpatialReference.GetSizeInReferenceUnits(PointG, SizeG)

LogicalToGeographic(PointG)

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

Declaration
public virtual PointG LogicalToGeographic(PointG logicalPoint)
Parameters
PointG logicalPoint

The logical Point.

Returns
PointG

The geographical coordinate (Longitude, Latitude).

Implements
ISpatialReference.LogicalToGeographic(PointG)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.