Documente Academic
Documente Profesional
Documente Cultură
The AGDM is an in-house, pre-defined data model which serves as data storage for MineSight 3-D and MineSight Interactive Planner. AGDM v1.6 was introduced with MineSight 3-D v3.30-00. This AGDM version is now compatible with Microsoft Access 2000 and Microsoft SQL Server 2000 databases. An Oracle version is on the list of future enhancements for the AGDM. Modifications to the data model were made to include equipment reporting in MineSight Interactive Planner (IP) as well as compatibility with Microsoft SQL Server 2000 database. A converter, MSAGDMConverter.exe, must be executed to transfer pre-existing databases from v1.3, distributed with MineSight v3.2, to v1.6. This utility routine is included on the annual update CD. The database converter can also be used to move individual plans between two databases of the same version. For example, the converter can be used to transfer a plan from a SQL Server database on a central server to a Microsoft Access database on a laptop.
To utilize a Microsoft SQL 2000 database, clients not only need to be running Microsoft SQL Server 2000, but also need to run the setup scripts provided on the annual update CD. These scripts need to be executed in SQL Query Analyzer to complete the database configuration.
In addition to the database conversion of a MineSight IP project, MineSight IP scripts need to be converted to make them compatible with MineSight Grail. In particular, all import of functions from reslib
The various RDBMS used by the AGDM include: Microsoft Access, MSDE (Microsoft Data Engine), Microsoft SQL Server 2000, and soon to come, an
(continued on page 7)
February 2004
Oracle version. The main characteristics that distinguish one RDBMS from another are storage capabilities, concurrent users, cost, and speed. RDBMS Engine Microsoft Access MSDE SQL Oracle Storage Capability 2GB 2GB 1TB 1TB+ Concurrent Users (simultaneous database users) 255 5 100 100+ Cost $ $$ $$$ Speed
Now that you have an idea of the benefits of databases, lets establish a connection to the AGDM. In this case we will use a Microsoft Access database, supplied with MineSight, to illustrate data attribution. First copy the file attrib13_16.mdb (location: \winexe directory) to the local working directory and rename the copy appropriately. In the main MineSight 3-D viewer, select Database, then select Connect to Attributed Database. The Select Data Source dialog will appear as shown to the right. Select New to specify the new Machine Data Source. Next, select the data source, in this case Microsoft Access Driver, and specify an appropriate name. In the Database section of this window, select the database that was established in the directory. Continue to the initial Select Data Source window where the initialized Machine Data Source will be found. Keep the data source highlighted and select OK to connect to the data source. The database is now ready to receive attributed geometry data. Geometry data can be exported into a database directly from MineSight 3-D. Do not try to export large geometry surfaces or solids as this attributed geometry database is designed for efficiently storing points, polylines, polygons, and small shells. To move data from a MineSight Geometry object to the AGDM, begin with an object open in the viewer and an established connection to the desired database. Next, in MineSight 3-D, go to Database | Export. The program will prompt you to select the object. As each object is selected, a dialog will appear in which the object attributes can be defined. In this dialog add a name for the object and, by selecting the Add/Edit Attribute button, define additional attribute types (priority, rock type, etc.). Once the objects have been added to the database, they can be accessed and modified using MineSight 3-D or another ODBC compliant database. Once connected to the database, a Geometry View of the database information can be created in MineSight 3-D. A Geometry View can be established by right clicking on a desired folder in the Data Manager, select New | Geometry View. Enter your constraint criteria in the Create View Window. After the Geometry View is established, styling and labeling can be modified through the Geometry View properties dialogue box.
February 2004
Fig. 1. Shows the geometry object, geol explanation, which consists of several different elements, as displayed in the viewer, and in a Preview window from the Legend Object dialog. The elements are shown at an angle in the viewer to illustrate that all of the elements in this geometry object lie on the same horizontal plane. In this example, non-transformed labels were used (note they always face forward), but semi-transformed or transformed labels could have just as easily been used. (continued on page 9)
February 2004