[OSM-talk] gpx tool advice needed

Rory McCann rory at technomancy.org
Wed Nov 12 15:36:00 GMT 2008


On 12/11/08 10:57, Tanveer Singh wrote:
> Hi,
> I have a lowrance GPS.
> This has the option of dumping data to SD card.
> What it will do is dump all the trails to SD card under 1 file <filename>.usr
> Then I use GPS Babel to convert usr to gpx.
> But this gpx is huge.
> Is there a way to extract just one trail out of this gpx data and keep
> the timestamps intact
> All trails have different names, and when I convert to kml I can see
> the tracks individually.
> Is there a way where I can do
> 1. Big .usr file to big .gpx file
> 2. Extract one track and save to a small gpx file which I can upload to osm?

You can do this with gpsbabel.

For example if you have track named "mytrack", then off the top of my
head, you can extract that track with this command:

gpsbabel -i mybiggpxfile.gpx -f gpx -x track,name=mytrack -o mytrack.gpx
-F gpx

More details are on the GPSBabel documentation:
http://www.gpsbabel.org/htmldoc-1.3.5/filter_track.html

Rory

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081112/c639bc68/attachment.pgp>


More information about the talk mailing list