sec_interp.exporters.drillhole_exporters module

Exporters for drillhole data (Shapefiles).

class sec_interp.exporters.drillhole_exporters.DrillholeIntervalShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports drillhole intervals to a Shapefile.

export(output_path: Any, data: dict[str, Any]) bool

Export drillhole intervals to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘drillhole_data’ and ‘crs’.

Returns:

True if export successful, False otherwise.

Return type:

bool

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.

class sec_interp.exporters.drillhole_exporters.DrillholeTraceShpExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports drillhole traces to a Shapefile.

export(output_path: Any, data: dict[str, Any]) bool

Export drillhole traces to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘drillhole_data’ and ‘crs’.

Returns:

True if export successful, False otherwise.

Return type:

bool

get_supported_extensions() list[str]

Get supported file extensions.

Returns:

List of supported extensions.