Skip to content

Map Layout

The Map Layout page builds finished maps of DIC results, composed like a cartographic print product: a single page, a multipage report or a panel grid, from A4 to A2, Letter or a custom size, in portrait or landscape. The finished layout opens in QGIS, where you can keep working on it, or it is exported straight to PDF or PNG.

What a map contains

Click a letter to see what each part of the finished map is.

A finished map layout in the QGIS layout designer

The page

The page has the same three-part structure as the others: Select data and Page & title are open, and everything else is in the collapsed Advanced options group with the sub-groups Map settings, Arrows, Colours & ranges and Locator, method & footer. The headers of the sub-groups show their current state, for example "Map settings — swisstopo · scale 1:5'000 · frame".

The Map Layout page

The settings are remembered between QGIS sessions: page size and orientation, frame, arrows, colormaps and ranges per component, locator, key figures, method, footer note and report options. The folder, the selected layer and the maps ticked in the grid are not. The panel is also usable in a narrow dock: the fields shrink, and the Maps grid scrolls sideways.

Select data

Setting What it does
Directory The folder of a DIC run. It is scanned automatically.
Data type Displacement (the components and the DIC input images) or Velocity. It switches the layer list and the Maps grid, and a note shows how many files of the other type are hidden.
Result layer The result raster that is mapped.
Report Single page (the selected layer), Several pages (one map per page) or Panel grid (several maps per page).

The Maps grid

For several pages and the panel grid, every map that is switched on in the Maps grid is part of the report. The grid is the same toggle grid as in Results: the rows are the image pairs, and the columns are the components and, if they were exported, the DIC input images (hillshade, gradient magnitude and direction, primary and secondary).

  • Click a cell, a row or a column header to switch maps on or off. The buttons All, Results, DIC inputs and None select in bulk.
  • Pages are ordered by image pair, then by component. By default the components of the selected layer's pair are on.
  • Summary page first (on by default) adds a first page with a table of all maps (dates, maximum, mean, 95th percentile), small previews of the first maps (overview) and the method text.
  • By default a component has the same colour range on all its pages, so that time steps are comparable. Input images share one grey stretch per kind. You can also choose a colour range per page.

Panel grid

The panel grid is a report type with several maps per page (A4 to A2, Letter or custom size). All panels share one extent and scale, so they are directly comparable.

  • With One page per image pair, every pair starts a new page with its maps together.
  • Columns and rows can be set. Auto picks a good fit, and with Auto the maps are split over pages of at most max per page panels.
  • If every panel shows the same component with the same colour range (time steps), one colour bar sits at the bottom of the page. Otherwise each panel has its own small colour bar.
  • The scale bar and the north arrow are in the first panel of each page. The reference arrow and the attribution of the background are in the bottom band. The summary page works as for several pages.

Page & title

Setting What it does
Page The size A4, A3, A2, Letter or custom (width × height in portrait) and the orientation. Landscape (default) puts the map on the left and the legend, locator and method in a column on the right. Portrait puts the map on top and the legend, locator and method below. Fonts keep their size, so a larger page gives a larger map.
Title and Subtitle Filled in from the component and the run (dates and interval). You can edit them freely.
Logo and MOBI-DIC logo The MOBI-DIC logo (on by default) sits in the top right corner. An optional extra logo, for example your institution, goes to its left.

Advanced options

The four groups below are all collapsed by default. The defaults give a finished map, so open them only to adapt the map.

Map settings

Setting Default What it does
Background The base under the result: the input image or the DEM hillshade of the Input / Output page, or a swisstopo or OpenStreetMap service (needs internet). Multiply the result over the background (on by default) blends the result with the background.
Map extent Data extent Data extent, Current map canvas view (the part of the QGIS canvas you see now, used for all pages) or Extent of a file (the bounding box of a GPKG, SHP, KML or similar polygon, for example an area of interest).
Extent padding 8 % The space around the extent. With a fixed scale the map is centred on the extent.
Map scale Auto Auto fits the data into the map, and the scale it uses is shown next to the box. A fixed scale 1 : N centres the map on the data and uses exactly that scale. The layout is in mm, so 1 : 5000 shows 5 m per mm. Data that does not fit is cropped and a note appears. All pages of a report use the same scale.
Coordinate frame and Frame style on, thin zebra A frame with coordinate labels in the map CRS. The styles are thin zebra, zebra, ticks inside, ticks outside, line only, grid lines and grid crosses inside the map.
Tick labels on left, bottom The edges of the map that get coordinate labels. The right edge reserves a 6 mm strip. Top and right are taken over by the latitude / longitude frame when it is on.
Second frame: latitude / longitude off An optional second frame in degrees and minutes, at the top and right.
Scale bar and scale, North arrow on The scale bar with the scale, and the north arrow.

Arrows

Direction arrows from the sparse points are drawn over the XY and XYZ components, with a reference arrow in the legend.

Setting Default What it does
Arrows No arrows or Show arrows. The arrows point in the horizontal direction; their length is the displacement set under Length and filter (XYZ 3D magnitude or XY horizontal).
Arrow style black, 25 across, 0.7 × The colour (black or white), the number of arrows across the map, the thickness, and a thin outline in the opposite colour (on by default), which keeps the arrows readable on dark and light areas.
Arrow source Sparse points Draw the arrows from the raw sparse points, or from the coherence-filtered or the neighbour-filtered GeoPackage of the same run and dates. Only sources that were found next to the scanned rasters and contain points can be chosen; the others are greyed out as not available, and if your choice is not available the first source that is (unfiltered first) is selected. With none, the section shows no arrow data found and the pages get no arrows.
Arrow anchor Starts at point Start at the point, or centre on it.
Length and filter Same as Results panel Same as Results panel uses the arrow length (XY or XYZ) and the live neighbour filter you set in the Results panel (method, radius or neighbours, direction and magnitude deviation, see Arrows and Points), applied to the arrow source file of every page. A line below shows what is taken over, for example "length XYZ · coherence, radius 5 · direction ≤ 12°"; it follows the Results panel as you change it. The filter is only used while its box is ticked there, otherwise all arrows are drawn. Custom lets you set the length and the filters for the maps separately, see below.

With Custom the following settings appear:

Setting Default What it does
Arrow length XYZ (DEM) XYZ (3D magnitude) or XY (horizontal); Ortho and Camera results only have XY.
Neighbour search Neighbourhood coherence, radius 5 The method that finds the neighbours of an arrow: Neighbourhood coherence (all points within the radius, in grid spacings) or Nearest neighbours (the N nearest within a maximum distance). The same two methods as the live neighbour filter of the Results panel.
Arrow filter Direction deviation ≤ (default 45°) and Magnitude deviation ≤ (default 0.5) hide arrows that differ too much from the mean direction or displacement of their neighbours; arrows with too few neighbours are dropped as well. Displacement ≥ (default 0.5) and ≤ (default 10 m) are absolute limits of the displacement (the arrow length). The colours of the result are not filtered.

A line under the filter shows how many points of the selected layer pass it, for example "The filter keeps 8,582 of 17,278 points"; the arrows are then thinned to the density set under Arrow style. The neighbour statistics are computed on the full DIC grid, so a map shows the same arrows as the Results panel does for the same settings.

Colours & ranges

Setting Default What it does
Components One row per component found in the folder, with its own colormap (default: the usual one of the component) and range: Percentile, Min–max (calculated from the layer, shown for the selected layer), Fixed (Settings default) or Custom with your own Min and Max. The settings are remembered per component while you work.
Round range to nice values on Rounds calculated ranges outwards and puts a colour bar tick at every whole step. For example 0.093 – 11 becomes 0 – 12 with ticks every 2.
Opacity 85 % The opacity of the result over the background.
Setting Default What it does
Locator map none A small overview map with the mapped area marked in red, from a swisstopo or OpenStreetMap service. Locator zoom-out (default × 12) sets how much larger it is than the main map.
Key figures on The maximum, mean, 95th percentile and valid area of the layer in a small table. For signed components the maximum, mean and 95th percentile are of the absolute value.
Method text on The processing description, taken from the run tag.
Footer and Footer note on The footer line with the run, the parameters, the CRS, the version and the date, and an optional note, for example the data source or the author.

Build and export

Build map layout creates the layout and opens it in the QGIS Layout Designer, where you can keep working on it. Export PDF… and Export PNG… build it and write the file directly at 300 dpi.

Camera mode

Camera results have no coordinate system. The layout has no coordinate frame, scale bar, north arrow or locator map, and the units are pixels.