← User manual

Processing

Merge datasets and flag data by solids.

The Processing module groups tools that create new datasets or new columns from the ones you already have. It works on the active project. The tools are in the left panel (Merge datasets and Flag by solids); click one to expand it. The result or progress appears on the right.

Long tasks run in the background: while they run, the button changes (for example Flagging…), Cancel appears, and the bottom bar shows the progress. See Notifications and operations.

Merge datasets

Merge datasets tool

Combines two project datasets into a new one. Choose the Merge type:

  • By columns: keeps all rows of the first dataset and adds columns from the second, taking for each row the value of the nearest point in X, Y, Z. Useful, for example, to assign each sample the value of the nearest block.
  • By rows: appends the rows of the second dataset below the first. Columns that exist in only one of them are left empty (NULL) in the other’s rows. Useful for combining sampling campaigns.

Steps:

  1. Choose By columns or By rows.
  2. Choose the First dataset and the Second dataset (they must be different).
  3. All columns are used by default. Check Choose columns on each dataset to select which ones to include.
  4. Enter the name of the Output dataset.
  5. Press Preview to review the result before creating it: total rows, the type of each column (numeric or categorical), columns renamed due to duplicate names (formerly …), and warnings.
  6. Press Merge. The new dataset appears in the project tree.

Flag by solids

Flag by solids tool

Classifies each point or block of a dataset by the solid (closed mesh) that contains it. For example, to find out which samples fall inside each mineralized body.

You need at least one face mesh in the project (imported from OBJ or DXF with faces, not just lines). See Import data.

  1. Under Dataset, choose the dataset to classify (samples or blocks).
  2. Under Solid meshes, choose One mesh, Selected meshes, or All meshes, and then the meshes.
  3. Under Output, choose:
    • Append columns: adds columns to the same dataset. Optionally set a Column prefix.
    • Create dataset: creates a new dataset with the result. Optionally set its name.
  4. Press Flag dataset. Progress is shown on the right (for example 40% · Preparing meshes).

Two columns are created: <prefix>_DXF_Name, with the name of the mesh that contains the point, and <prefix>_Sub_Mesh_ID, with the body within that mesh. If you don’t set a prefix, <dataset name>_flagging is used. When it finishes you will see a notification with how many rows were flagged out of the total, for example Flag by solids completed: 181 of 1500 rows flagged.

If a mesh has no faces or its geometry cannot be used, it is skipped and a warning is shown. If no points fall inside the solids, check that the dataset and the meshes use the same coordinate system.