GPX Export Formats

Plans

If you export an entire plan then the format depends on the contents.

  • All waypoints will be included in a <wpt>
  • If you have just one route or line, then you can choose between exporting a <trk> or <rte>
  • If the plan has more than one route or line, then it will have to be exported as a <trk> with each individual route or line inside a <trkseg>

The features (routes, lines and waypoints) are then exported as below.

Features

Features within a plan export or individual feature exported are formatted as follows.

Routes and Lines exported as GPX tracks

A route or a line exported as a GPX track has one <trkseg> containing the points as <trkpt> elements with lat and lon only.

Routes and Lines exported as GPX routes

A route or a line exported as a GPX route is a single <rte> containing the points. Each point is a <rtept> containing an automatically generated <name> to improve compatibility with GPX devices.

Waypoints

A waypoint is exported as a single <wpt> containing its <name> and a <type>