Check Procedures
Introduction
The four levels of checking that need to be performed are:
- Compliance with AGS Format Rules
- Data completeness Groups
- Data completeness Headings
- Data validation
Generally, these checks should be done in the given order. Check 1 and 4 can be done with software available to you. Check 2 and 3 is partly carried out by visual inspection of the data and data structure of the data file, which you can use gINT visualise the data and data structure.
All checks should be performed upon receiving new data from the Data Generator.
Before these checks can be performed, we will need to generate three log reports (test files) which will be used to analyse and check the data, as well as being returned to the Data Generator for correction of errors in the data.
AGS Checker Log
The software you will be using to generate this log is the gINT AGS Version 3 & 4 File Checker, which can be accessed in three ways:
- Within gINT by going to File > AGS Files > Check AGS Files
- Within gINT when importing or exporting an AGS file
- As a stand-alone program from the gINT installation, Start > All Programs > Bentley > gINT > AGS Checker
- By downloading the free AGS Tool Kit from the Bentley website (https://www.bentley.com/en/resources/software/ags-toolkit), then run Start > All Programs > Bentley > gINT AGS Toolkit > AGS Checker
There are a few steps to perform before using the gINT AGS Checker. Firstly, the heading PROJ_AGS – AGS Edition Number in the AGS file should be: 3.1 (SG). If this is not the case, then perhaps the file is not ASG 3.1 (SG) format.
Secondly, open the AGS Checker.
- In Files To Check, browse to the AGS file
- Check Messages Listed By: Severity
- Check Show Data Statistics
- Check Use Custom Dictionary, and browse to the file AGS SG 8Aug2011.gas or later. The *.gas file is a gINT AGS Schema file that stores a definition of the data types, units, required headings and required groups specific to AGS 3.1 (SG).
Click Check Files to proceed.
Click on the View Report button, and save the error log report. This is the log report you will use to perform some of the checking procedures. You may rerun the check with different options checked if you wish.
gINT AGS Data Import Log
This is the log that is generated when the AGS file is imported into a gINT project database. You must first have opened in gINT, either a blank AGS 3.1 (SG) compliant gINT database, or an existing relevant AGS 3.1 (SG) compliant gINT database to continue.
The import dialog is available from INPUT | File > AGS Files > Import from AGS Files.
Browse to the AGS file and the AGS correspondence file and click ok. At the end of the import process, the log will show. Click Save As to save the log as a text file.
Lookup List Check Tool Log
To generate this log, ensure that you have the Datgel Administrator Tools installed on your computer. You must also have imported the external data to the AGS 3.1 (SG) database already, and have opened the project file with the imported data and the library file with the correct lookup list values.
The Lookup List Check tool is available from INPUT select Add-Ins > Datgel Administrator Tools > Lookup List Check Tool. A detailed manual is available in the Datgel Administrator Tools Manual, section 3.6. The form will appear as the following.
Browse to a location of where you want the report file to be saved. Then choose "Must Use Lookup Only" in the search option, and click Execute. This checking process may take some time to complete (> 5 minutes for larger files). At the end of the process, the results of the search will be shown, and will look like the following.
The log report has also been saved in the file location path you specified earlier.