Go Back  Bike Forums > Bike Forums > Road Cycling
Reload this Page >

gpx editing

Notices
Road Cycling “It is by riding a bicycle that you learn the contours of a country best, since you have to sweat up the hills and coast down them. Thus you remember them as they actually are, while in a motor car only a high hill impresses you, and you have no such accurate remembrance of country you have driven through as you gain by riding a bicycle.” -- Ernest Hemingway

gpx editing

Old 04-22-07, 11:30 AM
  #1  
Plow13
Senior Member
Thread Starter
 
Plow13's Avatar
 
Join Date: Jan 2006
Location: Pittsburgh, PA
Posts: 1,212

Bikes: Lemond Alpe d'Huez 2005

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
gpx editing

i had a gpx file i of what i rode and i want to share this ride with a friend, but i dont want to include the first and last 8 miles of the ride...how do i edit the file to only show this?
Plow13 is offline  
Old 04-22-07, 11:53 AM
  #2  
jeffremer
Senior Member
 
Join Date: Feb 2007
Location: San Francisco, CA
Posts: 751

Bikes: 2006 Lemond Etape 105/Tiagra

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
I don't know of an easy answer for this, but I'd suggest something like the following, though you may want to revise this if certain things don't work for you.

Open up the GPX file in something like Routeslip, or Bikely, or after converting it to KML with gpsbabel, in Google Earth. Then figure out which trackpoints you want to cut to and from. Then open up the gpx file in notepad (any plaintext editor) and cut out all points up to and from the trackpoints you want to save.

The idea is that since gpx doesn't really understand running length you've got to just remove the unnecessary trackpoints by hand.

There's probably a much easier and more slick answer to this question but I figure this is a decent quick and dirty method.
jeffremer is offline  
Old 04-22-07, 01:14 PM
  #3  
RussTypeS
Junior Member
 
Join Date: Jul 2006
Posts: 14
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
What kind of gps is it? Garmin's mapsource software will let you delete points. It's pretty easy to clean up your tracks with it. It is kinda finicky about importing gpx files from other applications so it may not work unless you have a Garmin.
RussTypeS is offline  
Old 04-22-07, 11:23 PM
  #4  
dorkypants
Senior Member
 
dorkypants's Avatar
 
Join Date: Feb 2006
Posts: 524
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 34 Post(s)
Likes: 0
Liked 17 Times in 13 Posts
GPX files are just text (a form of XML). You can open them in any text editor to slice and dice. Each track point has a timestamp, coordinates, elevation and possibly additional data, all bracketed by tags enclosed in angle brackets, similar to HTML.
dorkypants is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell or Share My Personal Information -

Copyright © 2023 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.