Geopoint Geopoint Geopoint Geopoint Class

Definition

Describes a geographic point.

public : sealed class Geopoint : IGeopoint, IGeoshapepublic sealed class Geopoint : IGeopoint, IGeoshapePublic NotInheritable Class Geopoint Implements IGeopoint, IGeoshape// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

Geopoint(BasicGeoposition) Geopoint(BasicGeoposition) Geopoint(BasicGeoposition) Geopoint(BasicGeoposition)

Create a geographic point object for the given position.

public : Geopoint(BasicGeoposition position)public Geopoint(BasicGeoposition position)Public Sub New(position As BasicGeoposition)// You can use this method in JavaScript.
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

Create a geographic point object for the given position.

Remarks

The constructor will throw an exception if the provided BasicGeoposition has a latitude is less than -90 or greater than 90.

Geopoint(BasicGeoposition, AltitudeReferenceSystem) Geopoint(BasicGeoposition, AltitudeReferenceSystem) Geopoint(BasicGeoposition, AltitudeReferenceSystem) Geopoint(BasicGeoposition, AltitudeReferenceSystem)

Create a geographic point object for the given position and altitude reference system.

public : Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem)public Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem)Public Sub New(position As BasicGeoposition, altitudeReferenceSystem As AltitudeReferenceSystem)// You can use this method in JavaScript.
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

Create a geographic point object for the given position.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the new point.

Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32) Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32) Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32) Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32)

Create a geographic point object for the given position, altitude reference system, and spatial reference Id.

public : Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem, unsigned int spatialReferenceId)public Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem, UInt32 spatialReferenceId)Public Sub New(position As BasicGeoposition, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInt32)// You can use this method in JavaScript.
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

Create a geographic point object for the given position.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the new point.

spatialReferenceId
unsigned int UInt32 UInt32 UInt32

The spatial reference Id of the new point.

Properties

AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the geographic point.

public : AltitudeReferenceSystem AltitudeReferenceSystem { get; }public AltitudeReferenceSystem AltitudeReferenceSystem { get; }Public ReadOnly Property AltitudeReferenceSystem As AltitudeReferenceSystem// You can use this property in JavaScript.
Value
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the geographic point.

Remarks

Note

The default altitude reference system that’s used to provide location data depends on the GPS/GNSS radio hardware. Hardware typically found on older desktop PCs will continue using an Ellipsoid reference system. Everything else will default to using the Geoid reference system. To find out which one is being used by a Geopoint object, see the AltitudeReferenceSystem property.

GeoshapeType GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape.

public : GeoshapeType GeoshapeType { get; }public GeoshapeType GeoshapeType { get; }Public ReadOnly Property GeoshapeType As GeoshapeType// You can use this property in JavaScript.
Value
GeoshapeType GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape.

Position Position Position Position

The position of a geographic point.

public : BasicGeoposition Position { get; }public BasicGeoposition Position { get; }Public ReadOnly Property Position As BasicGeoposition// You can use this property in JavaScript.
Value
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

The position of a geographic point.

SpatialReferenceId SpatialReferenceId SpatialReferenceId SpatialReferenceId

The spatial reference identifier for the geographic point, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

public : unsigned int SpatialReferenceId { get; }public uint SpatialReferenceId { get; }Public ReadOnly Property SpatialReferenceId As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The spatial reference identifier for the geographic point, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

Remarks

The spatial reference id (SRID) corresponds to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping. Spatial instances with the same SRID can be used when performing operations with spatial data methods on your data. The result of any spatial method derived from two spatial data instances is valid only if those instances have the same SRID that is based on the same unit of measurement, datum, and projection used to determine the coordinates of the instances. The most common units of measurement of a SRID are meters or square meters. The default SRID for the Windows platform is 4326 which is WGS84 ellipsoid.

The spatial reference identification system is defined by the European Petroleum Survey Group (EPSG) standard, which is a set of standards developed for cartography, surveying, and geodetic data storage. This standard is owned by the Oil and Gas Producers (OGP) Surveying and Positioning Committee.