#357192 gpsbabel: gpx output <name> and <number> inconsistent

Package:
gpsbabel
Source:
gpsbabel
Description:
GPS file conversion plus transfer to/from GPS units
Submitter:
Hamish
Date:
2011-08-18 14:51:03 UTC
Severity:
normal
#357192#5
Date:
2006-03-16 04:37:41 UTC
From:
To:
Hi, I'm using a backport of the 1.2.7-1 package from sid on Sarge.
See the DebianGIS project backports.

Using gpsbabel to import track lines from a Garmin GPS and output
to a GPX file.

The first track is missing <name> and <number> fields.

The second track has them, but <number> is i-1.

e.g.
<?xml version="1.0"?>
<gpx
 version="1.0"
creator="GPSBabel - http://www.gpsbabel.org"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/0"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0
http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2006-02-16T02:21:35Z</time>
<trk>
<trkseg>
<trkpt lat="...
..
..
..
</trk>
<trk>
  <name> #2</name>
<number>1</number>
<trkseg>
<trkpt lat="...

Indentation of <number> field as well?


thanks,
Hamish