GXDATAMINE class

class geosoft.gxapi.GXDATAMINE
DATAMINE functions provide an interface to Datamine Software Limited files.
See also GIS.GXH for various other Datamine-specific functions.

Note:

None.
static create_voxel((str)arg1, (str)arg2, (GXIPJ)arg3, (GXMETA)arg4, (str)arg5) → None:
Create a Geosoft Voxel file from a Datamine block model file.
Parameters:
  • arg1 (str) – Datamine file name
  • arg2 (str) – Field to use for data
  • arg3 (geosoft.gxapi.GXIPJ) – Projection to set
  • arg4 (geosoft.gxapi.GXMETA) – META to set
  • arg5 (str) – Output voxel file name
Returns:

Nothing

Return type:

None

New in version 6.3.0.

Note:

Create a Geosoft Voxel file from a Datamine block model file.
static numeric_field_lst((str)arg1, (GXLST)arg2) → None:
Return a LST containing the non-standard numeric fields in a Datamine file.
Parameters:
Returns:

Nothing

Return type:

None

New in version 6.3.0.

Note:

At this time, only GIS_DMTYPE_BLOCKMODEL files are supported.
The field names go in the name part, and field indices (1 to N)
in the value part.

GIS_DMTYPE constants

Datamine file types
gxapi.GIS_DMTYPE_STRING = 2
gxapi.GIS_DMTYPE_WIREFRAME_TR = 8
gxapi.GIS_DMTYPE_DTM = 16
gxapi.GIS_DMTYPE_BLOCKMODEL = 32
gxapi.GIS_DMTYPE_WIREFRAME_PT = 64
gxapi.GIS_DMTYPE_POINTDATA = 1024