NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

To mark points it is convenient to hit the lap button on my foreunner 305. This is also recommended on the wiki. I haven't been able to get the lap markers to display in any editor I have tried (potlatch, josm and merkaartor). I have tried using the gpx files created by pytrainer, viking, and garmin_tools.

asked 11 Mar '11, 19:09

quantumstate's gravatar image

quantumstate
4551512
accept rate: 30%

Can you provide an example file from the device?

(11 Mar '11, 19:49) Richard Weait

My quick tests with gpsbabel and with garmin_save_runs + garmin_gpx show no traces at all in the gpx files from pressing the lap button momentarily. If I press and hold the button I'll get a new track, but I can't see how this could be useful.

The wiki says: 'The "lap" button can function as a quick "waypoint" recorder but the device also supports proper waypoints (max. 100) via "mark location" in the navigation menu.'

I wish we could find out how to do this. The real waypoint function is hidden far too deep in the menu tree and is impracticable for mapping on the fly during training.

(11 Mar '11, 21:14) gnurk
1

http://dl.dropbox.com/u/1055062/7.gpx is a gpx from pytrainer (in the ~/.pytrainer/gpx directory) which has the lap points at the end. This is the only tool I have found that outputs a gpx with lap information.

http://dl.dropbox.com/u/1055062/20110311T161214.gmn is the import dump that garmin-tools generates.

I agree that the real waypoint function is not practical for mapping.

(11 Mar '11, 22:49) quantumstate

OK... Here's an ugly proof of concept-hack I've written that at least works for me in JOSM:

cat 7.gpx | sed -n '/^<extensions>/!{p;d};:l;n;/^<\/extensions>/d;s@^<gpxdata:startPoint \(.*\)/>@<wpt \1></wpt>@;/^<wpt/p;bl' > 7b.gpx

It transforms start points into way points.

permanent link

answered 12 Mar '11, 01:15

gnurk's gravatar image

gnurk
6.1k106096
accept rate: 15%

1

This works for Potlatch and Merkaartor too. Thank you.

(12 Mar '11, 09:29) quantumstate

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×309
×235
×35
×1

question asked: 11 Mar '11, 19:09

question was seen: 6,092 times

last updated: 12 Mar '11, 09:29

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum