Import of matrix from the formats Tiff (GeoTiff), IMG, DEM |
|
|
The task is intended for loading matrix of elevations from GeoTIFF, IMG, DEM, DTED, ADF formats.
The imported TIFF (GeoTiff) and IMG files must contain elevation data. DTED (Digital TerrainElevation Data) files contain data on the elevation of the earth's surface. ADF (ArcInfo Binary Grid) files can contain a digital elevation model, a slope model, and a relief shading. The ArcInfo Binary Grid digital elevation model is stored in * .ADF binary files. The data in ADF binary files is organized as a regular grid. The digital elevation model contains elevation data as a cell value of regular grid. According to digital model of a relief the matrixes of heights MTW are formed. To store a relief shading, the value of the regular grid cell corresponds to the degree of illumination. The files containing a relief shading or model of slopes, are converted into matrixes of qualities MTQ.
After selecting the name of the imported file, the program opens the specified file and displays in the corresponding elements of the dialog the sizes of the matrix, its geospatial placing. In the «Image parameters» window, the program displays technical information about the data storage structure:
- number of image channels; - Type of data of the channel - the number of byte, used for data storage of one pixel in the channel; - how to interpret the channel data; - the minimum and maximum value of the channel data; - value NoData - absence of data; - the parameters of projection and coordinate system of the matrix of elevations are indicated.
The program defines a geospatial placing the matrix of elevations by data from corresponding tags of source file. Also the program carries out search and the analysis of files of placing. As the files of placing, the following formats of files are processed: TAB, world file
Steps to save image to MTW or MTQ file: 1. Select the source file. 2. Specify a name of saved file *.MTW or MTQ. 3. If there is more than one channel in the source file, then we indicate the number of the used channel to be saved in the MTW or MTQ matrix. 4. Click «Save» button. 5. Open the generated file in a new window of the program (File-> Open– Matrix map (*.mtw, *.mtq)).
Auxiliary options: Projection button is intended to call the dialog «Parameters of projection». In the dialog the parametres of a projection and system of coordinates which will be written down into the formed file of a matrix are specified. The mode allows to see result of the analysis of the data about parameters of a projection and coordinate system of the source file. Compression of the martix - a mode of compression of output file MT. Creation of the survey image - the mode is intended for connection of function of creating the survey image of MTW matrix after converting the data. Mechanism of substitution of the matrix's image by its reduced copy is applied to increase the speed of displaying a matrix at map scaling. Now three levels of the reduced copy of the matrix's image are supported. To forbid program messages during processing. At data converting the program can output diagnostic messages. For example: «An error of removal of an existing file. Probably, this file is already used.», «The requested parameters are incorrect.», «Error of request of the channel of the file.», etc. To forbid delivery of messages of the program check the box «To forbid program messages during processing».
Task uses functions of open library for work with the raster and vector data, databases and web-services - GDAL/OGR.
|