TravelDirectionsData
represents travel directions generated by TravelDirections.
Details and Options
- Properties of travel directions can be obtained as TravelDirectionsData[…]["prop"].
- Possible properties include:
-
"Dataset" Dataset with maneuvers and other data "TravelPath" travel path as a GeoPath primitive "ManeuverGrid" grid of maneuvers "TravelDistance" total distance to travel "TravelTime" total time for travel
Examples
open allclose allBasic Examples (1)
Scope (1)
Compute travel directions between two locations in Paris:
Obtain properties of the trip from the TravelDirectionsData object:
Properties & Relations (3)
TravelDirectionsData objects are produced by TravelDirections:
Some properties of TravelDirectionsData objects can be obtained from specific functions:
Compute travel directions between Perth and Townsville in Australia:
These are the latitude and longitude bounds of the corresponding travel path:
GeoGraphics[TravelDirectionsData[…]] shows the area:
Use TravelDirectionsData[…]["TravelPath"] to represent the actual path:
Text
Wolfram Research (2015), TravelDirectionsData, Wolfram Language function, https://reference.wolfram.com/language/ref/TravelDirectionsData.html.
CMS
Wolfram Language. 2015. "TravelDirectionsData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TravelDirectionsData.html.
APA
Wolfram Language. (2015). TravelDirectionsData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TravelDirectionsData.html