Skip to main content

Color Schemes

NOTE

Π‘olor schemes are used as part of paid Maps+ and Pro features .

Overview​

Color schemes are used in variety areas of application such as Route colorization, Map terrain, Weather map. Represented as a separate entity, it could be exported, imported and edited, so you could change a color scheme and change data visualization on the map.

Color palette data is available in the Maps & Resources menu.

Menu β†’ Maps & Resources β†’ Local β†’ Colors

Palettes

Scheme Types​

Palettes

Terrain​

Terrain files (height_altitude_<type_name>.txt, hillshade_color_<type_name>.txt, slope_<type_name>.txt) define 3 terrain visualizations: Hillshade, Slope, and Altitude. For each type you can have multiple palettes, for example avalanche slope is provided by default.

Routes​

Line gradient visualizations uses palette files (route_<type_name>_<palette_name>.txt) to color GPX tracks and Routes:

  • For Routes: Speed, Slope, and Elevation (Altitude).
  • For GPX Tracks: Speed, Slope, and Elevation (Altitude), or info from External sensors.

Weather​

Weather palette files (weather_<type_name>.txt) defines visualization for weather layers.

Colors​

Color palette (user_palette_default.txt) is simply used for predefined colors to assign to Favorites, Tracks.

Palette Legend​

The legend provides an easy way to view and understand the different markings on the map. New color palettes have been added to display speed for tracks, line type for routes, altitude and slope for terrain, and all weather layer color palettes.

AAAAAA

Edit Palette file​

You can edit palettes to personalize look for maps, routes. Own color palette files can be added to OsmAnd using the import/export tool.

  • Routes: route_speed_<type_name>.txt, route_slope_<type_name>.txt, route_elevation_<type_name>.txt.
  • Terrain: height_altitude_<type_name>.txt, hillshade_color_<type_name>.txt, slope_<type_name>.txt.
  • Weather: weather_<type_name>.txt.
  • Color: user_palette_default.txt.

Each line represents a numerica value (for color palette, it's an index) and rgba color. For example:

# TXT file named *height_altitude_0-200.txt*
# 0 - 90 degree RGBA
0,46,185,0,191
# yellow
100,255,222,2,227
# red
200,255,1,1,255
# violet
220,130,1,255,255

After moving this TXT file to ..Android/data/net.osmand/files/color-palete/height_altitude_0-200.txt, a new palette will appear in the Color Scheme menu.

Read more​

Quick actions​

Menu β†’ Configure screen β†’ Custom buttons β†’ + β†’ Add button β†’ Add action β†’ Topography β†’ Change Terrain color scheme

Quick Action to change palette for Terrain. We have added the ability to switch between terrain color schemes, similar to switching between layers. This can be done using the Quick Actions tool.

Color Scheme

Import / Export Colors​

Menu β†’ Settings β†’ Import/export β†’ Export to file

Profiles Actions Export Android Backup local Android

You can import and export all available default and custom color palettes using OsmAnd's restore and backup files tool.

  • Open the main Menu, Settings, scroll down to the Import/export (Android) or Local Backup (iOS) section, and select the required action.
  • Select one or more items from the Color list or the Select All option.
  • All exported files are saved in OSF format.
  • If the size of your selected data is significant, it will take some time for the application to prepare the OSF file.
  • View Import / Export article for more detailed information.