Checking objects adjustment of adjacent sheets |
The program of the checking the objects adjustment of adjacent sheets is intended for testing objects reconcilement of adjacent sheets of a vector map with the issue of protocol errors in catalog LOG of processed area. If the control of a multisheet map (MAP) is carried out, results of the control are the files containing the list of errors on all sheets of a map - <map name>.err (the binary protocol) and <map name>.err.txt (text protocol). If the control of region as a set of maps in the project (MPT, SIT) is carried out, then results of the control are the log files *.err and *.err.txt for each sheet. During checking the coordination of adjacent sheets' objects, the non-closed linear and polygon objects participate. Check of the closed linear objects is not carried out. Check of borders reconcilement of adjacent sheets is not made. For checking the reconcilement of adjacent sheets in incomplete object structure it is necessary to set structure of checked data by means of button Filter. Using the «Setup» button in the group «Semantics and layers excluded from processing», you can set the MATHEMATICAL BASE layer for excluding the following objects from processing: HORIZONTAL AND VERTICAL LINE OF RECTANGULAR GRID, MERIDIAN LINE OUTPUT on FRAME AND PARALLEL LINE OUTPUT on FRAME, PARALLEL LINE AND MERIDIAN LINE, STROKES of PARALLELS LINE AND MERIDIANS LINE. Numbers of excluded layers are saved in the ini-file \Panorama \name RSC.ini. The MATHEMATICAL BASE layer can be excluded using the «Filter» button in the «Map objects filter» dialog. If customizing the excluded layers is not executed, after the warning message the control is carried out with checking the objects of layers specified in the dialog «Map objects filter».
At checking an object the following actions are carried out: - definition of exit of checked object onto a sheet border (the threshold value equal to 0.1 mm of a map is used); - search of the reply object on the next sheet (the distance between checked and reply objects should be not more than the threshold value equal to 0.1 mm of a map); - check of the metrics reconcilement of checked and reply objects, for linear object the first and the last points of the metrics are checked, for area - all points, except for the first (the value of the admission equal to 0.000001 meters on district is used); - check of the semantics reconcilement of checked and reply objects (values of semantic characteristics of the objects reconciled by the metrics should coincide); - editing the metrics of the checked and reply objects if semantics of these objects is adjusted and the mode of dialog is set Edit metrics of objects.
Check of matching semantics can be carried out in the mode of excluding the codes of semantics set by the user (for example, code 62 - TYPES of VEGETATION, code 262 - KINDS of VEGETATION, code 15 - WIDTH SCALE). The codes of excluded semantics are set using the «Setup» button in the group «Semantics and layers excluded from processing» and are saved in the ini-file \Panorama\name RSC.ini. If customizing the excluded semantics is not executed, then after the warning message the control is performed with checking the values of all the semantic characteristics of the objects. The semantic characteristics influencing a view of a symbol, and also service semantics (the date of creation and update of the object, a name of the operator, a link to the title, etc.) in checking the reconcilement of objects do not participate. At enabling the mode Without checking semantics of objects checking reconciliation of objects semantics is not carried out. Into the error log saved in catalog LOG of processed region, the following messages of the check program are placed: - THERE IS NO REPLY OBJECT FOR THE REPORT; - NEAREST METRICS POINT OF REPLY OBJECT FOR THE REPORT IS NOT FOUND; - OBJECTS METRICS IS NOT ADJUSTED; - SEMANTICS OF OBJECTS IS NOT ADJUSTED.
Viewing a file of the protocol is carried out in the GIS Panorama by means of a mode «View error» of the tasks «Map Editor». Messages of the check program are put as a result of an execution of following checks at processing objects of the next sheet.
1) Search of objects that have exits onto sheet border During checking the objects adjustment of adjacent sheets the linear and polygon objects participate that have exits onto sheet border. The exit of object onto a sheet border is defined by distance from points of its metrics up to a border. The distance from a point of the metrics up to a border is compared with a threshold value (0.1 mm of a map). If distance is greater than the threshold value the checking the coordination of object is not carried out. If the checked object is the polygonal one the exit onto a border of all points of the metrics of the main object is defined, except for the first point. For the polygon object, there is determined the output to a sheet frame of the metrics pieces, that is, the neighboring pairs of points. If onto a frame only one point of the metrics piece goes then the checking in that point is not carried out. For linear object the exit onto a frame of first and last points of the metrics is defined. If the checked object goes onto the sheet border, search of the reply object with the same internal code on an adjacent sheet inside of area of a threshold is carried out. The distance between checked and the reply objects should be not more than a threshold value (0.1 mm of a map). If the reply object on an adjacent sheet is not found, then into the protocol the message will be put THERE IS NO REPLY OBJECT FOR THE REPORT.
2) Checking the reconcilement of objects metrics of adjacent sheets At presence of the reply object on an adjacent sheet for checked object the search of the nearest point of the reply object metrics is carried out. In case of an error for search of the nearest point into the protocol the message will be put NEAREST METRICS POINT OF REPLY OBJECT FOR THE REPORT IS NOT FOUND and objects are considered not reconciled. If the nearest point is found, the distance between points of the metrics of checked and the reply objects is compared with the join tolerance (0.000001 meters on district). If the distance is more than the join tolerance then the objects are considered not reconciled and into the protocol the message will be given OBJECTS METRICS IS NOT ADJUSTED. Coordinates of metric points in the dialog of object selection are displayed with normal accuracy (millimeters) by default. To check the consistency of the coordinates of points in the dialog of object selection, you should specify The accuracy of the coordinates - Highly (microns).
3) Checking reconciliation of objects semantics of adjacent sheets If the checked and reply objects are reconciled by metric the reconciliation control of semantics of these objects is performed. If the mode "Without checking semantics of objects" is set, then control of reconciliation of objects semantics is not performed. Number of checked semantic characteristics is requested from object at which the number of semantic characteristics is more. At check from objects the character or numerical values of the semantic characteristic of the given code are requested. If a value type of semantics is «Value in the form of a numeric code» (TCODE) or «Numeric value» (TNUMBER) then from objects the values of semantics in a numerical form are requested. If semantic characteristics of the given code are received from both objects, their character or numeric values are checked for coincidence. If values do not coincide, semantics of objects is considered not agreed, then the report will have the message «SEMANTICS of OBJECTS is not reconciled». If the semantic characteristic of the given code is present only at one of objects then the report also will have the error message. Service semantic characteristics (date and time of object creation, operator name) and semantic characteristics with the reserved codes influencing by a sign view are not checked.
4) Editing metrics of checked and reply objects Editing the metrics is carried out, if semantics of checked and reply objects is adjusted and the mode of dialog is set Edit metrics of objects. Editing the metrics consists in combining the nearest points of the metrics of checked and reply objects. The combined point is located on a frame of a checked sheet and is the nearest to the point of checked object going onto a frame.
|