Query Examples

A valid query can consist of a single expression (e.g. TYPE == joint), or it may consist of a complex combination of expressions, using AND, OR and brackets ( ). The following examples illustrate some typical queries that you might use in Dips.

TYPE == joint

TYPE == joint && SURFACE Includes rough

TYPE == joint && SURFACE == rough && SPACING <= 1

TYPE == fault || TYPE == shear

SPACING > 0.5 && SPACING < 1.5

TYPE == joint && ( TRAVERSE == 1 || TRAVERSE == 2)

Set == 1

The examples are based on the example.dip file which you should find in the Examples folder in your Dips installation folder. To start: