Context: Classify the type of data in the following order:
Borehole collars
Borehole surveys
Borehole structures
Borehole samples
Borehole geophysics
Point Samples
Point structures
Point collars
Create an XML file in a text editor. <?xml version="1.0"
encoding="UTF-8"?>
Add the import-mapping root element and the current version.
<import-mapping version="1.0">
Define the required borehole collar mapping using the borehole-collar-mapping element.
Add the filename of the borehole collar data file and the default horizontal and vertical
CRS ID. Only ESPG codes are supported. <borehole-collar-mapping
file-name="collar.csv" default-horizontal-crs-id="EPSG:1234"
default-vertical-crs-id="EPSG:4321">
Define the mapping for the borehole name. <borehole-name
column="1"/>
Define the mapping for the borehole collar x, y, and z coordinates.
<collar-x column="2"/> <collar-y column="3"/> <collar-z
column="4"/>
Optional: Define the mapping for the borehole collar azimuth.
<collar-azimuth column="5"/>
Optional: Define the mapping for the borehole collar dip and plunge.
<collar-dip column="6"/> <collar-plunge column="7"/>
Optional: Define the mapping for the ID of an existing horizontal or
vertical CRS to associate with the borehole collar. <horizontal-crs-id
column="8"/> <vertical-crs-id column="9"/>
Define the mapping for the borehole maximum depth. <max-depth
column="10"/>
Optional: Define the mapping for the borehole path type.
<hole-path column="11"/>
Optional: Define the mapping for the borehole drill method, drill date,
and drill rig ID. <drill-method column="12"/> <drill-date column="13"/>
<drill-rig-id column="14"/>
Optional: Define the mapping for the borehole piezometric level.
<piezometric-level column="15"/>
Define the required borehole survey mapping using the borehole-survey-mapping element.
Add the filename of the borehole survey data file. <borehole-survey-mapping
file-name="survey.csv">
Define the mapping for the filename. <borehole-name
column="1"/>
Define the mapping for the borehole survey depth. <depth column="2"/>
Define the mapping for the borehole survey dip. <dip
column="3"/>
Define the mapping for the borehole survey azimuth. <azimuth
column="4"/>
Define the required borehole sample mapping using the borehole-sample-mapping element.
Add the filename of the borehole sample data file. <borehole-sample-mapping
file-name="lithology.csv">
Define the mapping for the filename. <borehole-name
column="1"/>
Define the mapping for the borehole sample from. <depth-from
column="2"/>
Define the mapping for the borehole sample to. <depth-to
column="3"/>
Define the mapping for the borehole sample, including the sample column number; the
name of an existing attribute to associate with the borehole sample data; the name of
an existing measurement to associate with the borehole sample data;
<sample column="4" data-type="categorical" attribute-name="a4"
measurement-name="m4"/>