Geopoint Geopoint Geopoint Geopoint Class

Definition

Describes a geographic point.

public : sealed class Geopoint : IGeopoint, IGeoshape
public sealed class Geopoint : IGeopoint, IGeoshape
Public NotInheritable Class Geopoint Implements IGeopoint, IGeoshape
var geopoint = new geopoint(position);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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)
var geopoint = new geopoint(position);
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

Create a geographic point object for the given position.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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)
var geopoint = new geopoint(position, altitudeReferenceSystem);
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.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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)
var geopoint = new geopoint(position, altitudeReferenceSystem, spatialReferenceId);
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.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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
var altitudeReferenceSystem = geopoint.altitudeReferenceSystem;
Value
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the geographic point.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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
var geoshapeType = geopoint.geoshapeType;
Value
GeoshapeType GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

Position Position Position Position

The position of a geographic point.

public : BasicGeoposition Position { get; }
public BasicGeoposition Position { get; }
Public ReadOnly Property Position As BasicGeoposition
var basicGeoposition = geopoint.position;
Value
BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition

The position of a geographic point.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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
var uint = geopoint.spatialReferenceId;
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.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

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.