FLAGSAMPDB
Use this to run the Flag Samples option as a separate executable from Vulcan.
This option provides a series of options that will result in flagging similar to the use of Geology > Sampling > Flag Samples.
Usage
flagsampdb.exe -P <SFF_specification_file> [database_file] [smp_file]
|
The last argument is optionally the .smp file.
Usage for block models
|
Use -bm to flag samples via block model.
Where:
Option |
Description |
---|---|
-bm |
Activates block model flagging. |
database |
Refers to the Isis database to flag. |
groups |
Can be set to '*' to flag all groups. |
bm_name |
Refers to the name of the BMF file. |
bm_variable |
Refers to the field in the database that will store the results. |
flag_field |
Refers to the field in the database where the flagging results will be stored. |
<default_value> |
Optional argument where <default_value> is the value if samples in the database do not meet the flagging criteria. |
<smp_file> |
The sampling specification file that stores database field associations such as the drillhole id, x, y, z position (if using non-standard field names). |
Usage for polygons
|
Use -poly to flag samples via polygons.
Where:
Option |
Description |
---|---|
-poly |
Activates polygon flagging. |
database |
Refers to the Isis database that contains the fields to flag. |
groups |
Can be set to '*' to flag all groups. |
dgd_name |
Refers to the Design Database that contains the layer to be used for flagging. |
layer_name |
Refers to the layer in the design database. |
object_name |
Refers to the name of the object in the layer. |
polygon_attribute |
Can be set to "Colour", "Name", "Group, or "Feature". |
backward_projection_value |
Refers to the projection distance backward from polygon position. |
forward_projection_value |
Refers to the projection distance forward from polygon position. |
projection_axis |
Can be set to "X", "Y", or "Z". |
flag_field |
Refers to the field in the database where the flagging results will be stored. |
<default_value> |
Optional argument where <default_value> is the value if samples in the database do not meet the flagging criteria. |
<smp_file> |
The sampling specification file that stores database field associations such as the drillhole ID and the X, Y, and Z position (if using non-standard field names). |
Usage for triangulations
|
Use -tri to flag samples via triangulations.
The last two arguments are optionally the .smp file (or blank) and the default value when no flagging match occurs. Projection axis is "X","Y", or "Z". Inversion is "None", "Partial", or "Complete". Use "*" for groups to use all groups.
Where:
Option |
Description |
---|---|
-tri |
Activates triangulation flagging. |
database |
Refers to the Isis database to flag. |
groups |
Can be set to '*' to flag all groups. |
triangulation |
Refers to the triangulation name with.00t extension. |
inversion |
Can be set to "None", "Complete", or "Partial". |
projection_axis |
Can be set to "X", "Y", or "Z". |
database_field |
Refers to the field in the database that will store the results. |
flag_value |
Refers to the value to assign if flagging criteria is met. |
<default_value> |
Optional argument where <default_value> is the value if samples in the database do not meet the flagging criteria. |
<smp_file> |
The sampling specification file that stores database field associations such as the drillhole id, x, y, z position (if using non-standard field names). |
Examples:
flagsampdb -bm straight.st0.isis "*" LG_303020.bmf subdomain SUBDOM
flagsampdb -tri straight.st0.isis "*" flagtri.00t "Complete" Z SUBDOM 100000
flagsampdb -poly straight.st0.isis "*" dhole.dgd.isis FLAGPOLY RECT_1 Colour 50 50 Z SUBDOM