Settings file of Talka format (*.PLN) |
File contains the information about followings: what photoplan sheets were built, what is the filename of the given sheet, what coordinates have angles of a sheet on terrain and what is the line number and column number of the given sheet in cutting (i.e. in the sheets grid). Description of settings file of version 00: It is a text file, its first string has record such as 6 5. Here 6 5 - quantity of strings and columns of cutting. Further records on one string onto each sheet of the photoplan are following. The following information is written in each such string: 1. Filename; 2. Two numbers being a line number and a column number of the given sheet in cutting onto photoplan sheets; 3. Number 0 or 1 depending on that, whether or not is built this sheet of the photoplan, and if "out of frame" designing was fulfilled, this number is equal to 5; 4. pixels sizes; 5. 8 numbers - coordinates of sheet angles in a coordinate system of basic points, 4 numbers - indicate indents in pixels of "out of frame" designing, in particular, for a sheet without "out of frame" designing these four numbers are zero. Format of settings file of version 0.3: [Version] =0.3 NamePln; Path; NameBlock; Pref IdBlock Nx Ny Flag48 ListCount FileType Index Name; Type X Y Flag Ntrap Xpix Ypix X1 Y1 X2 Y2 X3 Y3 X4 Y4 0 0 0 0 Xmm Ymm Id The string repeats ListCount times. Description of settings file of version 0.3: [Version] =0.3 - version of the format (on 16.06.01 - 0.3) NamePln - full filename of settings (*.pln) (if it does not preset - '~'); Path - directory of allocation of input data; NameBlock - name of the block; Pref - prefix by default; IdBlock - order number of the block (0,1, …) Nx Ny - size of scheme in the sheets; Flag48 - flags (48 - «block»); ListCount - number of sheets; FileType - type of graphic files (0-BMP, 1-TIFF); Index - index of the scales array (0 - "does not preset"). Name - full name of the graphic file; Type - type of the graphic file (0-BMP, 1-TIFF); X Y - position in the scheme of sheets; Flag Ntrap - number of points of a trapezoid frame (if number of points of a trapezoid frame is more than 0, at once after the string of a sheet the string with Ntrap of pairs x and y is followed, At Ntrap = 0 - this string is absent and the following there will be a string with parameters of a following sheet); Xpix Ypix - sizes of sheet in pixels; X1 Y1 X2 Y2 X3 Y3 X4 Y4 - coordinates of 4 sheet angles; Xmm Ymm - size of a sheet in mm; Id - order number of a sheet (0,1, …).
All string parameters are ended by ';', empty string parameter - by '~'.
Example of settings file of version 0.3: [Version] =0.3 D:\My documents\piramid.pln; D:\TALKA\demo\; Bl-001; 001_ 0 6 7 48 38 1 0 D:\TALKA\demo\001_0101.tif; 1 1 1 0 0 600 400 1642.742 1998.674 1609.148 2898.047 2208.729 2920.443 2242.324 2021.070 0 0 0 0 180.000 120.000 0 Explanations for the example of settings file of version 0.3: [Version] =0.3 - version of the format (on 16.06.01 - 0.3) D:\My documents\piramid.pln; - file of settings (if it does not preset, then ~;) D:\TALKA\demo\; Bl-001; - directory of the block; name of the block; 001_ 0 6 7 48 38 1 0 - prefix by default; order number of the block (0,1, …); a scheme size of sheets Nx and Ny; flags (48 - «block»); number of sheets; the type of graphic files (0-BMP, 1-TIFF); index of the scales array (0 - in this case "does not preset") Further the description of 38 sheets. |