GIS ObjectLand. User Manual
previouscontentsnext / Import and export of data / Chapter 66. Import of spatial data in SHP format

Setting links of components

The page opened at this step (figure 66-2) is intended for setting correspondence between table fields of DBF file being imported and fields of GDB table linked with map feature type. If no GDB table was selected at the previous step, the step of setting links is omitted.

Figure 66-2. Import from SHP file, page “Setting links of components”

Figure 66-2. Import from SHP file, page “Setting links of components”

In the pane List of tables GDB table selected at the previous step is indicated. It can be either the existing table or the table created in import. The name of this table is given in the column “Table”.

The character ”+” in the column “Link” indicates that the link between imported map features and imported table records corresponding to them should be set. If there is no character “+”, table records will still be imported, but links with features will not be set. To change values in this column context menu commands Link / Do not Link of the pane List of tables are used.

In the column “Conflicts” one of the two possible methods of resolving conflicts of records in the course of import is indicated. Breaking the requirement of uniqueness of values of record fields for which the attribute “Unique” is set is understood as a conflict. Context menu commands Refuse Conflicting Records / Update Conflicting Records permit for selection of method of resolving conflicts. If the method Refuse is set, import of record causing conflict is not performed. If Update is set, record being imported replaces the record with which the conflict occurred.

The pane List of fields contains a list of all table fields in DBF file. Names of these fields are given in the column “Name in file”. A checkbox to the left of the field name is the sign of enabling import of values of the corresponding field. To enable import of selected field one should use the item Import of the pane context menu or just click on this checkbox. Import of at least one table field should be enabled.

In the column “Type” types of table data used in ObjectLand which correspond to field types of DBF file table are indicated.

The column “Name in table” should contain the name of the corresponding field in selected GDB table for every DBF file field being imported.

Fields Indexed, Unique, Not empty and Encrypted show values of the corresponding field attributes of GDB table.

To specify a name and attributes of table field it is necessary to select the corresponding line in the list of fields and perform the context menu command Change. A dialog box “Setting field import” similar to the one shown at figure 64-3 will be opened.

In case of import to the existing table the user can only choose one of the table fields corresponding to the field being imported by data type in the list. Values of attributes are automatically set in accordance with description of this table field and cannot be changed. When creating a new table, names of its fields coincide with names of fields in the file by default. In this case values of all attributes can be changed at the user's request.

The checkbox Diagnostics allows extending the set of messages which will be put in report file when performing import. If the box is cleared, only messages about incorrectness of shapes being imported and also total data about results of performing import will be displayed. If the box is checked, messages about incorrect format of table records and about errors of performing linking of records with features are also shown.

previoustopnext