Grid data coordinate conversion parallel method based on similarity transformation model
Manchun Li,Chong Chen,Yingxia Pu,Zhenjie Chen,Feixue Li,Zhibin Jin,Yongxue Liu,Tao Huang
2012-01-01
Abstract:The invention discloses a grid data coordinate conversion parallel method based on a similarity transformation model, which belongs to the field of high-performance geocomputation. The grid data coordinate conversion parallel method includes the steps: firstly, parallelly initiating; secondly, inputting parameters by a user; thirdly, calling a data reading and writing function for GDAL (geospatial data abstraction library) data; fourthly, determining a coordinate conversion type and conversion steps; fifthly, sampling boundaries of a source file and converting coordinates; sixthly, uniformly partitioning a target file; seventhly, sampling boundaries of data blocks and converting coordinates by the aid of various processes; eighthly, reading data of the data blocks and data in the source file within a range corresponding to the data blocks, storing the data into arrays; ninthly, carrying out conversion of the coordinates of each pixel in the corresponding data block from a target reference system to a source target reference system; tenthly, computing values of each pixel in various wave bands and assigning corresponding elements to the pixel in the corresponding array; and eleventhly, writing the arrays of the data blocks into the target file. By the aid of the grid data coordinate conversion parallel method based on the similarity transformation model, grid data coordinate conversion data quantity and efficiency can be effectively increased.