Index
Cover
Database Dialogues
Database Management
There are two steps to using a data file to provide world coordinates for your
rectification.
You must:
- Provide a description of your database file
and
- Connect to the appropriate file
Defining a Database File Type
Open the
Database Descriptions
dialogue box by selecting
DB description management
from the
Tools Menu
In this dialogue box, if you
double click
on one of the predefined data types it will be set as your
Default Data Type
and the arrow will point to it as an indication of this.
A
single click
selects that definition for
Editing
or
Deletion
Either
Add
or
Edit
will open the
Data Description
dialogue box where you will actually create your data definition.
The controls in this form are as follows:
- File Extension :
Enter the three character extension of your data file type
- Type :
A keyword to distinguish this definition from others defining files with the same
extension
- Class :
The options here are:
- Fixed :
Generally these are downloads from survey instruments. They are ASCII files where
you have to
count the numbers of characters on each line in order to determine the values.
- Separated :
These can also be downloads of survey data but they can also be exported from
Spreadsheet and
Database Management Systems (DBMS). Comma, Space and Tab are the most
common separators.
- dBase :
These are the files created by the family of dBase programs. They generally have the
extension .DBF.
- Description :
A explanation of the data type to
- Filter :
To define a Filter first select whether it is for a
Field Filter,
which compares a whole field to a value or a
Position Filter,
which compares a part of a string. In either case you need to defined the conditions
under which
to accept the record.
- Records to Skip :
In some files the headers may cause conflicts. To overcome this possibility you can set
a number
of lines to be ignored before processing begins.
- Sample File :
Select a file with which to compare your definition.
- Sample Record # (status) :
This box shows one record in your selected file. Scroll through these records until you
find a
record that is
accepted
then move on to the
- Field Descriptions :
These differ somewjat depending on the
Type
Fixed :
In this example the filter is set to only accept lines that start with "08TP" and each value
is determined by counting the characters from the left. Thus the point number starts at
position 4 and is 4 digits long, the X coordinate starts at position 8 and is 10 digits
(including the decimal)
Separated :
This example is a CSV file exported from a spreadsheet program in which the separator
is a Comma and there are no quotations around the text. The first field is the point
number, the second the X coordinate, etc.
dBase :
For dBase files the fields have names and no filters are required. The boxes will show a
list of the available fields for that database and selecting one will show the value in the
right hand box. If the field selected does not contain numeric data the value box will be
blank.
Connecting to a Data File
Once your database is configured you need to use the
Database Connection
dialogue box to connect your database to the image. To access this dialogue box
select the
icon from the main menu or select the
Change
button on the
Point Mapping
dialogue box, which you get when you select a point.
Once you have the dialogue box above, select the predefined type from the list of
Database File Definitions you have prepared
and then, to attach a data file by clicking the File Open
button and browsing for the data file containing the coordinates for the current image
When a data file is selected the first 3 lines will be displayed in the sample window so
you can browse it to insure that you are connected to the correct file or to find the
point number you are looking for.
Henceforth the values in these fields, for the point number being identified,
will be offered as the default for the
World Coordinate Points
for each point selected.
Trouble Shooting
Occasionally it happens that your field notes become out of sync with your recording.
The
Adjust database points
field addresses this possibility by allowing you to adjust all point numbers up or down a
few to see if this is the case when you get severely distorted results.
The other cause of really bad results is being connected to the wrong database.
When you select
OK
you will be asked if you want to
update all points
with the values in the selected database.
Up
Index
Cover
Inquiries to:
steve@icomos.org
Generated by: CART
(Thu Sep 20 17:56:53 2007
)