Help >> Interface  >> Exchange file's tab


By opening the bookmark of the exchange file, you can correct and supplement the exchange file.

Text editing is available in all types of supported files.
For the Mif file, the text of the file itself and the text of the Mid file containing the semantic data of objects can be edited. Text colors and syntax highlighting in the editor can be changed in the settings
For an Xml file, a file editing is also available as a tree representing all the Xml keys. The tree is available if there were no violations of the basic Xml format in the text of the source file - key opening/closing errors, etc.

Standard actions are available in text editing mode:
In the "Edit" menu - clipboard operations (Copy, Cut, Paste), Undo / Redo actions, special actions with a selected text fragment - erroneous encoding conversion, actions with lowercase/uppercase letters.
In the "Search" menu - search operations for a fragment of text with the ability to use regular expressions, jump to the specified line. It is also possible to show the location of the current message or the next message in the text. More about this - in the description of the List of messages
The "Show in list" operation is also available in the text context menu. The program will try to detect the object that was part of the description of which the current line of text is. If such an object is successfully found, it will become the active object of the Information Panel.
Additional operations are available for Xml files in text:
"Find beginning\end of XML key" - marks the text fragment corresponding to the XML key in which the cursor was located in the text. Sets the text cursor to the beginning/end of this fragment - depending on whether the cursor was at the end or the beginning. This function does not check whether the key start and end names match - it is convenient to use it to find errors of mismatched start and end XML key.
"Show in tree" - switches the text editing mode to the XML tree, marks the node of the tree where the cursor was in the text.

In XML editing mode in tree view
By selecting an XML key, you can edit its value, if this key retrieves a value. The value of the key is edited in the panel below the tree. If there is a classifier associated with this key, you will be able to select a value from the classifier. Also, under the tree, the full XML path to the key and errors/warnings of parsing the XML format according to the Geocadastre Exchange File scheme are displayed.
Using the context menu for a marked XML key, you can add a subkey to the marked one, replace the marked key with another one (if there are alternatives in the schema for this key), rename the marked key, or delete it.
You can also use clipboard operations (Copy, Cut, Paste) for the marked key. After correction, the Undo/Redo commands become available.
"Show in text" - switches to the text editing mode, selects the text fragment corresponding to the marked XML key with all sub-keys.
"Show in the list" - similar to the operation for the text sets the active object in the information panel
There are special actions for some XML file keys
- key ULID(Unique object polyline number) - "Go to polyline definition"
- key P(Send to UIDP node) - "Go to point definition"
- key Executor - "Select contracting organization" - allows you to select one from the list (DB) of contracting organizations and fill in all subkeys of the marked key with the attributes of the selected company.
- key Executor - "Add contractor" - allows you to add information on the contractor from the marked key to the list (DB) of contractors.

Actions with the loaded exchange file are available from the context menu of the exchange file tab itself

"Verify exchange file" - generate the text of the exchange file, taking into account all the auto-corrections that were during parsing the file. In the mode of geometry correction, parcel/adjacent sorting, topological linking and other actions that change the geometry, this happens automatically.
Keep in mind that some of the information that was in the input file may be missing from the received text. For example XML keys of unknown purpose and so on.
"Generate an exchange file in a format" - writes an exchange file in a different format. A dialog for selecting the formats available for this file will be displayed. In the same dialog, you can select a new coordinate system - the coordinates will be recalculated into it (see Coordinate systems) and also specify the accuracy of the resulting coordinates (number of decimal places).
"View as exchange file in format" - shows the properties of the exchange file such as format, coordinate system, and others. Allows you to reread the loaded file in a different format. For example, you opened an Xml file and the program recognized it as an Xml plot. In fact, it could be a heavily corrupted Xml of the NGO zones. The program must be told that this file should be perceived as a file with NGO zones, and then correct the source text.
Also on this window you can correct the accuracy of the coordinates of this exchange file. If you increase the precision (for example, put 4 characters instead of 2) - this will not affect the file coordinates in any way. However, after geometry correction operations, new points will be added with the specified accuracy. If you reduce the accuracy, the points coordinates will be rounded to the specified accuracy, the source text of the uploaded file will be regenerated with the changed coordinates.
"Set coordinate system" - set the coordinate system for the coordinates of the exchanged file. The coordinates will not be recalculated. This action is used if an incorrect coordinate system is recorded in the exchange file.
"Close" - close the current bookmark. If the exchange file has been modified and not written, you will be prompted to write the changes.
"Close all" - close all bookmarks. All exchange files that have been changed and not written to you will be prompted to write.