Last Updated: February 25, 2016
· basuke

Creating GPX file that can be used in the Xcode

Using this script, you can create gpx file of the driving route specified by addresses like this:

$ python "SFO" "Golden Gate Bridge" > sfo2ggb.gpx

You can stop by some place like this:

$ python "SFO" "Coit Tower" "Golden Gate Bridge" > sfo2ggb.gpx

Usage: [options] origin [waypoint ...] destination

  -h, --help   show this help message and exit
  --cache=DIR  cache the result of query for Google into DIR