The OsmAnd's GPX file format conforms to the GPX 1.1 specification with additional data written as extensions. There are several sections of such data: ## Track appearance The following parameters are used to customize the appearance of a track on the map. They are used inside the "gpx" tag and apply to all tracks contained in the gpx. #### Parameters * **show_arrows** [*true, false*] - show / hide arrows along the path line. * **width** [*thin, medium, bold, 1-24*] - width of the track line on the map. The thin, medium, and bold are style depended values (should be defined as currentTrackWidth attribute). * **color** [*#AARRGGBB, #RRGGBB*] - color of a track line on the map. Hex value. * **split_type** [*no_split, distance, time*] - split type for a track. * **split_interval** [*double*] - split interval for a track. Distance (meters), time (seconds). #### Example: ```xml ... true #4e4eff distance 2000.0 bold ``` ## Details of a track point (trkpt) Written to a gpx file while recording a track. * **speed** (meters per second) * **heading** (0-359 degrees) #### Example: ```xml 203 3 273 5.02 ``` ## Calculated route(s) This data contains all details of a route built with **OsmAnd** (route segments, turns, road names, road types, restrictions, etc.). The route can be completely restored as if just built, even in the absence of the respective offline maps. A gpx file may contain several routes. Each of them is contained in a specific segment under **trkseg** / **extensions**. A gpx file is saved in this form when exporting a constructed route or when saving a track that consists of several separate segments via the **Plan a route** functionality. **Plan a route** also adds one (or several, in accordance with the number of contained separate segments / tracks) **rte** blocks to the gpx file, containing route key points (**rtept**). #### Gpx structure: ```xml ... ... ``` #### Example: ```xml Fri 06 Nov 2020 Fri 06 Nov 2020 0.801 0.998 1 0.963 0.899 .... ... ... pedestrian 0 pedestrian 24 pedestrian 89 pedestrian 121 ```