Beruflich Dokumente
Kultur Dokumente
TGIS Database
Entry Grid
Version 1.0.6
Installation
1. Installation file on CD is SETUP.EXE
2. After installation, files in default installation folder c:\Program Files\EMS\OREDIT will be:
2. ‘MakeLUPARAM.sql’ in c:\Program Files\EMS\OREDIT constructs the table schema for the Oracle
‘LUPARAM’ table which contains the settings for TGIS tables/fields/values that are to be
displayed in the OraEdit entry grid. The SQL script contents are:
This script must be executed by the TGIS DBA to create table ‘LUPARAM’ in the appropriate TGIS
data base instance.
TNAME which TGIS table this record applies to (case sensitive). ‘ALL’ specifies all
tables.
ITEM_NO this field is not currently being used
ITEM_NAM the field name within the specified TNAME table that this record applies to
DEF_VAL not currently being used. Default values for data entries are defined in the
database entry grid program itself.
LOOKUP the lookup tablename that the ITEM_NAM field is associated with
LU_VAL the field within LOOKUP that contains the linkage key value associating a
LOOKUP record back to the TNAME-specified table
LU_DISP the field within LOOKUP that contains the value for a LOOKUP record back
to the TNAME-specified table
ALIAS how the TNAME’s ITEM_NAM fieldname will be displayed in the data entry
grid form. ‘HIDE’ specifies that field ITEM_NAM will not be displayed at all in
the data entry grid.
FLD_DISP the field from TNAME that is displayed in the data entry grid’s fieldname
frame. If not specified, the MSLINK value will be displayed.
For ‘ALL’ tables, wherever the fields of ‘STREET_ID’ or ‘STRENAME_ID’ are found, they
will be linked to the ‘STREETNAME_CODE’ lookup table in the database (this field value
is not case-sensitive), retrieving values from the fields of ‘CODE_ID’ and ‘CODE_NAME’,
respectively.
For ‘ALL’ tables, the ‘CPARCEL’, ‘MSLINK’ and ‘PROJECT_ID’ fields will not be displayed.
The string ‘Parcel Information’ is substituted for the Oracle parcel tablename, and the
‘PARCEL_NO’ FLD_DISP value instructs that the value(s) of the PARCEL_NO field will be
the displayed values in the entry grid Layers frame.
3. Once the dbgrid.bas macro has selected the database records, the OraEdit grid will display all
the selected records, formatted as specified by the Oracle LUPARAM configuration table:
4. All fields displayed are available for editing. Fields that have the Data column highlighted in gray
are domain-controlled fields, and clicking on the right-hand portion of the gray area will reveal a
drop-down menu for the field, as shown on the following page.
It is important to note that field entries are completed once the user clicks into another field.
Tabbing to another field will not register edits.
A powerful OraEdit feature is batch data entry management. An example of its use follows:
1. A group of centerlines needs to have every ‘MAPID’ field value changed from 18 to 20:
2. Change the MAPID field value to 20, then select the MAPID row by clicking in the gray box to the
left of the “MAPID” label. The ‘Add to Default’ button will activate:
4. The Default Management window will appear, with the MAPID value:
Note: if other fields/values are present, they can be left-click selected and individually deleted
with the Del key. It is good practice to leave the Default Management window values Cleared
before assigning new default values.
6. Once the ‘Update Features with Defaults’ button is left-clicked, a Warning window will pop up (if
more than one record is about to be modified):
7. If ‘Yes’ is selected, then all the records in the ‘centerline’ layer will be updated and posted to
Oracle in one operation.