repo.or.cz
/
viking
/
guyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Pan tool (as default)
[viking/guyou.git]
/
tools
/
googledirections
blob
da3e4ccf80ed461536384e2487cf7d4e9964b7ef
1
#!/bin/bash
2
FROM
=
"
$1
"
3
TO
=
"
$2
"
4
(
wget
-O
-
"http://maps.google.com/maps?q=
$FROM
to
$TO
&output=xml"
2
>/
dev
/
null
)
|
head
-3
|
tail
-1
|
sed
's/.*<page>\(.*\)<\/page>.*/<page>\1<\/page>/'
| gpsbabel
-i
google
-f
-
-o
gpx
-F
-