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

- 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.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
The time to travel between two locations depends strongly on the method of transportation:

https://wolfram.com/xid/0b8c02221i-ttvf11

https://wolfram.com/xid/0b8c02221i-doypi8


https://wolfram.com/xid/0b8c02221i-5b6fz2


https://wolfram.com/xid/0b8c02221i-1s0c2c

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

https://wolfram.com/xid/0b8c02221i-l3umdy

https://wolfram.com/xid/0b8c02221i-gjethk

https://wolfram.com/xid/0b8c02221i-vy7s6c

https://wolfram.com/xid/0b8c02221i-u2buh1

https://wolfram.com/xid/0b8c02221i-pu9ohm

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

https://wolfram.com/xid/0b8c02221i-c1hmjk

Scope (3)Survey of the scope of standard use cases
Use TravelMethod in TravelDirections:

https://wolfram.com/xid/0b8c02221i-3e59qh


https://wolfram.com/xid/0b8c02221i-j8wvk9

Use TravelMethod in TravelDistance:

https://wolfram.com/xid/0b8c02221i-o6k4rm

Use TravelMethod in TravelTime:

https://wolfram.com/xid/0b8c02221i-363ue7

Wolfram Research (2015), TravelMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/TravelMethod.html.
Text
Wolfram Research (2015), TravelMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/TravelMethod.html.
Wolfram Research (2015), TravelMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/TravelMethod.html.
CMS
Wolfram Language. 2015. "TravelMethod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TravelMethod.html.
Wolfram Language. 2015. "TravelMethod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TravelMethod.html.
APA
Wolfram Language. (2015). TravelMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TravelMethod.html
Wolfram Language. (2015). TravelMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TravelMethod.html
BibTeX
@misc{reference.wolfram_2025_travelmethod, author="Wolfram Research", title="{TravelMethod}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/TravelMethod.html}", note=[Accessed: 20-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_travelmethod, organization={Wolfram Research}, title={TravelMethod}, year={2015}, url={https://reference.wolfram.com/language/ref/TravelMethod.html}, note=[Accessed: 20-May-2025
]}