Color map layers: Difference between revisions

From Maria GDK Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</gallery>
</gallery>
==Palettes==
==Palettes==
Color palettes are defined on the '''Palette''' tab, where either a new palette can be created or an existing palette edited.
Color palettes are defined on the '''Palette''' tab, where either a new palette can be created or an existing palette edited. For an existing palette the '''Value''', '''Color''' or '''Start range''' of a color range can be edited or the color range can deleted by clicking the '''Trashcan''' button.


[[File:M3_color_palette.png|border]]
[[File:M3_color_palette.png|border]]
=== Create new palette ===
To create a new palette, click the '''Create new palette''' button. This will open a new dialog with several option.
==== Palette ====
The type of palette to create:
* Custom, a user defined palette for colormap
* Elevation, a predefined palette for elevation colormap.
* Bathymetry, a predefined palette for bathymetry colormap.
* Slope, a predefined palette for slope colormap.
* Aspect, a predefined palette for aspect colormap.
[[File:M3 create color palette.png|border]]
When a custom palette is selected, several option are available.
==== Analysis mode ====
The function used to color the colormap. ''Elevation'' where each pixel is colored according to its elevation value. ''Slope'' where each pixel is colored according to its gradient or slope value. ''Aspect'' where each pixel is colored according to the direction of slope. ''Value'' where each pixel is colored according to its elevation value.
==== Min value ====
The minimum value of the color range.
==== Max value ====
The maximum value of the color range.
==== Entries ====
The number of color ranges to create.
==== Color ramp start ====
The start color of the color ramp.
==== Color ramp end ====
The end color of the color ramp.


== Data sources==
== Data sources==

Revision as of 10:27, 19 October 2022

Colormap black 48px.png

Colormap layers are single channel data layers, for example elevation data, or data such as census, clutter, etc, which are colored according to a color palette. Values in the data are matched with colors in the palette. Colors may be mapped directly to data values, or there may be a calculation involved. It is for example possible to assign colors based on slope (gradient) or aspect (direction of slope) of elevation data sets.

Palettes

Color palettes are defined on the Palette tab, where either a new palette can be created or an existing palette edited. For an existing palette the Value, Color or Start range of a color range can be edited or the color range can deleted by clicking the Trashcan button.

M3 color palette.png

Create new palette

To create a new palette, click the Create new palette button. This will open a new dialog with several option.

Palette

The type of palette to create:

  • Custom, a user defined palette for colormap
  • Elevation, a predefined palette for elevation colormap.
  • Bathymetry, a predefined palette for bathymetry colormap.
  • Slope, a predefined palette for slope colormap.
  • Aspect, a predefined palette for aspect colormap.

M3 create color palette.png


When a custom palette is selected, several option are available.

Analysis mode

The function used to color the colormap. Elevation where each pixel is colored according to its elevation value. Slope where each pixel is colored according to its gradient or slope value. Aspect where each pixel is colored according to the direction of slope. Value where each pixel is colored according to its elevation value.

Min value

The minimum value of the color range.

Max value

The maximum value of the color range.

Entries

The number of color ranges to create.

Color ramp start

The start color of the color ramp.

Color ramp end

The end color of the color ramp.

Data sources

Data sources are defined on the Data source tab. A data source is either elevation data or generic data (for example clutter), and the data source can be configured to use all available data sets, specific data sets or data sets based on tags.

M3 colormap datasource all.png

M3 colormap datasource specific.pngM3 colormap datasource tags.png