Today, we will dive into the beautiful world of raster grids in MapInfo Pro.
Christopher Enckell from the Municipality of Falkenberg in Sweden asked me a particular question:
How can I create an elevation model in a single MRR file to use in MapInfo Pro for our entire municipality? We have been given the data from a new nationwide laser scan of Sweden. I have been given this data as txt files with X, Y, and Z values and as MapInfo TAB Files with points.
This is what Christopher is looking for:
I tried using a few of the interpolation models, but they will typically use the extent of the point data to determine the position of the cells. This most often results in the point not being at the center of the grid cell.
Luckily, I have some great colleagues who know even more about these various raster grid formats and the capability of MapInfo Pro Raster than I do. I reached out to @Anshul Goel. Anshul took one look at the text files and TAB files and told me that the text files are in fact XYZ Grids. For MapInfo Pro to pick up this format, I just had to rename the files from TXT to XYZ.
The trick here, Anshulk said, is to not use any of the interpolation tools in MapInfo Pro. The text files are in fact grid files already, we just need to make MapInfo Pro recognize these.
I renamed the files and selected the two sample files as input files using the Browse button next to the Input File list in the Merge panel.
The XYZ files didn't come with any projection information so for the first file, I selected, MapInfo Pro asked me for the projection. It then applied this projection to the other file too. This process does take a while as it needs to inspect each XYZ file for its extent when creating the TAB file. YOu can find some more details from Christopher on time further down.
Nice work from Falkenberg!!