User Tools

Site Tools


doc:appunti:hardware:garmin_foretrex_201

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:appunti:hardware:garmin_foretrex_201 [2008/06/13 21:38] – external edit 127.0.0.1doc:appunti:hardware:garmin_foretrex_201 [2018/04/28 12:15] (current) – [Upload Google Maps route to the Garmin] niccolo
Line 51: Line 51:
  
 {{:doc:appunti:hardware:gps:etrex_pinouts.jpg?220|Connector for Garmin eTrex}} {{:doc:appunti:hardware:gps:etrex_pinouts.jpg?220|Connector for Garmin eTrex}}
 +
 +===== Upload OpenStreetMap route to the Garmin =====
 +
 +There is a fantastic service offered by **[[https://maps.openrouteservice.org/|maps.openrouteservice.org]]**: just choose a **starting** and an **ending point** on the map, add waypoints if required, select **pedestrian** or **car** routing. Then **download the GPX track** that you can **upload** to the Garmin Foretrex.
 +
 +I used a serial-to-USB adapter, with **gpsbabel** on GNU/Linux, this is the command line:
 +
 +<code>
 +gpsbabel -t -i gpx -f Track_cerchiaia-pacini.gpx -o garmin -F /dev/ttyUSB0
 +</code>
 +
 +Be sure you put the GPS in Garmin mode: //Setup// => //Set interface// => //I/O Format Garmin//.
 +
 +===== Upload Google Maps route to the Garmin =====
 +
 +Add the following code as a link into your FireFox bookmarks (call it **[[http://www.elsewhere.org/journal/gmaptogpx/|GMapToGPX]]**).
 +
 +<code>
 +javascript:(function(){var%20script=document.createElement('script');script.src='http://www.elsewhere.org/GMapToGPX/gmaptogpx.js';document.getElementsByTagName('head')[0].appendChild(script);})()
 +</code>
 +
 +A copy of the JavaScript code is here: **{{gmaptogpx.js.gz|gmaptogpx.js}}**.
 +
 +Open Google Maps and obtain driving directions.
 +
 +Click on the bookmark.
 +
 +It will appear a window. If you want all the points, get the data as a trak. Copy and paste in a document.
 +
 +You need to split in files of max 500 trackpoints each, because saved tracks have that limit on the Gramin.
doc/appunti/hardware/garmin_foretrex_201.1213385884.txt.gz · Last modified: 2009/08/10 00:38 (external edit)