pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton ([personal profile] pne) wrote2010-06-04 09:14 pm

Cleaning up my Garmin favourites

So I decided to look for an XML prettyprinter so that I could clean up my Garmin favourites.

I exported an old version (from the last time I did this…) and the current version, pretty-printed them and then diffed them, to see what strange categories had been messed up this time.

Fortunately, it only added bizarre categories this time, rather than replacing existing ones with bizarre ones, so I just had to delete the offending bits and re-sync. (Now let’s hope it’ll leave them alone for a while.)

(FWIW, I used this online XML pretty-printer. I couldn't save the resulting XML file, though, so I ended up exporting to HTML, then copy-pasting to Vim.)

Edit: I just updated the firmware... and it had mushed in its weird categories back into the file. *sigh* (And also included some GPX extensions: speed and course. Which is fine, I suppose. So I’ll add those, then remove the categories again.)

Edit: except the speed and course are “speed: 31.57; course: 1.41” for all points. Which is obviously garbage.

Does anyone test those firmware releases? Or did I just get a dud device?


Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org