Adding semantics

Print Top page

 

Entering and editing semantics depends on the value type of the semantic characteristic.

There are several value types:

• Character string;

• Numeric value;

• File name;

• Reference to an arbitrary map object;

• Value as a numeric code from the value classifier.

 

clip0245

 

Character String Type

When entering data of the Character string type, the value is entered in the cell of the Value column or selected from a text file. The selection of values from a text file is performed using the text input dialog, which opens by clicking the "…" button in the string value input cell.

 

Numeric Value Type

When entering data of the Numeric value type, constraints are set in the dialog: minimum and maximum (if any exist for this characteristic). If the entered value does not satisfy the conditions, an error message is displayed.

The digital value of the semantics is checked for exceeding precision. If there is an error, the corresponding field is highlighted with a yellow background, and the value contains one more digit than the specified precision.

When entering a numeric semantics value, a default value from the classifier is set. Entered semantic values are saved in the value list, which is stored in the file c:\Users\Public\Documents\Panorama\lastvalue.xml.

 

File Name Type

When entering data of the File name type, a file name selection dialog is invoked. If the semantic characteristic already existed, double-clicking on the selected row in the list launches the viewer program for the specified file. File viewer program names can be configured in the View graphics files dialog.

 

Reference to an Arbitrary Map Object Type

When entering data of the Reference to an arbitrary map object type, a unique object number is specified.

 

Numeric Code from Value Classifier Type

When entering a value as a numeric code from the value classifier, a list of names corresponding to specific codes is offered, from which a selection is made.

 

Managing Semantics

Semantic characteristics of an object can be added and deleted.

Semantics on which the object's appearance depends cannot be deleted.

When adding, the list of allowable semantics consists of the semantics name, semantics code, and a mandatory attribute indicator. Mandatory semantics are marked with a + sign and must be added.

 

Reference to a Folder with Files Type

The ability to add and edit semantics of the Reference to a folder with files type has been implemented. The value of this semantics is the name of the directory containing multiple files of various formats and folders.

If the semantics is not filled, accessing it invokes a dialog to select the folder name. When accessing a filled Reference to a folder semantics, a list of files contained in the root folder and subfolders is automatically generated. Double-clicking on a selected file launches the corresponding file recognition and processing program.

 

For references to documents, tables, and graphic images, the file contents are displayed.

 

For references to spatial data, the dataset is opened in a separate GIS window.

 

If the folder contains documents that do not require editing, it can be compressed into a ZIP file, and a Reference to a file type semantics can be assigned to the object. Actions with the documents will be the same as when referencing a folder.