Creating the Import-Mapping File with a Text Editor

You can create the Before you can import the borehole data files in Geoscience Interpretation, the data needs to be mapped.


Before you begin:
See Also
About Mapping Geoscience Reference Data
Working with 3DSpace, 3DDrive and 3DSearch

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

  1. Create an XML file in a text editor. <?xml version="1.0" encoding="UTF-8"?>
  2. Add the import-mapping root element and the current version. <import-mapping version="1.0">
  3. 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">
    1. Define the mapping for the borehole name. <borehole-name column="1"/>
    2. Define the mapping for the borehole collar x, y, and z coordinates. <collar-x column="2"/> <collar-y column="3"/> <collar-z column="4"/>
    3. Optional: Define the mapping for the borehole collar azimuth. <collar-azimuth column="5"/>
    4. Optional: Define the mapping for the borehole collar dip and plunge. <collar-dip column="6"/> <collar-plunge column="7"/>
    5. 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"/>
    6. Define the mapping for the borehole maximum depth. <max-depth column="10"/>
    7. Optional: Define the mapping for the borehole path type. <hole-path column="11"/>
    8. 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"/>
    9. Optional: Define the mapping for the borehole piezometric level. <piezometric-level column="15"/>
  4. 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">
    1. Define the mapping for the filename. <borehole-name column="1"/>
    2. Define the mapping for the borehole survey depth. <depth column="2"/>
    3. Define the mapping for the borehole survey dip. <dip column="3"/>
    4. Define the mapping for the borehole survey azimuth. <azimuth column="4"/>
  5. 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">
    1. Define the mapping for the filename. <borehole-name column="1"/>
    2. Define the mapping for the borehole sample from. <depth-from column="2"/>
    3. Define the mapping for the borehole sample to. <depth-to column="3"/>
    4. 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"/>
  6. Save the XML file.
    For an example of an import-mapping file, see import-mapping-file.