Route guidesRoutes Map
Mobile appApp Log in

GPX trkpt tag

Monday 15 June
Find a better bike route. Try our map & route-planner »

Become a supporter

I downloaded some tracks as GPX files, but found on inspecting them that every <trkpt> tag listed had not been closed (with a </trkpt>). I was able to rectify the problem fairly easily, but I thought I'd mention it here. 

Comments

Wed 17 Jun, 12:22

Hm – generally the GPX export uses self-closing tags, like this:

You’ll note that the /> (with a slash) at the end means “this tag closes itself”, so it doesn’t need a separate </trkpt>. But if it’s producing non-self-closing tags somewhere, do let me know where!

Enter to search, Esc to cancel