GeoBlazor Pro


layout: pro title: TravelMode parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

TravelMode Class

A TravelMode is a set of characteristics that define how an object like a vehicle, bicycle, or pedestrian moves along a street network. Those characteristics are considered when finding directions to determine how the vehicle or pedestrian travels, and where they can go. To get a list of supported travel modes, find the default travel mode, and to find and use a specific travel mode, you can use the networkService.fetchServiceDescription() method.

public class TravelMode :
System.IEquatable<dymaptic.GeoBlazor.Pro.Model.TravelMode>

Inheritance System.Object 🡒 TravelMode

Implements System.IEquatable<TravelMode>

Constructors

TravelMode(TravelModeAttributeParameterValue[], string, DistanceAttributeName, string, ImpedanceAttributeName, string, RestrictionAttribute[], double, SimplificationToleranceUnits, TravelTimeAttribute, TravelModeType, bool, UTurnAtJunctions) Constructor

A TravelMode is a set of characteristics that define how an object like a vehicle, bicycle, or pedestrian moves along a street network. Those characteristics are considered when finding directions to determine how the vehicle or pedestrian travels, and where they can go. To get a list of supported travel modes, find the default travel mode, and to find and use a specific travel mode, you can use the networkService.fetchServiceDescription() method.

public TravelMode(dymaptic.GeoBlazor.Pro.Model.TravelModeAttributeParameterValue[] AttributeParameterValues, string Description, dymaptic.GeoBlazor.Pro.Model.DistanceAttributeName DistanceAttributeName, string Id, dymaptic.GeoBlazor.Pro.Model.ImpedanceAttributeName ImpedanceAttributeName, string Name, dymaptic.GeoBlazor.Pro.Model.RestrictionAttribute[] RestrictionAttributeNames, double SimplificationTolerance, dymaptic.GeoBlazor.Pro.Model.SimplificationToleranceUnits SimplificationToleranceUnits, dymaptic.GeoBlazor.Pro.Model.TravelTimeAttribute TimeAttributeName, dymaptic.GeoBlazor.Pro.Model.TravelModeType Type, bool UseHierarchy, dymaptic.GeoBlazor.Pro.Model.UTurnAtJunctions UTurnAtJunctions);

Parameters

AttributeParameterValues TravelModeAttributeParameterValue[]

Lists the parameterized attributes used by the travel mode.

Description System.String

A short text description of the travel mode.

DistanceAttributeName DistanceAttributeName

Indicates the distance-based cost attribute for reporting directions and for solving vehicle routing problems.

Id System.String

The unique identifier.

ImpedanceAttributeName ImpedanceAttributeName

The network cost attribute used as impedance. This cost attribute is minimized while solving network analysis problems.

Name System.String

The unique name of the travel mode.

RestrictionAttributeNames RestrictionAttribute[]

The list of the restriction attributes used when solving network analysis problems with this travel mode.

SimplificationTolerance System.Double

Specifies whether the travel mode generalizes the geometry of analysis results and by how much.

SimplificationToleranceUnits SimplificationToleranceUnits

The linear units associated with SimplificationTolerance.

TimeAttributeName TravelTimeAttribute

Indicates the time-based cost attribute for reporting directions.

Type TravelModeType

Indicates the category of travel or vehicle represented by this travel mode.

UseHierarchy System.Boolean

Indicates whether the travel mode uses a hierarchy attribute while performing the analysis.

UTurnAtJunctions UTurnAtJunctions

Indicates how the U-turns at junctions that could occur during network traversal are handled by the solver.

Properties

TravelMode.AttributeParameterValues Property

Lists the parameterized attributes used by the travel mode.

public dymaptic.GeoBlazor.Pro.Model.TravelModeAttributeParameterValue[] AttributeParameterValues { get; set; }

Property Value

TravelModeAttributeParameterValue[]

TravelMode.Description Property

A short text description of the travel mode.

public string Description { get; set; }

Property Value

System.String

TravelMode.DistanceAttributeName Property

Indicates the distance-based cost attribute for reporting directions and for solving vehicle routing problems.

public dymaptic.GeoBlazor.Pro.Model.DistanceAttributeName DistanceAttributeName { get; set; }

Property Value

DistanceAttributeName

TravelMode.Id Property

The unique identifier.

public string Id { get; set; }

Property Value

System.String

TravelMode.ImpedanceAttributeName Property

The network cost attribute used as impedance. This cost attribute is minimized while solving network analysis problems.

public dymaptic.GeoBlazor.Pro.Model.ImpedanceAttributeName ImpedanceAttributeName { get; set; }

Property Value

ImpedanceAttributeName

TravelMode.Name Property

The unique name of the travel mode.

public string Name { get; set; }

Property Value

System.String

TravelMode.RestrictionAttributeNames Property

The list of the restriction attributes used when solving network analysis problems with this travel mode.

public dymaptic.GeoBlazor.Pro.Model.RestrictionAttribute[] RestrictionAttributeNames { get; set; }

Property Value

RestrictionAttribute[]

TravelMode.SimplificationTolerance Property

Specifies whether the travel mode generalizes the geometry of analysis results and by how much.

public double SimplificationTolerance { get; set; }

Property Value

System.Double

TravelMode.SimplificationToleranceUnits Property

The linear units associated with SimplificationTolerance.

public dymaptic.GeoBlazor.Pro.Model.SimplificationToleranceUnits SimplificationToleranceUnits { get; set; }

Property Value

SimplificationToleranceUnits

TravelMode.TimeAttributeName Property

Indicates the time-based cost attribute for reporting directions.

public dymaptic.GeoBlazor.Pro.Model.TravelTimeAttribute TimeAttributeName { get; set; }

Property Value

TravelTimeAttribute

TravelMode.Type Property

Indicates the category of travel or vehicle represented by this travel mode.

public dymaptic.GeoBlazor.Pro.Model.TravelModeType Type { get; set; }

Property Value

TravelModeType

TravelMode.UseHierarchy Property

Indicates whether the travel mode uses a hierarchy attribute while performing the analysis.

public bool UseHierarchy { get; set; }

Property Value

System.Boolean

TravelMode.UTurnAtJunctions Property

Indicates how the U-turns at junctions that could occur during network traversal are handled by the solver.

public dymaptic.GeoBlazor.Pro.Model.UTurnAtJunctions UTurnAtJunctions { get; set; }

Property Value

UTurnAtJunctions