Export of quality matrixes into TXT – file

Print Previous page Top page Next page

ic_8122 This task is used for a stream unloading matrixes of heights MTW or matrixes of qualities MTQ into textual files..

 

_engbm557

 

Input data of the task:

- matrixes of the preset type (MTQ or MTW), specified in group «Input matrixes»;

- parameters of output of data into TXT-files, specified in groups "Coordinates", "Precision", «Matrix header data» and by the mode «Put values outside of matrix border».

 

Output data of the task:

- text files with extension *.txt, containing data of the chosen input matrixes.

 

Names of output TXT-files are formed automatically with use of names of files and type of input matrixes. For example, if input matrixes are the files: 1.mtq, 2.mtq, then files of values of elements will be formed: 1_mtq.txt, 2_mtq.txt. The file of elements values contains coordinates XY or BL of the centers of elements and value of height or the quality characteristic.

If modes are set in group «Matrix header data», then additionally files of  header data will be generated: 1_mtq_hdr.txt, 2_mtq _hdr.txt.

If in group «Input matrixes» one file is chosen, then the name of output TXT-file can be set by means of the button «».

 

Example of contents of header data file:

Matrix:

D:\Data 10\Podolsk\1.mtq

Dimensions:

X1=6162600.00  Y1=7406950.00

X2=6170800.00  Y2=7416650.00

Range of values:

129.72 250.00

The size of an element (meters):

50.00

Example of contents for file of elements values:

 

6162675.00 7407825.00 200.00

6162675.00 7407875.00 199.50

6162675.00 7407925.00 199.22

6162675.00 7407975.00 198.98

 

Output into a file of elements values is carried out within dimensions of matrix. If value of an element of a matrix is undefined (is a pseudo-code) the element into a file is not placed.

Contents of TXT-file of elements values depend on the parameters specified in group «Output values». Parameters allow to display values of all elements of a matrix or value in nodes of a grid with the step specified in the window «Grid step». If the mode «Grid of triangles» is set, then nodes of odd lines of a grid are moved along the horizontal axis to the right onto the half of the grid step. A mode "Put values in grid nodes" can be used for an unloading of heights with a discharge at processing the matrixes constructed by data of laser scanning.

If the matrix has a frame set at creation or by means «Extract …» of dialogue «Data list of maps» then contents of the generated file of elements values depend on the dialogue mode «Put values outside of matrix border by constant». At enabling this mode the elements located outside the border area will be put with value of the third coordinate Z (height, quality) specified in the field of dialog. If this mode is disabled, then into file there will be put all significant (not equal to a pseudo-code) elements located within dimensions of a matrix.