Loading objects of the operational tactical situation |
The task is intended for creating, deleting, updating objects on a map. The task is carried out by the module Mapoto.dll which is called through item Run applications of the Tools menu. For an execution of the program it is necessary to choose a name of an entrance file with expansion txt. To run the program you must select the input file name with extension txt. This file has following structure:
[CONTROL] - separator of commands sections Command = - command to perform an action (CREATE__, DELETE__, DATAUPD_). The length of the command is 8 characters. [OBJECT] - separator for section of information about conventional sign Code = - object code (compulsory information) Number = - the object number (located in the semantics of the object) CountPoint = - number of points of the object metric LatitudeD = - geographic coordinate of the object - latitude in degrees LongitudeD = - geographic coordinate of the object - longitude in degrees Text = - title on a map To start the process of objects load click Execute button. Example of input file: [CONTROL] / / Create object Command = CREATE__ [OBJECT] Code = P0080000046 LatitudeD = 55.420 LongitudeD = 37.590 [OBJECT] Code = P0095000000 CountPoint = 2 LatitudeD = 55.441 LongitudeD = 37.573 Number = 400 Text = New Object [CONTROL] / / Delete object Command = DELETE__ [OBJECT] Code = POO80000029 / / Update object Command = DATAUPD_ [OBJECT] Code = POO80000019 LatitudeD = 55.430 LongitudeD = 37.590 Number = 63
|