Cross-reference Attributes¶
Use this dialog to cross-reference attributes (mapping) when data from one application layer needs to be delivered according to a different schema.
Where to Find the Dialog¶
Right-click in the vertical or horizontal list field in the terrain model drawing, and select Tools - Cross-reference Attributes...
Using the Dialog¶
Cross-referencing attributes is necessary when data from an application layer must be delivered according to a different schema. This involves changing attribute names and/or codes to adapt the data to the new schema.
You can also set up rules for how data should be distributed to multiple application layers.
XREF Tables¶
The cross-referencing itself is defined in an XREF table. For details on how to do this, see the dialog help for XREF table.
- New XREF tables are created by selecting New...
- Existing tables are selected via Browse...
- With Save as... you can make a copy of an existing table, for example to adjust a system table without using Windows Explorer manually.
An XREF table (xrt file) can be saved in the Project, User, or Sys folder.
Options¶
- Include unmatched attributes:
Also includes attributes that do not match the rules defined in the XREF table. - Include only attributes found in the result application layer:
Ensures that only data matching the result application layer's schema is included. - Exclude objects without a match on key attribute:
Allows you to exclude objects that do not meet predefined values for the selected key attribute.
You can choose whether objects in the source application layer should be copied or moved. If the option Keep matching objects in the source application layer is enabled, the objects are copied instead of moved.
The result of the cross-referencing can be sent to one result application layer, or distributed to several application layers defined in the XREF table.
The option Distribute objects is especially useful when using GML/NVDB application layers, where there is an application layer for each object type.
Procedure
- Select the application layer you want to copy from with cross-referencing.
- Choose Cross-reference Attributes... from the tools menu, either in the application layer list or object list if you want to cross-reference only a selection.
- Select an existing XREF table, or create a new one.
- Check the relevant options.
- Select the result application layer, either one or distributed across several application layers.
- Click Execute to start copying with cross-referencing.