Вы находитесь на странице: 1из 4

CSV Default Mapping

PLEASE NOTE: the filenames, column headings and case must be identical to that shown,
failure to use identical names and case will result in errors and warnings.
This mapping requires two or three files and follows the same format as used to import and
export from HoleBASE SI.

Filename Requirement Description

Location Details.csv Mandatory Bore hole type and position


information

Field Geological Mandatory Strata and banding information


Descriptions.csv

Orientation and Inclination.csv Optional Used for inclined bore holes

Location Details.csv
This file contains a row for each individual hole location, the table below gives details of the
individual column headings and which fields are mandatory or not

Column Description Mandatory Example


Heading

Location ID Location unique ID Yes BH0001

Location Type Type of activity at location Yes RC

Easting Easting or longitude of the location of hole Yes 123456.4

Northing Northing or latitude of the location Yes 232467.3

Ground Level Ground level relative to datum of location or Yes 35.43


start of traverse

Final Depth Final Depth 8.37


Below is an example of the Location Details.csv, note the case and spacing in the column
headers.

Field Geological Descriptions.csv


Contains the strata or banding data per location of stratum, the four columns Legend Code,
Geology Code, Geology Code2 and BGS Lexicon are not all mandatory, but at least one should
be fully populated to allow the software to correctly band the boreholes and strata.

Column Description Mandatory Example


Heading

Location ID Location identifier Yes BH001

Depth Top Depth to the TOP of stratum Yes 7.43

Depth Base Depth to the BASE of Yes 8.12


description

Legend Code Legend code 102

Geology Code Geology code LC

Geology Code2 Second geology code SAND

BGS Lexicon BGS Lexicon GOG

Description General description of stratum Stiff grey silty


CLAY
Additional banding columns can also be imported for instance, colour, shape or Angularity, by
editing the Mapping when importing.
Below is an example of the Field Geological Descriptions.csv, note the case and spacing in the
column headers.

Orientation and Inclination.csv


The third file, Orientation and Inclination.csv, is optional and contains information on the
direction of the bore hole.
Only entries for when the borehole is not vertical down need to be added
Note: the inclination for a standard vertical hole is 90°, and inclination of the 0° would create
a horizontal borehole, and inclination of -90° would create a vertical hole going upwards.

Column Description Mandatory Example


Heading

Location ID Location identifier Yes BH001

Orientation Orientation of hole (degrees Clockwise from 135


north)

Inclination Inclination of hole (measured positively down 75


from horizontal in deg)

Below is an example of the Orientation and Inclination.CSV file


If you open the XLS file in LibreOffice or OpenOffice, then Save As....and choose Text CSV, it
alows generating a CSV file that also includes quotes as delimiters. E.g.: "Smith","Pete","Canada"
"Jones","Mary","England"

Just check the "Quote all text cells"

box:

43942
 Although not an answer to the specific question it is a simpler workaround than trying to get my clients to use a
macro! – Duncanmoo Nov 1 '13 at 8:35

Вам также может понравиться