Skip to content

Arrows and Points

When you load the sparse GeoPackage layers of a run, they appear in the Results page as coloured points or as arrows. Their settings are in the Appearance section, in the point and arrow options that show up when a sparse points layer is ticked. The colours of the rasters are described on the Appearance page.

Vector display

Vector display (shown for GeoPackage layers) selects how the sparse points are drawn:

Display type What you see
Coloured points One circle per point, coloured by its displacement value (see Coloured points).
Black arrows Black arrows with the direction and length of the displacement.
Magnitude arrows Arrows coloured by the displacement magnitude.

For Magnitude arrows you also set the Max magnitude (the top of the colour scale) and the Colormap: Green – Yellow – Red (default), Deformation scale (the same colours as the XY/XYZ rasters), YlOrRd, RdYlBu_r or Viridis. The scale has 20 classes between 0 and the Max magnitude.

The arrow options are grouped under four headings: Arrow shape and length, Colour and cut-off, Manual size (only while Auto is off) and Live neighbour filter.

Auto size and density

With Auto size and density (default, recommended) the arrows are made readable without manual tuning:

  1. Density. The DIC grid is thinned so that about Arrows across map arrows (default 40) span the longer side of the data: every k-th point in x and y is kept. The value is limited to what the grid holds, which is every point. A grey note next to it shows the resulting thinning, the approximate number of arrows and that maximum once a layer is loaded. 20–80 is readable; much higher values turn the arrows into blobs and make QGIS slow.
  2. Length. The length is scaled in map units, so it follows the map scale: a typical (upper-quartile) arrow is one thinned grid spacing long. See Length scale for a fixed ground scale instead.
  3. Width. The arrowhead and line widths follow the length of each arrow (multiplied by Thickness).

The data is not changed: points are only hidden by the layer's renderer, which also makes large layers much faster to draw. Untick the box to set the scale and the widths manually.

Coloured points

Coloured points are styled in the colour table of Appearance, in the rows marked points (for example XY points). A row appears for the component of the ticked sparse points; with the component all, every loaded component has its own row.

Setting Default What it does
Colormap The colour family of the raster of the same component RdBu for X, Y, Z, dZ; Deformation (QML) for XY, XYZ; Twilight for AZ; RdYlBu_r for DIP. Choose RdBu, Deformation (QML), AZ / Twilight, DIP / RdYlBu_r, YlOrRd or Viridis to change it.
Range Min–max How the colour range is found, see below.
Point size 1.5 mm Circle diameter on the map. It is set in the vector display options, not in the table.

The Range modes are:

Mode Range
Min–max The extremes of the loaded field.
Percentile The low and high percentile set in Settings → Results (default 5–95 %). Robust against a few outliers; computed once per layer.
Fixed The default Min and Max of the component from Settings → Results.
Custom Your own Min and Max, editable only in this mode.

Points below the minimum or above the maximum take the end colours and are still drawn. For signed components (X, Y, Z, dZ and DIP) the first two modes make the range symmetric around zero, so zero keeps the neutral colour; azimuth keeps 0–360°. Changes apply live to point layers that are already loaded.

Arrow layers

Arrow layers are always loaded fully opaque (100 %, arrow colours without transparency); the layer opacity setting applies to the rasters and the coloured points.

Arrow length

Arrow length sets which displacement the length of an arrow shows. In DEM mode you can choose XYZ (3D magnitude) (default) or XY (horizontal); Ortho and Camera results only have XY. The direction of an arrow is always the horizontal direction (the azimuth), because a map arrow cannot point out of the map plane. With XYZ an arrow therefore points downslope but is as long as the full 3D displacement, so mostly vertical movement gives a long arrow.

Length, colour and cut-off

The Component you choose in the dropdown above the layer grid (e.g. xyz, z) only sets the colour of Magnitude arrows and the field that Max magnitude and Hide arrows above test. For arrow length, colour and cut-off to describe the same displacement, choose the same component there as under Arrow length (xyz or xy).

The live neighbour filter (below) uses the same arrow length for its magnitude deviation, and the Map Layout can take over the arrow length and filter you set here, see Map Layout.

Length scale: Auto or true scale

By default (Auto) the arrow length is relative: a typical (upper-quartile) arrow is one thinned grid spacing long, so the arrows fill the map without overlapping. They are proportional to the displacement but there is no fixed ground scale.

Tick True scale next to Length scale (Auto mode) to draw every arrow with the same ground scale instead: length = displacement × Exaggeration, in map units, at every zoom. At 1 × a displacement of 5 m is an arrow 5 m long on the ground; 10 × draws 1 m of displacement as a 10 m arrow. The density (Arrows across map) and the widths stay automatic. At 1 × arrows are often shorter than the grid spacing, so a factor of 2–5 is usually more readable; lower Arrows across map if long arrows overlap.

With Auto off, Arrow scale (below) sets the length in millimetres on the screen per 1 m of displacement, which does not change with the zoom.

Arrow type and size

Arrow type sets the shape and works with and without Auto: Standard (tapered) is a tapered arrow with one head (default), Uniform width has the same width along the shaft, and Half arrow, left or right draws only one half of the head, as in barb plots.

With Auto size and density off, you set the size by hand. All values are on the map in millimetres and stay the same when you zoom:

Setting Default What it does
Arrow scale 1 Arrow length in mm per 1 m of displacement. Increase it to make arrows longer, decrease it if they overlap.
Tail width 0.25 mm Shaft width at the start of the arrow. A larger value than the shaft width gives a tapered look.
Shaft width 0.08 mm Shaft width at the head end.
Head length 1.0 mm Length of the arrowhead triangle.
Head thickness 0.5 mm Half the width of the arrowhead base, so the head is twice this wide.

With Auto on, the widths and the arrowhead follow the length of each arrow as it is drawn on the screen and are multiplied by Thickness (default 1.0 ×). They are calculated from the live map scale, so the arrows keep their proportions when you zoom, resize the panel or use another monitor or a projector.

Max magnitude

Max magnitude is the top of the colour scale. By default arrows above it take the top colour (Magnitude arrows) or are all drawn (Black arrows). Auto next to Max magnitude sets it to the high percentile of the loaded field (rounded up), so a few outliers do not compress the colour scale. Tick Hide arrows above (next to Max magnitude, both arrow styles) to hide them instead; the data is not changed, arrows are only hidden by the layer's renderer (not applied to azimuth/dip fields). The colormap applies to the layers loaded into QGIS; Google Earth vector exports keep their own colour scale, but honour the cut-off.

Live neighbour filter

The Live neighbour filter hides coloured points and arrows that disagree with their surroundings, which are usually correlation errors. It works on both display types and uses the same two ideas as the filters of the Outlier Filtering tab, but as sliders on the loaded layers. Tick Hide points and arrows that deviate from their neighbours under Live neighbour filter, choose a Method and move the sliders.

Method Neighbourhood Rejected when
Neighbourhood coherence All points closer than the Radius (in grid spacings, default 5; the point itself included). Fewer than 3 points in the radius, or the direction / magnitude differs too much from the circular-mean direction / mean magnitude of the neighbourhood.
Nearest neighbours The Neighbours nearest points (default 4) within the Max distance (default 50 m; the point itself excluded). Fewer than N points within the distance, or the direction / magnitude differs too much from the circular-mean direction / mean magnitude of the neighbours.

Max direction deviation (5°–180°, 180° = no direction filtering) and Max magnitude deviation (0 up to about the 99th percentile of the deviations, right end = off) are the two thresholds. Moving them updates all loaded layers immediately and shows how many points and arrows remain. Changing the method or its neighbour settings runs the neighbour search again (about a second for 80 000 points); the sliders themselves are instant. The magnitude that is compared is the one chosen under Arrow length (XYZ 3D magnitude by default in DEM mode, or XY horizontal), so a point that moves differently only in the vertical is found with XYZ and ignored with XY. The direction deviation always uses the horizontal direction. The filter also uses this setting for coloured points. Points without a valid vector, and zero vectors in the coherence method, are not measurements and never count as neighbours.

Only one pass of the nearest-neighbour filter is offered live. Its iterations and real-time deletion depend on the processing order and cannot be sliders; use the Outlier Filtering tab for those. Equally distant neighbours (for example when the N-th neighbour sits in a ring of four equally near points) are ordered differently than in the processing filter, so a few points at such ties can differ.

The filter works on the full DIC grid: the statistics are computed for every point, and arrows only show the thinned subset. For arrows it needs Auto (arrow layers loaded without Auto are skipped with a note). The filtered layers are temporary scratch layers that QGIS does not save with the project: 📌 Keep filter layers in project writes each one to a GeoPackage next to its source (<source>_dirfilter.gpkg for arrows, <source>_ptfilter.gpkg for points) and replaces the scratch layer by that file (same name, place, style and thresholds), so it is still there when the project is reopened. A saved points layer keeps the neighbour statistics it was saved with: its sliders still work, but changing the method or neighbour settings does not recompute them.

Live adjustment

Most settings apply to layers that are already loaded, without reloading:

  • Restyling. Changing Arrow length, Arrows across map, Thickness, True scale and Exaggeration, Max magnitude, Hide arrows above, Colormap or the manual scale and width fields restyles the loaded arrow layers about 0.3 s after your last change. With the filter on, a new density re-thins the temporary copy from points that were read once at load time.
  • Auto on or off. When you untick Auto size and density, the manual scale and width fields are filled with the sizes Auto was drawing at the current map scale, so the arrows do not jump, and then update the loaded layers as you change them. With the filter on, the arrows stay thinned at the last automatic density.
  • Live neighbour filter. Ticking it also works on point and arrow layers that are already loaded. Each loaded layer is replaced, at the same place in the layer tree and with the same name, visibility and opacity, by the temporary filter copy. Unticking it shows all points and arrows again. Arrow layers loaded with Auto off are skipped with a note.
  • Display type. A change of the display type (Coloured points, Black arrows, Magnitude arrows) applies to layers you load afterwards.

Map themes and print layouts

A filter copy has its own layer id, so map themes or print layouts that reference a layer by its id need to point to the filter copy. The Map Layout page builds its own arrows from the GeoPackage files and does not depend on the layer ids.

For Black arrows the Max magnitude value is greyed out until Hide arrows above is ticked.

Saving the result

Once the filters look right, 💾 Save filtered points… writes the points that pass them to a new GeoPackage: the method and thresholds of the live neighbour filter (if ticked) and, if ticked, the Hide arrows above cut-off on the magnitude field. The file contains all original attributes plus f_nb, f_dmag and f_ddir (the number of neighbours used, the magnitude deviation and the direction deviation in degrees) and is written at the full DIC resolution: the statistics are computed for every point of the grid, not only for the thinned arrows on screen. Points without enough neighbours are dropped whenever the filter is on. The source GeoPackage is never changed. With several layers loaded you pick a folder and get one file per layer (named <source>_filtered_<coh|nn>_dir<angle>_mag<value>_max<value>.gpkg). Writing hundreds of thousands of points can take a while.

Remembered settings

The vector display settings (display type, Auto, arrow length, arrow type, arrows across map, thickness, true scale and exaggeration, the live neighbour filter with its method and thresholds, Max magnitude and cut-off, colormaps, manual scale and widths, point size and the colormap and range of each points row) are stored between QGIS sessions and restored when the plugin opens.