User:Patatate douce

From OpenStreetMap Wiki
Jump to navigation Jump to search

Guide pour OsmAnd par patatate_douce

Le but est d'installer, configurer et apprivoiser OsmAnd, en explorant quelques fonctions et en préparant quelques profiles à usage spécifique (rando, vélo, transports en commun, spéléo). Ce n'est qu'un guide parmi d'autres.

Installation

  • Installer le store Droid-ify (préféré), ou bien F-Droid [1]. Il faudra peut-être autoriser l'installation de paquets depuis des sources inconnues, c'est ok.
  • Installer OsmAnd~ depuis un des deux stores. Avec cette version, on a toutes les fonctionnalités d'OsmAnd Pro gratuitement, sauf la fonctionnalité OsmAnd Cloud (qui permet de synchroniser ses favoris sur https://osmand.net/map/).
  • Pour les contributeur actifs OSM, une autre solution est de rester sur la version gratuite depuis un store classique, de se logger sur OSM dans OsmAnd, on a alors accès aux downloads gratuits/illimités, mais on n'a pas accès aux fonctionnalités de OsmAnd Pro.

La version OsmAnd~ est gratuite. Ce n'est pas du piratage ou de l'arnaque : OsmAnd est une appli Open Source, gratuite, redistribuable. Les versions payantes servent à financer les développeurs, mais il est tout à fait légitime d'utiliser la version OsmAnd~ gratuite.

Premier démarrage

  • Démarrer l'app. Si l'appli propose de télécharger une carte, ne pas le faire : on y revient dans un instant.
  • Aller dans > Plugins :
    • Activer Online maps, Topography, Weather.
    • Pour des rendus rando et vélo intéressants, activer OsmAnd Rendering (n'est peut-être pas présent par défaut, on y revient plus tard).
    • Pour les contributeurs OSM, activer OpenStreetMap editing et se logger.
  • > Maps & Resources:
    • Dans l'onglet DOWNLOADS, dans la section World maps, télécharger World altitude correction et World overview map.
    • Dans l'onglet DOWNLOADS, dans la section Regions, télécharger Standard map, Contour lines, Terrain map (3D), éventuellement Weather forecast, éventuellement Wikipedia pour les zones voulues.

Fonctionnement général de l'app

On va faire un petit tour de l'app pour comprendre en pratique comment ça marche.

  • Quand on regarde la carte, on remarque qu'en haut à gauche, il y a une petite icône qui doit être un symbole de planète. On clique dessus, et on doit pouvoir changer de profil.
  • Faire un tour dans les différents profils.
  • On se place maintenant sur le profil piéton, et on essaye ce qui suit :
    • Courbes de niveau : > Configure map > Contour lines.
    • Vue 3d : > Configure map > 3D Relief, il faut alors swiper verticalement avec deux doigts, particulièrement intéressant en zone montagneuse.
    • Météo : > Weather.
    • Essayer les différents rendus disponibles : > Configure map > Map style. Le rendu OsmAnd peut être satisfaisant, mais d'autres rendus comme le Topo, Touring view, UniRS existent. Le rendu Hiking (fourni par le plugin Rendering est particulièrement adapté à la rando, installer depuis ce repo si il n'est pas présent de base).
    • Pour l'exercice, on laisse quelques réglages évidents volontairement modifiés. Par exemple, on laisse le rendu du profil piéton en UniRS.
  • Maintenant qu'on a trifouillé un peu le mode piéton, on passe en profil vélo. On se rend compte que les réglages du profil piéton n'ont affecté que le profil piéton : le profil vélo n'est pas en rendu UniRS mais dans son rendu initial.
  • Aller voir une zone pour laquelle on n'a pas téléchargé de carte. OsmAnd devrait automatiquement proposer de télécharger la carte pour cette zone.
    • Attention : télécharger comme ça ne téléchargera pas les courbes de niveau ni les données 3d, et aura tendance à prendre la carte la plus petite pour la zone. Je préfère télécharger les cartes via le menu comme indiqué plus haut dans ce guide.
    • Si l'appli ne propose pas le téléchargement, il est possible de faire un appui long sur la zone concernée pour retrouver le bouton de téléchargement automatique.
  • Explorer un peu les menus, surtout : > Configure map, > Configure screen, > Settings, > Navigation. La plupart des réglages n'affecte que le profil en cours.

On va un peu plus loin : layers, custom buttons, POI filters

Layers

Beaucoup de cartes ne sont proposées qu'en tuiles online. Les cartes online peuvent être préférées à du offline (vectoriel ou raster) pour diférentes raisons : moins de download pour une petite zone, données mises à jour fréquemment, pas d'utilisation CPU pour le rendering...

Le calque WayMarkedTrails n'est disponible que sous forme online.

On peut modifier la couche de base par ☰ > Configure map > Map source....

On peut modifier les couches inférieure/supérieure par > Configure map > Overlay map... / Underlay map....

Il est possible de préparer des tuiles online et les empaqueter dans un fichier sqlite3. Facile à distribuer et utiliser, mais la préparation d'un tel fichier est un sujet avancé.

Custom buttons (formerly quick actions)

You can add shortcuts to toggle options from the main screen. This lets you configure the map on the fly, without having to go through countless menus.

Configured via > Configure screen > Custom buttons.

I typically use 2 "custom buttons":

  1. One that is displayed displayed for all of my profiles: map mode (light/night mode), show/hide favourites, show/hide tracks, POI filter for water/food/toilet, POI filter for bike rental, Wikipedia, OSM notes, POI filter for emergency (police, firefighters, hospitals).
  2. One that is profile-specific: change base map, change overlay layer. In bike mode, I'll have a POI filter for rail stops/stations and, another for bike repair locations. For hiking, I'll have one with sleep locations (hotels/hostels/campsites).

POI filters

Creating custom categories is confusing as of OsmAnd 5.1.7.

Go to > Search > CATEGORIES. Select or type one POI type > Apply > Show > click the floppy icon at the bottom right or click the funnel icon at the top right then . You can share a single custom button for multiple profiles. You may have to save an incomplete filter before you can edit it again and add more POI categories to it.

To add a POI filter to a "custom button", edit your custom button and Add action > Show/hide -- POI.

Example hiking profile: offline vector maps, hiking waymarkedtrails overlay

  • Use the default walking profile or create a new profile for this. To create a new profile: > click on the profile name at the top-left > Manage.
  • I like to use the Hiking rendering for this.
  • In > Configure map > Overlay map..., select Waymarkedtrails Hiking, toggle on Show transparency slider and Show map symbols.
  • in > Configure map, toggle on Hiking routes, Difficulty classification (can have no effect depending on rendering), Fitness trails, Running routes.
  • You can now use the slider to adjust the visibility of the Waymarkedtrails layer. I find it useful to be able to quickly adjust it, but that might just be me.
  • This profile is partly offline, partly online. The online part is just a more visible rendering of main routes, the profile is definitely usable offline.
  • Possibly add a base layer switch in a custom button and allow toggling between offline vector maps and Microsoft Earth.
  • (France-specific) With the OsmAnd Rendering plugin you can set up an IGN online map: > Maps & Resources > OsmAnd rendering online maps > France > Carte topographique IGN.
  • Configure the overlay to use IGN Scan25 Touristique.

Routing

Navigation within the app

I suggest you first stick to OsmAnd's default routing engine. If you feel it lacks in quality, you can check the brouter module: OsmAnd help page and companion app. Online routers exist and can be a solution too (e.g. https://router.project-osm.org/route/v1/).

Preparing routes

I mostly use bikerouter.de (a fork of the brouter website) on the computer and I export to GPX, then import in OsmAnd.

Basic OSM editing

You must be logged in in the OpenStreetMap editing plugin.

You can then select a rendered POI (point of interest), or long-press somewhere on the map, click Actions, then Create POI, Modify POI, Open OSM Note.

Tags (key=value combination) are not straightforward and can be deceiving, do not edit unless you know what you're doing!

Some more settings worth exploring

  • > Navigation. Consider your options: native OsmAnd routing, brouter, online routing.
  • > Configure screen:
    • Especially handy are the widgets. I love the Radius ruler widget (then click on the widget multiple times to get the display you like) which lets you quickly see distance from current location to the middle-of-the-screen location. I also use the two Altitude widgets together which I find very handy when hiking. (possible bug: if the widget doesn't show on screen, go back to home screen then come back to the app)
    • Distance by tap can be useful but I find the previous trick more ergonomic.
    • 3D mode is amazing for planning or better understanding your whereabouts in the mountains. Swipe vertically with 2 fingers. Great with a satellite layer.

More on overlays

  • You can add an overlay manually via URL if you don't have an sqlitedb file. This is slightly confusing because you need to first change the base map in order to add the overlay:
    • Go into > Configure map > Map source... > Add manually...
    • Add the URL, confirm, etc. Typically a zoom of 13-18 is what you need but that may vary. Leave the other options alone.
    • Now that the overlay is added, change the Map source... back to what you had initially.
    • You will now have the overlay listed in > Configure map > Overlay map....
  • You have an overlay as an sqlitedb file? Just open it, let OsmAnd open it, and that's it.
  • Want to remove an overlay? Go into > Downloadmaps... > LOCAL, and you'll be able to remove it there.

What more?

I hope this helps give you a better grasp of the tool. The above is only a fraction of what OsmAnd offers.