Note: This page describes an obsolete version of GPSBabel that may substantially differ from the current or development version.

Google Directions XML (googledir)

This format can...

  • read tracks

This format is designed to read the XML emitted when you use the Google Directions API.

If you use a Unix-compatible operating system, this shell script might be useful:

FROM="233 S. Upper Wacker Dr, Chicago, IL" 
TO="1060 W. Addison St, Chicago, IL" 
wget -O - "$URL?origin=$FROM&destination=$TO&sensor=false" \
2>/dev/null >google_map.xml
gpsbabel -i googledir -f google_map.xml -o gpx -F google_map.gpx