Plan a route

Plan future routes and trips

In this article

This article is incomplete & needs to be reviewed. You can help by creating a pull request.

Make a contribution
The **'Plan route'** tool is a powerful feature of OsmAnd allows you to measure distances on the map, create GPX tracks or add new segments to your own ones, to snap your track to the nearest available road with one of your navigation profiles. Of course, it works offline and available for Android and iOS versions of OsmAnd.

The route is many strings between points. Strings can be straight lines or routes of chosen navigation profiles. The sum of all these points and strings is a route, that can be saved, imported, or modified.

icon-androidicon-ios
Plan route androidPlan route ios

Opening 'Plan route'

The 'Plan route' can be switched on:

  • Main menu
Android: Menu → Plan a routeiOS: Menu → Plan a route
Plan route android_menuPlan route ios_menu
  • Track context menu (Android)

Options → Edit track

or to click to Edit track on the context menu screen:

Plan route android_contextmenu

'Plan route'

In the tool, you can create a new GPX route or open and modify the existing track. When you open 'Plan route' tool menu you find the next buttons:

icon-androidicon-ios
Create new route - create a new GPX routeCreate new route - create a new GPX route
Open existing track - open existing GPX track from OsmAnd track folder.Open existing track - open existing GPX track from OsmAnd track folder.
Import track - import GPX track from your device storage.
Last edited - choose GPX track from last modified.Last modified - choose GPX track from last modified.
Plan route android_choosemenuPlan route ios_choosemenu

Main screen

At the main screen of the tool there are the next elements:

icon-androidicon-ios
Plan route android-screenPlan route ios-screen

1. 'Options' menu.

2. 'Add' button for shaping points.

3. Back/forward - move along planning process steps.

4. Points list and Graph (Android) list.

5. 'Profile' button for choosing application profile.

6. 'Done' button - finish and save GPX route.

7. Name of GPX route by default (Android).

8. 'Close' button - exit from the tool with saving GPX route or no saving.

9. Widgets (Android) - Configure map , Search, Compass.

10. Widgets (Android) - Informational widgets , Navigational widgets .

11. Widgets - My Location & Zoom.

Route line

The Route line shows an automatically-generated road or straight route which you can save like a GPX track.

icon-androidicon-ios
Plan route android-routelinePlan route ios-screen

1. Profile icon (Android). It's mean that this segment was built by this profile routing.

2. Shaping points - basic points building the route.

3. Calculated route segment between shaping points. Colors of your chosen application profiles (Android) or last chosen application profile (iOS).

4. Straight-line from last shaping point and target point.

'Points' list and Graph

For opening 'Points' list and Graph:

1.Click to 'Points' list. icon-android1.Click to the open icon ˆ on 'Points' list. icon-ios
Plan route android-pointslistPlan route ios-pointslist
Description:Each point has information about distance and azimuth for a new making route, and additional altitude, and the speed information for recorded GPX track. In 'Points' list we can delete points (click to 'Delete' button near chosen point) or change the order of it (move a line of chosen point to up or below). Clicking to a point opens 'Point' menu.
2.Click to "Graph" button. icon-android-
Plan route android-graph
Description:Click to graph shows information about point and its location on the route. View of the graph of a route with Overview, Altitude, Slope, Road type, Surface, Steepness.

Creating a route

Start creating a route:

Android: Menu → Plan a route → Create new route

iOS: Menu → Plan a route → Create new route

Drawing a line

Choose how to draw:

  • By default straight line - only plain line stretches between shaping points:

Plan route straight_line

The straight line is useful for simple distance measurement, azimuth info or for areas not covered by routing data (off-road and off-path areas).

  • Click to 'Add' button for adding shaping points or just click on the screen.

Note: Overview data available only on roads, calculate a route using "Route between points” to see graphs.

Drawing a route

  • Click on 'Profile' button for choosing an application profile. The route will be calculated between points by routing of your profile.
  • Click to 'Add' button for adding shaping points or just click on the screen.

Plan route app_button

For icon-android we can modify routing parameters for chosen app profile by clicking to settings icon icon-settings on 'Profile' button:

app-settings

  • Choose two or more application profiles for creating a route. Click to 'Profile' button:

    Plan route app_choosing

Choose how to connect the points, by a straight line, or calculate a route between them as specified:

Whole track - The whole track will be recalculated using the selected profile.

Next segment - Only the next segment will be recalculated using the selected profile.

  • When you use two or more application profiles for your route:

for icon-android each segment has a profile icon and color of the application profile which using for calculated route between shaping points;

for icon-ios all segments have color of last using application profile for calculated route.

Actions of 'Point' menu

Actions in 'Point' menu (by clicking to a point in 'Points' list):

1.Click to a point from 'Points' list icon-android icon-ios:Open 'Point' menu
Actions in 'Point' menu:
1. Point infoShowed Number of point, Distance, Speed, Altitude of point.
2. Move pointMove map to change the position of this point.
3. Add points afterMove map to add points after a chosen point.
4. Add points beforeMove map to add points before a chosen point.
5. Trim before this pointThe trim route before a chosen point.
6. Trim after this pointThe trim route after a chosen point.
7. Split beforeSplit route before a chosen point.
8. Split afterSplit route after a chosen point.
9. Change route type before this pointChange route type (application profile) before a chosen point.
10. Change route type after this pointChange route type (application profile) after a chosen point.
11. Delete pointDelete chosen point from the route.

Saving a route

Click to 'Done' button to save your route like the GPX file.

Plan route android-save

Find your track in 'My Places' menu:

Menu → My Places → Tracks

'Options' menu

In 'Options' menu you can make the next actions with your route:

ActionDescription
1. Route between pointsShowing chosen application profile (The straight line by default). Click to this action is equal 'Profile' button with opening application profile menu.
2. Add a new segment or Start new segmentDrawing new segments of the route which not connect with the previous segment.
3. Save changesSave your route like GPX track and continue to create the next segment.
4. Save as new trackSave your route like GPX track.
5. Add to a trackAdd your route to a track from your track folder and save the new track.
6. DirectionsStart navigation from your position to the finish point using a drawn route.
7. Reverse routeChange the direction of a drawn route.
8. Clear allClear all shaping points.
icon-androidicon-ios
Plan route android-optionsPlan route ios-options

Modify existing GPX track

Modify GPX track

'Plan route' tool allows modifying existing GPX track. You can make any actions with your tracks.

Open any GPX track for modifying it:

Android: Menu → Plan a route → Open existing track or Import track

iOS: Menu → Plan a route → Open existing track

In 'Points' list, there is information about the number of points and a track distance.

icon-androidicon-ios
Plan route modify-track-androidPlan route modify-track-ios

You can make all actions with points in 'Points' list and 'Point' menu: delete, change order, move and etc.

For Graph (Android) you can see the actual information for a GPX track: Altitude, Slope, Speed.

In 'Options' menu is available all actions for GPX track too: add a new segment, reverse route, directions, etc.

Snap to roads

For example, you have recorded tracks. 'Plan route' tool allows snapping your track to the nearest allowed road with one of your application profiles.

For using this option you need to open your track by 'Plan route' tool:

Android: Menu → Plan a route → Open existing track or Import track

iOS: Menu → Plan a route → Open existing track

Next, choose the needed application profile for snapping your track to the nearest road. For this, you need to click 'Profile' button or choose in 'Options' menu → Route between points. For Android, you can set Threshold distance parameter.

After calculating the new route you click 'Done' button for saving the new GPX track which snapping to roads.

icon-androidicon-ios
Plan route snap-road-androidPlan route snap-road-ios

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.