« | Main | »

December 27, 2009

directions gives driving directions in text form rather then having to open a browser. It uses google directions javascript API to actually find the directions. Using it, you can type things like this and bask in the glory of a text-only world:

% directions -o 'New York,NY,10019' 'Los Angeles,CA,90001'
Distance: 2,784 mi
Duration: 1 day 19 hours

Distance   Duration   Directions
187 ft     1 min      Head northwest on W 55th St toward 11th Ave
0.8 mi     4 mins     Take the 1st left onto 11th Ave
299 ft     1 min      Turn left at W 40 St
0.7 mi     1 min      Take the ramp onto NY-495 W 
 --- Entering New Jersey ---
3.3 mi     3 mins     Continue onto NJ-495 W
0.2 mi     1 min      Take the exit toward I-95 S
6.2 mi     6 mins     Keep left at the fork to continue toward 
                      I-95 S and merge onto I-95 S 
 ...
 --- Entering California ---
72.6 mi    1 hour 7 mins Merge onto I-15 S
38.9 mi    36 mins    Take the exit onto I-10 W toward Los Angeles
0.9 mi     1 min      Take the I-10 W/I-5 S exit toward Santa 
                      Monica/Santa Ana
2.8 mi     3 mins     Follow signs for Santa Monica and merge onto 
                      I-10 W/I-5 S 
 --- Continue to follow I-10 W ---
0.2 mi     1 min      Take exit 15B toward Alameda St
220 ft     1 min      Merge onto E 14th St
3.5 mi     9 mins     Turn left at S Alameda St
0.6 mi     1 min      Turn right at E Florence Ave
0.3 mi     1 min      Turn left at Miramonte Blvd
394 ft     1 min      Turn right at E 77th St 
 --- Destination will be on the left ---


Posted by jeff at December 27, 2009 02:20 PM