Distances between points and a geological plane

This tool allows to calculate the perpendicular distances between the points in a layer and a geological plane, expressed via its attitude (dip direction and dip angle) and a point located on it (the "source point"). The value is positive when the point is higher than the plane, negative when lower than the plane, zero when located on the plane.

Its interface is subdivided in three sections (fig. 1):

Module interface
Fig. 1. Module interface.

Input parameters

From the main plugin window it is possible to define the input parameters by clicking on "I/O params" (fig. 1) and filling in the required parameters (fig. 2).

The input point layer must contain four required fields:
The geological plane is defined by its attitude (dip direction and dip angle), as well as by a "source point", laying on the considered plane, and defined through its Cartesian coordinates.


Input parameters interface
Fig. 2. Input parameters interface.


The resulting variables are stored in a new shapefile, with coordinates derived from the source layer x, y and z fields (fig. 3). For each point ("trace point") in the input point layer, a record is produced with the following parameters: The output shapefile projection is the same of the current QGIS project.

Output shapefile table
Fig. 3. Example of output shapefile table.


-----

Doc version 2019-05-01, by Mauro Alberti - alberti.m65@gmail.com