This article is incomplete & needs to be reviewed. You can help by creating a pull request.
Route calculation is slow
Android: Please be aware that there are 2 offline routing engines in the app: a Java based approach and a "Native" (C++) routing. The Java based approach is used in 'Safe Mode', it is 10 times slower than native mode and it has strict memory limitations. If you experience it and you see messages 'Not enough memory to compute', please go to Plugins → OsmAnd development → Settings → 'Safe Mode' and make sure the option is disabled.
For native routing there are different limitations for different phones, depending on memory & processor. In general, native routing should handle < 300 km routes nicely. The route calculation should take between 15 sec and 4 minutes. It is prudent to not wait much longer than 4 minutes, because most likely the program will crash.
How to calculate routes longer than 250km?
If the app does not show a route after 7-8 minutes of calculation time, consider placing waypoints (pick e.g. places on motorways). 3-4 waypoints will be enough to calculate even 1000km routes.
For Top-end devices you can increase memory up to 512 MB or 1024 MB - Memory allocated devices.
For Android version you can create a Navigation Profile with Online or Third-party routing (BRouter). Read more about it here.
Calculation of 50 km routes for pedestrians
If you select Walking profile, the app may crash. There may be causes for this:
- If you have created a route longer than 50 km.
- The number of direct points on the route exceeds 1 million.
- You are using a mobile device to process a 50 km long route (not recommended, but you can use the Web version to calculate such a route).
If you need to create a route of a similar distance, use other profile types, such as Bicycle.
The calculated route does not seem correct
- What version of OsmAnd are you using, on what device?
- Do you use the offline maps offered within the OsmAnd app for download, or online (tile / raster) maps?
- If you use offline maps, tell us the exact name of the map file where the routing issue occurs, and its edition date.
- Tell us whether you have used OsmAnd's in-app offline routing, or any online routing provider like YOURS, OpenRouteService or OSRM.
- What routing profile is choosen in OsmAnd app (car, bike or pedestrian)?
- Please specify as exactly as possible the start and end point of your route. If possible, tell us city name and street name for each. Also a Permalink from openstreetmap.org can be helpful.
- Tell us your expected routing, and how OsmAnd routes.
OsmAnd only shows some speed cams
Due to the geodata taken from the OpenStreetMap project there are by now two methods how speed cameras are integrated in the raw OSM data:
- A point (called "node" in OSM terminology) of a way is tagged with "highway=speed_camera"), see OSM wiki at highway=speed_camera
- A group of OSM data elements are joined together in a so called "relation" that contains more elements than a single node to describe the direction that is covered by the speed trap. See Relation:enforcement.
Currently, OsmAnd can only make use of the elements that consists of a single node. Analyzing of relations is to come in a future release.
Why should I use a TTS voice, not a recorded voice?
TTS (text to speech) synthesizes a voice prompt from any specified text "on the fly", recorded voices can only play combinations of prereconrded voice snippets. Pre-recorded voices can hence not pronounce street names, place names, highway numbers, etc.
In OsmAnd, we therefore recommend using a synthesized (TTS) voice. They are also better maintained by the project developers to provide the latest feature set.
In order to use TTS, your system needs to have TTS engine installed. TTS engines often come pre-installed, and can also be installed explicitly. Here is a compilation of supported engines and languages for Android.
Read more about setting up and adjusting Voice prompts here.
TTS does not function properly
Text-to-Speech (TTS) issues will usually have to be fixed in your Android configuration and settings, not within the OsmAnd app.
In order to use TTS, your device needs to have TTS engine installed. Select or install a TTS engine via your Android device settings. Often, one TTS engine is already pre-installed on each device (e.g. google, Samsung, Pico), but another engine can be installed if needed. Here is a compilation of supported engines and languages for Android.
A TTS engine often supports several languages, so one must be selected to be used. Also, to improve the voice quality: Some TTS engines come pre-installed with only a set of basic-quality pronunciation packages, and then faciliate downloading higher quality voices per language language.
If you have issues with the TTS voice guidance:
- First check if you have a TTS engine installed on your Android device which supports the language you want (i.e. offers it for selection in its options). To do this, find and select the language you want in the Android (not OsmAnd) settings, often located under "Language and Input / Text-to-speech options".
- Then use the test button usually provided there to "Listen to an example". You should hear a test announcement in the correct language and pronunciation.
- Once this works, finally go to OsmAnd's General settings / Voice guidance and there select the corresponding TTS language. (Please note that the language list OsmAnd initially displays can be extended by tapping the "Install more..." option.)
Navigation stops while screen is off
- The same issue with track recording in the background.