Loading matrix from a database

Top

The task is intended for loading a matrix of qualities or a matrix of heights from a database.

The task is carried out by CreatMtq.dll module which is called by means of the menu item: File \ Import matrix from … \ Matrix of qualities (DBF)

Fields of records of an input database should contain coordinates of points X, Y, H, where X, Y are the planned coordinates of a point in rectangular system, H - value of the characteristic of quality or height of a relief in the given point. One record of a database should contain X, Y, H coordinates of one point.

The initial fragment of the chosen table of a database is displayed in a dialog window in Input data group. Planned coordinates of points (X, Y), containing in a database, are used for automatic definition of dimensions of a created matrix and the element size (the side size of an elementary platform). After automatic definition the size of an element is displayed in a window the Size of an element () and can be changed by the user.

In a created matrix the elements corresponding to coordinates of points (X, Y) are filled. At placing into an element of several points the value of an element depends on the chosen mode Value of an element at superposition and can be equal to minimal, average or maximal value of H coordinate.

If a loaded matrix is the matrix of qualities (file with mtq extension), for setting a palette it is necessary to press the button ">> " in Palette group. For a choice of a palette from earlier created matrix of qualities it is necessary to press the button "…" in Palette group. If the setting and a choice of a palette from a file are not carried out, the matrix of qualities with a palette by default is created.

For recording into a created matrix of passport data from a vector map it is necessary to choose a file of a map, having pressed the button: Passport's data from map.