Geopath Geopath Geopath Geopath Class

Definition

Represents an ordered series of geographic points.

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

Constructors

Geopath(IIterable) Geopath(IIterable) Geopath(IIterable) Geopath(IIterable)

Initializes a new instance of the Geopath class with the specified collection of positions.

public : Geopath(IIterable<BasicGeoposition> positions)
public Geopath(IEnumerable<BasicGeoposition> positions)
Public Sub New(positions As IEnumerable<BasicGeoposition>)
var geopath = new geopath(positions);
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

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

Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem)

Initializes a new instance of the Geopath class with the specified collection of positions and with the specified altitude reference system.

public : Geopath(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem)
public Geopath(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem)
Public Sub New(positions As IEnumerable<BasicGeoposition>, altitudeReferenceSystem As AltitudeReferenceSystem)
var geopath = new geopath(positions, altitudeReferenceSystem);
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use to create the new Geopath. For more info, see the AltitudeReferenceSystem property.

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

Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, AltitudeReferenceSystem, UInt32)

Initializes a new instance of the Geopath class with the specified collection of positions and with the specified altitude reference system and spatial reference ID (SRID).

public : Geopath(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem, unsigned int spatialReferenceId)
public Geopath(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem, UInt32 spatialReferenceId)
Public Sub New(positions As IEnumerable<BasicGeoposition>, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInt32)
var geopath = new geopath(positions, altitudeReferenceSystem, spatialReferenceId);
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use to create the new Geopath. For more info, see the AltitudeReferenceSystem property.

spatialReferenceId
unsigned int UInt32 UInt32 UInt32

The spatial reference ID (SRID) to use to create the new Geopath. For more info, see the SpatialReferenceId property.

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

Properties

AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

Gets the altitude reference system used by the Geopath.

public : AltitudeReferenceSystem AltitudeReferenceSystem { get; }
public AltitudeReferenceSystem AltitudeReferenceSystem { get; }
Public ReadOnly Property AltitudeReferenceSystem As AltitudeReferenceSystem
var altitudeReferenceSystem = geopath.altitudeReferenceSystem;
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

GeoshapeType GeoshapeType GeoshapeType GeoshapeType

Gets the type of geographic shape represented by the Geopath.

public : GeoshapeType GeoshapeType { get; }
public GeoshapeType GeoshapeType { get; }
Public ReadOnly Property GeoshapeType As GeoshapeType
var geoshapeType = geopath.geoshapeType;
Value
GeoshapeType GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape represented by the Geopath.

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

Positions Positions Positions Positions

Gets the collection of geographic points that define the Geopath.

public : IVectorView<BasicGeoposition> Positions { get; }
public IReadOnlyList<BasicGeoposition> Positions { get; }
Public ReadOnly Property Positions As IReadOnlyList<BasicGeoposition>
var iReadOnlyList = geopath.positions;
Value
IVectorView<BasicGeoposition> IReadOnlyList<BasicGeoposition> IReadOnlyList<BasicGeoposition> IReadOnlyList<BasicGeoposition>

The collection of geographic points that define the Geopath.

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

Gets the spatial reference ID (SRID) used by the Geopath.

public : unsigned int SpatialReferenceId { get; }
public uint SpatialReferenceId { get; }
Public ReadOnly Property SpatialReferenceId As uint
var uint = geopath.spatialReferenceId;
Value
unsigned int uint uint uint

The spatial reference ID (SRID) used by the Geopath.

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