Table of Contents

Class Way

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents a way or road segment in OSM.

public class Way
Inheritance
Way
Inherited Members

Constructors

Way()

Initializes a new instance of the Way class.

public Way()

Way(int?, bool?, bool?, double?, ISimpleCoordinate[]?, string?, string?, long?, DateTime?, double?, int)

Initializes a new instance of the Way class.

public Way(int? index, bool? isEstimate, bool? isOverRide, double? maxSpeed, ISimpleCoordinate[]? points, string? provider, string? roadName, long? wayId, DateTime? lastEdited, double? truckMaxSpeed, int roadType)

Parameters

index int?

The index.

isEstimate bool?

The is estimate.

isOverRide bool?

The is over ride.

maxSpeed double?

The maximum speed.

points ISimpleCoordinate[]

The points.

provider string

The provider.

roadName string

Name of the road.

wayId long?

The way identifier.

lastEdited DateTime?

The last edited.

truckMaxSpeed double?

The truck maximum speed.

roadType int

The type of the road

Properties

Index

Gets or sets the road segment index.

public int? Index { get; set; }

Property Value

int?

Nullable<T> where T is int The index of the way.

IsEstimate

Gets or sets is the speed value and estimate.

public bool? IsEstimate { get; set; }

Property Value

bool?

If the road speed limit value is "estimated".

IsOverRide

Gets or sets the IsOverRide of the points.

public bool? IsOverRide { get; set; }

Property Value

bool?

True if the road speed value has been overwritten by a user.

LastEdited

Gets or sets the date the way was last edited.

public DateTime? LastEdited { get; set; }

Property Value

DateTime?

The last edited date.

MaxSpeed

Gets or sets the MaxSpeed of the points.

public double? MaxSpeed { get; set; }

Property Value

double?

Nullable<T> where T is double Road's max speed limit.

Points

Gets or sets the Coordinate of the points.

public ISimpleCoordinate[]? Points { get; set; }

Property Value

ISimpleCoordinate[]

The coordinates that describe the way's shape.

Provider

Gets or sets details on the provider of the road data.

public string? Provider { get; set; }

Property Value

string

The map data provider the way is from.

RoadName

Gets or sets the RoadName of the points.

public string? RoadName { get; set; }

Property Value

string

The name of the road.

RoadType

Gets or sets the road type.

public int RoadType { get; set; }

Property Value

int

The type of the road

TruckMaxSpeed

Gets or sets the Truck MaxSpeed of the points.

public double? TruckMaxSpeed { get; set; }

Property Value

double?

Nullable<T> where T is double Road's max speed limit for Trucks.

WayId

Gets or sets the OSM Way Id.

public long? WayId { get; set; }

Property Value

long?

Nullable<T> where T is longThe Id of the way.