Tracks and Routes

OsmAnd has many powerful features to display various routes on the map. Routes could be built as part of Navigation, created via Plan Route, imported as GPX tracks, recorded via Trip Recording plugin or browsed and selected from OpenStreetMap data.

In this article

Type of routes on the map

OsmAnd can display several different type of routes:

  1. Tracks (GPX) - recorded or planned trip saved in GPX-format. This kind of route could be imported from the external source, created in the application or recorded by user. GPX could contain one of 3 different types of data or all of them:
    • Track as a line - file has <trkpt> points array, each point has location and optionally time, speed, altitude and other attributes. These tracks are displayed on the map as solid lines.
    • Track as a route - file has <rtept> points array, each point described as an intermediate point of the route. It depends on how points within a route should be connected either as small route segments or via straight line. These tracks are displayed on the map as dashed lines.
    • Waypoints - file has <wpt> points with attributes. Waypoints are displayed as circular points on the map. You could click on them to get additional information.
  2. Navigation Route - a route line displayed during navigation. By default this is a solid transparent blue line, though default appearance depends on vector map style, day & night mode. It's also possible to fully customize it on Android.
  3. Routes and route networks on the map - special objects on the map from OpenStreetMap data and provided with standard vector maps. They typically represent popular local routes and could be displayed in many ways (shields, color, thickness, pattern). To use these types of routes you will need to enable them on the map.

Read more about GPX Tracks.

Tracks

There are two options to display Tracks on the map: via Configure map menu or My Places menu

Tracks on the map Android Tracks on the map iOS

Display via Configure map menu

Android: Menu → Configure map → Tracks → … → Choosing tracks for display from the list and setting track appearance.

iOS: Menu → Configure map → Tracks → Choosing tracks for displayed from the list

Tracks menu Android

Tracks menu iOS

Display via My Places menu

Android: Menu → My Places → Tracks →  → Show on map or "Map" button for choosing multiple tracks.

iOS: Menu → My Places → Tracks → › → Show on map or "Layer" button for choosing multiple tracks.

Tracks my places Android

Tracks menu iOS

Track Appearance

In OsmAnd you can change the color, the thickness of the track, display arrows and icons of the starting and ending points.

To get to the track Appearance menu, you need to display track on the map, then in the Track Context menu in the Overview section, shortcut is to click on the "palette" icon.

Track menu options Android Track menu Appearance Android

Track menu iOS Configure color iOS

Parameter and Description
Split interval - splits track into intervals by Distance or Time and displays shields on the map.
Track menu Appearance Split interval Android
Direction arrows - adds direction info on the track.
Track menu Appearance direction arrows Android
Show start and finish icons - shows or hides start/finish icons of the track segments.
Track menu Appearance start and finish icons Android
Color - changes the color (solid or gradient) of the track using internal data: Solid Color, Height, Speed, Slope (PRO feature), Smoothness (OsmAnd plan route), Surface (OsmAnd plan route). If necessary data is not available grey color is displayed.
Track menu Appearance Track color Android
Select width - changes the thickness for the track between Thin, Medium, Bold, Custom.
Track menu Appearance Track Thickness Android

Analyze Track on Map (Android)

This option allows you to interactively review track information using graphs and the map. To get access to this menu shortly tap on the track → Options → Analyze on map

Track menu analyze on map Android Track menu analize on the map distance Android

  • Graph data: Altitude / Slope / Speed (if data is available in the track).
  • Graph dimension: Distance / Time.
  • Tap/Slide: tap to Graph for showing info about track point and moving along Graph highlights point location on the map and displays info about point on the bar.
  • Scale: scale Graph by two fingers gesture.
  • Follow My location: click button My Location, so map view and graph is synchronized with your location. In that case graph scale will stay constant and bar information will be fixed to 1/4 from the left. As you move, graph will slide from left to right displaying information Ahead of your Track. This functionality is useful for hiking & cycling during navigation, though this screen doesn't have other widgets displayed.

Track menu analyze on map 3 Android Track menu analyze on map 5 Android

Navigation route is a solid line prepared by Route Preparation process. It is displayed during Navigation or during Route preparation step.

Route on the map Android Route on the map iOS

Route Appearance (Android)

You can customize the route line's appearance for any navigation profile differently. It is possible to select Color and Width for the line, separately for Day and Night mode.

Menu → Configure profile → Navigation settings → Customize route line

Route Customization Android

Routes on the map

OsmAnd can highlight routes present on OpenStreetMap. They are not selectable but with the right configuration of visible set of routes, it's possible to follow the route by color & shields, you can create a Track on top of the routes using Plan Route functionality.

Android: Menu → Configure map → Map rendering → Routes

iOS: Menu → Configure map → Map style → Routes

Read more about Map Routes at Vector map style.

Configure Map Routes section

Configure Map Routes section

Track menu iOS

Map routes - hiking osmcMap routes - cycle-node-networks

Read more

Did this doc help you?

Privacy policy

Help us make these docs great!

All OsmAnd docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.