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

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:garmin_foretrex_201 [2009/08/10 00:38] niccolodoc: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 ===== ===== Upload Google Maps route to the Garmin =====
Line 59: Line 71:
 javascript:(function(){var%20script=document.createElement('script');script.src='http://www.elsewhere.org/GMapToGPX/gmaptogpx.js';document.getElementsByTagName('head')[0].appendChild(script);})() javascript:(function(){var%20script=document.createElement('script');script.src='http://www.elsewhere.org/GMapToGPX/gmaptogpx.js';document.getElementsByTagName('head')[0].appendChild(script);})()
 </code> </code>
 +
 +A copy of the JavaScript code is here: **{{gmaptogpx.js.gz|gmaptogpx.js}}**.
  
 Open Google Maps and obtain driving directions. Open Google Maps and obtain driving directions.
doc/appunti/hardware/garmin_foretrex_201.1249857535.txt.gz · Last modified: 2009/08/10 00:38 by niccolo