mapteksdk.geologycore.drillhole_field_type module
Enumeration used to represent the type of a drillhole field.
- class DrillholeFieldType(value)
Bases:
EnumEnumeration of supported common field types.
The field type indicates what the data in the field is intended to represent.
- NONE = ''
This field stores custom data not covered by another field type.
- EASTING = 'Easting'
- NORTHING = 'Northing'
- ELEVATION = 'RL'
- TOTAL_DEPTH = 'Total depth'
- FROM_DEPTH = 'From depth'
- TO_DEPTH = 'To depth'
- THICKNESS = 'Thickness'
- ROCK_TYPE = 'Rock type'
- HORIZON = 'Horizon'
- DEPTH = 'Depth'
- AZIMUTH = 'Azimuth'
- DIP = 'Dip'
- UNKNOWN = '?'
- supports_data_type(data_type)
Determine if this field type supports the specified data type.
- property is_built_in: bool
If the field is a built in field.
This will return False for DrillholeFieldType.NONE and True for every other field type.
- property default_unit: DistanceUnit | AngleUnit | NoUnitType
The default unit for fields of this type.
This is NO_UNIT for the OTHER field type, metres for distance fields and radians for angle fields.