0% found this document useful (0 votes)
236 views8 pages

Installing BGS OpenGeoscience Data Model For Boreholes On Oracle and MS Access

This presentation manual describes how-to install BGS OpenGeoscience Data Model for Boreholes version 1.0 on Oracle Database 11g Express Edition and MS Access 2013 database system. All program files & notes mentioned in the presentation manual can be downloaded from the following Dropbox link: https://www.dropbox.com/s/yqdx0v3z1t2r0cl/OGDM_Borehole_files.zip?dl=0 (Please note that all trademarks and/or copyrights referenced in this presentation are property of their respective owners). If you need further help related to this material, you can reach me via e-mail at: [email protected] ,I will try to get back to you as quickly as possible.

Uploaded by

edirnandi4770
Copyright
© Attribution (BY)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
236 views8 pages

Installing BGS OpenGeoscience Data Model For Boreholes On Oracle and MS Access

This presentation manual describes how-to install BGS OpenGeoscience Data Model for Boreholes version 1.0 on Oracle Database 11g Express Edition and MS Access 2013 database system. All program files & notes mentioned in the presentation manual can be downloaded from the following Dropbox link: https://www.dropbox.com/s/yqdx0v3z1t2r0cl/OGDM_Borehole_files.zip?dl=0 (Please note that all trademarks and/or copyrights referenced in this presentation are property of their respective owners). If you need further help related to this material, you can reach me via e-mail at: [email protected] ,I will try to get back to you as quickly as possible.

Uploaded by

edirnandi4770
Copyright
© Attribution (BY)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Installing BGS OpenGeoscience Data Model for Boreholes

on Oracle and MS Access database

By Edy Irnandi

Overview
BGS OpenGeoscience Data Models (OGDM) aim to provide open,
ready-to-use database designs that are free for all. The following
geoscientific topics are just some of the designs that are available:
Borehole index

Landslides

Borehole interpretations

Lithostratigraphical lexicon

Collections management

Geochemistry

Hydrogeology

Rock classification

Implementation examples are available for the following database


platform: Oracle, MS Access, MS SQL Server, MySQL and PostgreSQL

Overview Contd
OGDM for Borehole is the first database design package to be
released. This data model is designed to represent an index of
boreholes linked to their geological interpretations and associated
meta-data.
BGS OGDM for Boreholes can be downloaded from BGS website
http://www.bgs.ac.uk/services/dataModels/borehole.html
The following example given, on how to install OGDM for Boreholes
for Oracle and MS Access database on Windows environment.

Installing BGS OGDM for Boreholes on Oracle


Follow the steps below to install BGS OGDM for Boreholes on Oracle:
Download Oracle Database Express Edition 11g Release 2 from Oracle website
http://www.oracle.com/technetwork/database/database-technologies/expressedition/downloads/index.html
Install Oracle Database as per Oracle Database Express Edition 11g R2 Installation
Guide http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm and
create a new database user, e.g. OGDM1
Log on to Oracle database using Oracle DB Express >Run SQL Command
Line(SQL*Plus) or any compatible SQL tool e.g. Oracle SQL Developer

Installing BGS OGDM for Boreholes on Oracle - Contd


Extract the BGS OGDM for Borehole Oracle scripts to a staging folder on your local PC
Run/execute the BGS OGDM for Borehole Oracle scripts (note that the scripts are
compatible with version 10g ,and also tested with version 11g ), the 2 scripts are:
1) CreateDB_Oracle_v1_0.sql ,and 2) InsertScripts_Oracle_v1_0.sql

Validate results by submitting the following SQL command:


There are 23 tables created and prepopulated records for each table.

Validate results, by querying to main table(s) to see pre-populated record on it, e.g.
query to table BHD_INDEX ,heres the SQL Command: sql> select * from BHD_INDEX;

Installing BGS OGDM for Boreholes on MS Access


Follow the steps below to install BGS OGDM for Boreholes on MS Access:
Download & install MS Office Professional Plus 2013 trial version from Technet
evaluation center https://technet.microsoft.com/en-gb/evalcenter/jj192782.aspx
or if you have already had MS Access installed on your Windows system then to go
to the next step.
Extract the BGS OGDM for Borehole MS Access to a staging folder on your local PC
theres only 1 program file name: Borehole_v1_0.mdb.
Open this MDB file using installed MS Access app.
Validate results by double-clicking on a table e.g BHD_INDEX from Access Tables list
as follows:

Tables
list

Adding Coordinate Reference System (CRS) data from


IOGP EPSG dataset.
Boreholes data model uses EPSG Coordinate Reference System (CRS) catalog.
CRS data is stored in BGS OGDM DIC_CRS_HORIZ_CS table
Export data from EPSG dataset MS Access qry - browse CRS query results into a flat
file or Spreadsheet, and import it into BGS OGDM DIC_CRS_HORIZ_CS table.
Database columns mapping:

Takeaway
BGS OpenGeoscience Data Models (OGDM) aim to provide open, ready-to-use
database designs that are free for all, for commercial and non-commercial use.
Implementation examples are available in open source and proprietary database
software.
Boreholes data model is designed to represent an index of boreholes linked to
their geological interpretations and associated metadata.
Boreholes data model uses EPSG Coordinate Reference System catalog.

You might also like