Why not ask your question on the new OpenStreetMap Community Forum?

Today did a 9 mile walk and a lots of route as not been mapped into OSM. For some reason my garmin trace as a problem it won't open with my downloading software (memory map) it looks ok in a text editor, much like the dozens I've uploaded before,I tried memory card down load as well no luck. I have linux and windows available what could I chop or clean up this with and save as a GPX it was a nice walk but don't want to go there again for a while. I can use bing to map some but that is not ideal.any ideas

asked 26 Jun '11, 00:43

andy mackey
13.2k87143285
accept rate: 4%

edited 11 Aug '14, 08:49


"Not well-formed (invalid token)" sounds like there's something in the XML that shouldn't be there.

I'd suggest you run the file through an online XML validator, such as this one. If there's a problem with the XML, it will tell you what it is.

permanent link

answered 26 Jun '11, 12:11

Richard ♦
30.9k44279412
accept rate: 18%

Have you tried uploading the GPX to openstreetmap.org? Does it work, or does it give any sort of error?

Or you could try opening the GPX file in JOSM (without uploading it). If that works, you can then trace the path etc to add it to the map.

If these don't work, to try and fix the GPX you could:

  • Process it using GPXBabel. ie set the input and output formats to GPX, this might fix it.

  • Open it in an XML editor. Foxe is a good free option for Windows. This has syntax highlighting, so it should make it easier to spot any errors in the tags. It has an option to validate the file, which should warn of any errors in it.

permanent link

answered 26 Jun '11, 02:41

Vclaw
9.2k895141
accept rate: 22%

You can also use Liquid XML Editor to validate your xml file, its not free but then you get a much more fluid UI and syntax highlighting.

permanent link

answered 17 Aug '11, 13:48

Michael Dupre
1
accept rate: 0%

I just experienced a problem with a trace i couldn't open with my usual programmes. I then notice the memory on my Garmin Oregon's memory was full and it had stopped recording mid location. i should have saved and deleted stuff. I eventually opened the incomplete file with Notepad a text editor, i compared it with a good one, the last sentence was incomplete so i cut and pasted a good ending. so it ended like this:

<trkpt lat="52.0698085341" lon="-0.1248275572"></trkpt>
</trkseg>
</trk>
</gpx>

saved it and then it worked, apart from the fact the point was from a previous walk of course several KM away.

permanent link

answered 23 Dec '16, 00:57

andy mackey
13.2k87143285
accept rate: 4%

edited 23 Dec '16, 01:23

aseerel4c26 ♦
32.6k18248554

Your answer
toggle preview

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:

×255
×93
×42
×11

question asked: 26 Jun '11, 00:43

question was seen: 21,687 times

last updated: 23 Dec '16, 01:23

powered by OSQA
{"cc_re__cc_re__cc_by_sa_2_0": ["iv>\n    <div class=\"spacer3\"></div>\n</div>\n\n        \n            <div id=\"ground\">\n                \n\n\n<div>\n    <div class=\"footerLinks\" >\n         <a href=\"/about/\" >about</a> <span class=\"link-separator\"> |</span> <a href=\"/faq/\" >faq</a> <span class=\"link-separator\"> |</span> <a href=\"/privacy/\" >privacy</a> <span class=\"link-separator\"> |</span> <a href=\"http://wiki.openstreetmap.org/wiki/Contact\" >contact</a> \n    </div>\n  <p>\n        powered by OSQA\n  </p>\n</div>\n <div id=\"licenseLogo\">\n  <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.0/\">\n            <img src=\"/m/default/media/images/by-sa-88x31.png\" title=\"Creative Commons: Attribution - Share Alike\" alt=\"cc-by-sa\" width=\"88\" height=\"31\" />\n  </a>\n </div>\n\n\n            </div>\n        \n        \n\n        \n        </div>\n\n        <!-- Put all elements with fixed position here, IE6 fixed position fix: http://ryanfait.com/position-fixed-ie6/ -->\n        <div class=\"notify\" style=\"display:none\">\n            \n                \n                    \n                          <p class=\"da"]}