Uniting region of works into one sheet

Top Next

This task is intended for uniting adjacent sheets of a vector map into the output vector map of format SIT containing one sheet. The task can be used to obtain a single map of the subject of Federation or other region. In the process of combining the input sheets into one sheet there can be performed merge of polygonal and non-closed linear objects going onto frames of adjacent sheets.

The program of combining adjacent sheets should be carried out after processing of the input map by programs «Check of vector map quality» and «Coordination of adjacent sheets» in the edit mode (the menu Tools - Run Applications - topic the Check and correction of data).

The projection of a resulting map can be set by means of the dialog element the Projection in group the Output map.

The output data of the program of uniting adjacent sheets are:

- general map of region in format SIT;

- protocols of process of uniting adjacent sheets of digital topographic maps in text format (LOG-file) and in binary format (ERR-file) in the subdirectory \Log.

Viewing the text protocol (LOG) can be carried out in program WordPad or other browser of simple text documents. For viewing the binary protocol it is necessary:

- to open the output map in format SIT;

- to make active the mode of the Map Editor «View error».

Process of uniting adjacent sheets includes the following main steps:

- creating a sheet of output map;

- copying the objects of the source sheets onto the output map;

- merge of polygon and not closed linear objects going onto frameworks of adjacent sheets.

The program can work in modes of a merge or copying of objects of initial sheets depending on the option of dialog «Merge objects».

If the mode «Merge objects» is disabled, the uniting process is completed after the transfer of objects of initial sheets onto the output sheet.

If a mode «Merge objects» is enabled, after the transfer of objects onto the output sheet the automatic merge of objects of adjacent sheets going onto a frame is carried out.

 

At need of a merge of objects on border of adjacent sheets it is necessary to set the option Merge objects with specifying a threshold of a merge in map millimetres in the window the Threshold for uniting (mm). In the process of uniting (merging) the objects of adjacent sheets the non-closed lines and polygon objects participate. Automatically the objects are merged, the distance between the vertices of which does not exceed the threshold of a merge. For determining an exit of object onto a frame the distance equal to half of the preset threshold of a merge is used.

At a merge of objects the following actions are carried out:

- search of object of the current sheet that goes onto a frame;

- search of the reply object on the next sheet;

- check of matching the metrics of objects;

- check of  matching semantics of objects (values of semantic characteristics should coincide);

- creation of united object and deleting of two initial objects.

In the process of copying the objects of initial sheets onto the output map there are skipped the objects of a mathematical basis with the following codes:

13220000 HORIZONTAL LINE OF  RECTANGULAR GRID

13210000 VERTICAL LINE OF RECTANGULAR GRID

13121000 OUTPUT OF PARALLELS LINES

13111000 OUTPUT OF MERIDIANS LINES

13120000 LINES OF PARALLELS

13110000 LINES OF MERIDIANS

13410000 CROSSING of coordinate lines (meridians)

13420000 CROSSING of coordinate lines (parallel)

13430000 HACHURES OF MERIDIANS LINES

13440000 HACHURES OF PARALLELS LINES

 

If the mode Delete input frames is set, then frames of initial sheets are not transferred onto the output map. If the mode is not set, then frames of input sheets are transferred onto the output map in the form of objects with the code 1000000001 (MARKING OF LINEAR).

At a merge of objects the conformity of their semantic characteristics is checked. In case of difference of values of semantic characteristics the objects are not united, and into the work's protocol the error message is put.

In the application's directory there is a text file mapadjust.lse, containing list of codes of semantics which are not participated in check of the matching the semantics of united objects.

Example of contents of text file mapadjust.lse:

62 TYPE OF VEGETATION

262 KIND OF VEGETATION

15 WIDTH ON THE SCALE

 

The program reads from a file only numerical codes of semantics, the text after the space is considered the comment and can be absent.

If the text file mapadjust.lse is absent in the application's directory, then at a merge of objects the matching of all available semantic characteristics will be checked.