2014/07/02

Editing GPX and saving KML files for web publication

My satnav/GPS device (Garmin eTrex20) produces GPX files as its track log. They cannot be opened and visualized staright avay in Google Maps, although one can use either Google Earth or services like gpsvisualizer.com to achieve that.

GPX contains much more information than required to present the track and for purposes of this blog  I edit the track records and save as KML file. That strips all unnecesary pieces of information by default (making the file smaller). I use free GPX editor for that purpose, as it also allows to edit the track, so the path can be displayed as smoother, and unnecesary (lost track, wee break etc.) bits removed as well as some points added.

Here is a quick tutorial:
1. start with File > Open GPX
2. Switch to preview mode
3. zoom in/out using mouse scroll, click and hold to pan
4. Click Delete inside the box tool

5. Drag a box around part of the track to be cleared

6. To add a waypoint switch to Google Maps view
7. Click on the place to mark and then Add waypoint to Google Map button

8. To rename go to the left pane, find the waypoint, click and click again to enable editing or right-click and go to Properties
9. Finally go to File > Export > As KML and voila

For sharing and presentation I upload the files to Google Drive with sharing with a link enabled, when the link is clicked, it recognizes file type and opens it with Google Maps.


No comments:

Post a Comment