/osm_wpt

Add OSM waypoints on a GPX route

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Add OSM waypoints on gpx

License

This script aims at automatically adding waypoints (WPT) on a GPX route. These waypoints are particularly useful when you follow a route on your GPS to know or remind you the points you pass. It can be for example, the name of a mountain pass, the name of a peak or the position of a source of drinking water, etc.

Here is a standard gpx file cointaining only the route to follow: image1

After processing, new interesting waypoints are automatically added on the gpx route. image1

Prerequisites

gpxpy

pip install gpxpy

overpass

pip install overpass

osmapi

pip install osmapi

Usage

python osm_wpt_on_gpx.py inputfile.gpx outputfile.gpx

Tips for use with Suunto / Garmin

For Suunto users the outputed gpx can be imported on movescount map. Note that unfortunately the waypoint types are not recognized by movescount.

For Garmin users and in particular with the Fēnix 3 watch, the gpx file can be transfered on the directory: Garmin/NewFiles/. For others watches or more details on the file transfert, I recommand to read this.