[ gpsdrive ] need something to plan a route????
Hamish
hamish_b at yahoo.com
Tue Nov 18 19:29:19 AKST 2008
> Deric:
> > Ok, i am stuck here in Homedale, idaho and need to get back
> > to Boise. Is there anything i can use to find my way?
Hamish:
> http://maps.google.com/
>
> search/zoom to one end.
> right click, select "Directions to/from"
>
> search/zoom to other end.
> right click, select "Directions to/from"
>
>
> do some magic to export that route as a KML file. (.... I'm pretty sure
> that's possible to do that, but I lack the exact recipe)
add "&output=kml" to the end of the "Link" URL and "Save As..."
> if gpsdrive (latest svn) won't load that directly as a route (import GPX
> route) use gpsbabel or ogr2ogr to convert KML->GPX)
>
> (AFAIR KML is highly GPX-like)
Using ogr2ogr from GDAL:
ogr2ogr -f gpx -dsco "GPX_USE_EXTENSIONS=YES" \
-lco "FORCE_GPX_ROUTE=YES" route_map.gpx maps.kml
that writes out a WPT file not a RTE :(
let's try gpsbabel:
gpsbabel -r -i kml -f maps.kml -o gpx -F rte_map.gpx
mmmph something similar, still saved as WPTs.
ok, save as gpsdrive way.txt format:
gpsbabel -i kml -f maps.kml -o gpsdrive -F way-gmdir.txt
still not a route, but you can create that in gpsdrive's Find menu.
probably some simple way...
> A nice thing to add to the wiki if you can figure it out...
https://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=Driving_directions
please improve/refine....
Hamish
More information about the GPSdrive
mailing list