Plan a Route
Overviewβ
The Plan a route (Menu β Plan a route) tool is a powerful feature of the OsmAnd application that allows you to create new routes as GPX tracks, edit and add new segments to already saved tracks, measure distances on the map, and attach track segments to the nearest available road using different navigation profiles. The feature is designed to work in offline mode.
A route consists of a set of segments between specified points. The segments can be straight lines or routes adapted to the selected profile. The route can be saved as GPX for later import, edit, and navigation.
- Android
- iOS
Main Use Casesβ
- Android
- iOS
Menu β Plan a route
Menu β Plan a route
Create New Routeβ
To create a new track in GPX format, use the main function of the Plan a route tool. Pre-creating a route has many advantages, unlike recording the current track with Trip recording plugin. You can add as many points as you want to the route, delete and move them, change route types by segments, and get detailed information about the route.
By default, the routing type will match the previously selected profile, tap the routing icon to select how the application should calculate the segment to connect points. The available profile should be configured separately.
You can zoom in and out for easy placement of points when creating or editing a track. When you zoom out, the points on the track become invisible for a better view of the entire length of the track and the map as a whole. Only the last added point and the pointer for adding the next point remain visible.
Modify Existing GPX Trackβ
- Android
- iOS
Menu β Plan a route β Open existing track / Import track
Menu β Plan a route β Open existing track
Plan a route tool allows modifying existing GPX track as well as an imported track. However in case you need to exclude large amount of points based on generic criterias, GPS filter might be a more suitable tool.
Distance Measurementβ
Plan a route is a quick and easy way to measure the distance between points.
- Select the Straight line method of route planning. A dashed line will be drawn between the points.
- Add the first point on the map from which the line will be drawn.
- Move the map to determine the distance and the azimuth. The information will be displayed in a field with a list of points below the map.
The Straight Line is needed and will be used for areas not covered by routing data, such as off-road and off-track areas.
Get Elevation Dataβ
If Elevation data is missing in an existing track, it's possible to add it using the following tools:
- Use nearby roads. This mode uses offline maps to find the nearest roads to build a track, so elevation data will be retrieved from attached roads. The geometry of the track can be adjusted.
- Use Terrain maps. (OsmAnd Pro) Mode calculates altitude based on Terrain map data (3D). The difference between the altitudes recorded by your device can be used for elevation correction. The geometry of the track remains unchanged.
Attach Track to Roadsβ
- Android
- iOS
Attach to roads allows attaching a recorded or an imported track to the roads from OsmAnd offline maps to get additional information:
- Correct turn information for Navigate by track (especially roundabouts).
- Street names and lane information
- Elevation data
- Road attributes
You can select a threshold value for the distance that simplified track points can be from the original track points.
If you open a track and see the undefined profile icon, that means you can select whether to attach the track to roads or simply connect points with a straight line and treat it as a recorded track.
Points & Segmentsβ
Adding Pointsβ
- Android
- iOS
To measure a distance or plan a trip, add points at the Pointer location one by one and tap the Add Point button. By accessing the points list below, you can reorder points, delete, or access a specific point context menu.
You can also Undo/Redo every action you made in the plan route.
Route Between Pointsβ
Added points in the editor could be connected as a straight line or as a route between points of a selected profile. Route between points can be accessed in several ways:
- From the Options menuβ Route between points.
- Tap the profile icon in the bottom left corner of the map screen. Not on the top icon, will open the Configure Map menu.
- In the Point Context menu β Change route type before/after.
- Android
- iOS
You can change route between 2 specific points or between multiple points:
- 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.
- Change the Route Type Before/After Point. In the point context menu, you can change the way the route is calculated for the section from this point to the nearest or to the edge point. The setting provides information about the distance from this point to the beginning or the end of the route, or to the next/previous point.
- Recalculate routes. You can use route recalculation without changing the profile type. The profile icon shown on the planned route in the tool will not change, but the route type will match the selected one. You may need this to find alternative routes.
Segmentsβ
A track segment is a collection of points connected without gaps. In a plan route tool, it's possible:
- To merge segments: Join segments option removes the gap to previously separated segments.
- To split or create new, unconnected sections of a track. To create one, use the Start new segment option or select the Split feature from the Point context menu.
Point Context Menuβ
- Android
- iOS
Each point on your route has its context menu. It shows the sequence number of the point, the distance from the start of the route, the function to move it on the map and remove it, and a set of actions with sections of the route before and after this point. To edit, tap the required point in the list of points or directly on the map.
Information about the point. The number of points in the list. The distance to the first point is based on the routing type set, the distance may change when recalculated to the new type if the Route between points parameter is changed.
Move Point. Allows you to change the position of a point on the map. Move the map using gestures to change the location of the point. The point indicator will be in the center of the visible part of the map.
Add point after. Move the map to add a point after the selected point. You can add as many points as you need until you tap cancel or apply.
Add point before. Move the map to add as many points as necessary after the selected point on the segment between this point and the next one.
Trim before this point. You can trim the whole section of the route, points, and segments, from its start to the selected point. The distance to be trimmed is indicated under the option name.
Trim after this point. You can trim a route, points, and segments, from the last point added to the selected point. The distance to be trimmed is indicated under the option name.
Split before. Allows to split the route before the selected point into separate, unconnected segments.
Split after. Allows to split the route after the selected point into separate, unconnected segments.
Join segments. The last point on one of the split segments and the next in the list of points on the other segment have this connection setting.
Change route type before this point. You can change the routing type configured for an available profile, between points on the previous segment, or for all segments from the start of the route to the selected point.
Change route type after this point. You can change the routing type between points on the next segment, or for all segments from the selected point to the last added point.
Delete Point. Remove the selected point from the route. Similar to deleting a point in a list.
Multimodal Routesβ
- Android
- iOS
Using the Plan a Route tool and the Route between points option, you can create multimodal routes where, for example, the first part can be a cycling route, the second part a straight line route and then a pedestrian one. Note that navigation on multimodal routes is not available, so you need to select one of the most suitable profiles to be able to follow the turn-by-turn instructions.
Editorβ
Save Routeβ
- Android
- iOS
After you have added at least one point to the map, you can use the save option. All tracks saved in Plane a route can be found in the main Menu β My Places β Tracks.
There are four ways to save:
- Quick save. The upper right Done / Save (for existing tracks) button allows quick saving of changes and exiting the Plan a Route tool. The name is generated based on the current date.
- Save changes in Options menu allows you to save changes to a file and continue planning the route.
- Save as new track in the Options menu opens a dialog where you specify the name of the track and the folder where the route will be saved.
- Add changes to a track. Attaches a created track as a separate segment to another existing track. Changes to a selected track cannot be undone.
When saving a new track, you can select the Simplified track option to make the track compatible with other third-party applications. Technically, the track will be saved without route instructions as a purely geometric track.
Optionsβ
- Android
- iOS
- Route between points. Shows the selected application profile (default is a straight line). Tapping this action is the same as tapping the Profile button, which opens the application profile menu.
- Start new segment (iOS) or Add a new segment (Android). Draws new route segments that do not connect to the previous segment.
- Save changes. If it is a new track without linking to the existing one, the Save as new track menu opens. When you add new segments to an opened or imported track, the notification about saving the GPS file to the storage appears, after which you can continue to create the next segment.
- Save as new track. Saves your route like the GPX track.
- Add to a track. Add your route to a track from your track folder and save the new track.
- Navigation. Starts navigation from your position to the finish point using a drawn route.
- Reverse route. You swap the Start point of the route and the last added point. The route segment settings do not change when Reverse is applied.
- Attach to the roads. Creates an approximate route. Each point on the track is matched to the nearest permitted road on the map according to the selected profile and threshold distance.
- GPS filter (Android only). You can filter out route points that do not match the selected routing type, delete unnecessary data, or correct inaccurate data. GPS filter will only work if the routing type is specified as Straight Line.
- Get elevation data (Android only). This option is only displayed in the menu if no elevation data is available. With this option, you can calculate altitude using Terrain map data or use data from downloaded maps to find the nearby roads.
- Clear all. It archives completely all your actions. An "artifact" remains on the map - the dotted lines of the just cleared route. It disappears at the next, adding new points. You can cancel the Clear All function with the Return Action button. The feature does not affect the unchanged parts of the routes opened in the tool.
Graphβ
- Android
- iOS
During route planning, the graph displays route altitude and slope percentage information, plus you can tap anywhere on the graph to display a pointer with particular data.
- For Android, the graph is displayed in the Graph tab when creating or opening a track, and when Navigation using Plan a route.
- For iOS, the graph is only available through the Options β Navigation menu.
When calculating a route for navigation in Plan a route, you can find out additional track information such as Elevation info and Road attributes, and use the Analyze on map tool. Tap the Details button below the graph.
Related Articlesβ
This article was last updated in November 2024