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)

TravelDistanceList

TravelDistanceList[{loc1,loc2,,locn}]
returns the list {TravelDistance[loc1,loc2],,TravelDistance[locn-1,locn]}.

Details and OptionsDetails and Options

  • The locations loci in TravelDistanceList[{loc1,,locn}] can be given as pairs {lat,lon} in degrees, GeoPosition objects, geographic Entity objects, or any other specification of a location.
  • The result is returned as a QuantityArray object with length units.
  • If the input list of locations has length n, the resulting list of distances has length n-1.
Introduced in 2016
(10.4)