Batch editing of the lists

Batch changes can also be performed on the coordinate and measured data lists. By the command Coordinates->Batch edit or Measured data->Batch edit a dialog window where you can define changes you want to perform on the list will be displayed.

The dialog window contains a field for each piece of data which can be changed using the batch editing. Each field contains a checking box Change, where you select which data shall be changed by the batch editing. After checking this box, the program will allow you to access the change setting for the pertinent data. You can type in the editing box a constant number or a function which will result in a number value.

Type of change

You can choose under the editing box, what the program shall do with the result of the formula in the case of batch editing. Depending on the data type, the program offers all or some of the following options:

  • Set

    The data will be set to the entered value or to the result of the entered formula, regardless of the original data value.

  • Multiply

    The original data will be multiplied by the entered value or by the result of the entered formula. If you want to divide the original data, enter the reciprocal value of the coefficient.

  • Add

    To the original data value will be added to the entered value or the result of the entered formula. If you want to subtract the entered value, enter it with the opposite sign.

  • Remove

    The original data will be removed from the report. In this way you can remove, for example, the target height, etc. The data can be removed from the report also by selecting the option To set and leaving the editing window with the pertinent data empty.

Note

Some data (e.g. the coordinates X and Y) are required; therefore they cannot be removed from the list.

Functions

Besides the numeric values, functions can also be entered into the editing boxes using common mathematic operations, constants, and predefined constants. The predefined variables are listed in the following tables:

Table 5.2. Variables for batch editing on the coordinate lists

Variable nameVariable content
PREFIXPoint prefix
NUMPoint number
X, Y, ZCoordinates X, Y, Z
INFO1, INFO2, INFO3, INFO4User information 1-4

Table 5.3. Variables for batch editing on the measured data lists

Variable nameVariable content
PREFIXPoint prefix
NUMPoint number
HZHorizontal direction
ZZenith distance
DISTHorizontal distance
DHHoriyontal difference
SIGNALinstrument/target height

Table 5.4. Joint variables for all types of formulas

Variable nameVariable content
XRED, YRED, ZREDCoordinates reduction according to the setting
SCALESet scale coefficient
PIConstant pi (3.14159265358979)
RORadian in g (63.66197723675813)

For example, you can add to the coordinate x the constant 100m in one of these two ways:

  • Enter the constant 100 in the editing box and select the action Add.

  • Enter the function X+100 in the editing box, and select the action Set.

The result of both methods will be identical.

In this case, the first way is (of course) simpler, but from the example, it is obvious that the second method gives you many more options:

  • Can be used to describe any mathematic function (regardless of its complecity).

    Technically, you can enter an unlimited number of mathematic functions.

  • Can use multiple variables.

    You can enter, for example, a function (X+Y)/2, which calculates an arithmetic average from both coordinates.

  • The individual data can be exchanged.

    You can mutually exchange the data in this way. For example, you can exchange the individual user data. If you type in the editing box for Info 1 INFO2 and in the editing box for Info 2 INFO1, these two data will be mutually exchanged. Likewise, you can exchange, for example, the user information with coordinates, which means that you can have for each point in one file more coordinate pairs.

Locking the point

With changes in the coordinate list, you can also change the point's attribute. By checking the option Lock, all the edited points will be locked. By selecting Unlock, all the edited points will be unlocked. By choosing Do not change will the edited point's attribute without any change.

Change of the attribute of the measured point

The point's attribute can be changed during the changes on the measured data list. By checking the option measured point, all the edited points will be changed to measured points. By choosing Orientation will all the edited points changed to orientations. By choosing Do not change will the edited point's attribute will not change.

Replacing X and Y

By using the button (Replace X and Y) the coordinates X and Y can be mutually exchange in the entire file or within the selected points. This option is suitable, for example, if you upload a text coordinate list into the GROMA system and later you find out that the coordinates X and Y were switched.

Selecting point

After pressing the button (Select) a dialog window will be displayed for selecting the items on the list. If there are already some items selected, you can decide whether the change shall be performed within the entire file or only for the selected items.