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
stringThe provider.
roadName
stringName of the road.
wayId
long?The way identifier.
lastEdited
DateTime?The last edited.
truckMaxSpeed
double?The truck maximum speed.
roadType
intThe 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
IsOverRide
Gets or sets the IsOverRide of the points.
public bool? IsOverRide { get; set; }
Property Value
LastEdited
Gets or sets the date the way was last edited.
public DateTime? LastEdited { get; set; }
Property Value
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
Provider
Gets or sets details on the provider of the road data.
public string? Provider { get; set; }
Property Value
RoadName
Gets or sets the RoadName of the points.
public string? RoadName { get; set; }
Property Value
RoadType
Gets or sets the road type.
public int RoadType { get; set; }
Property Value
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.