Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
BUILT-IN WOLFRAM LANGUAGE SYMBOL

TravelMethod

TravelMethod
is an option for TravelDirections and related functions that specifies the mode of transportation to assume.

DetailsDetails

  • Possible settings for TravelMethod include:
  • "Biking"biking on allowed paths at 18 km/hr
    "Driving"driving at speed limits
    "Walking"walking on walking paths at 5 km/hr
  • Driving does not take traffic into account.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

The time to travel between two locations depends strongly on the method of transportation:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

The travel path may be different for different methods of transportation:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=

The method of transportation affects, among other things, which types of routes are considered for the path:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2015
(10.3)