QGIS TIN interpolation - error in pixel size of output

Geographic Information Systems Asked by Dirwin on December 2, 2020

When using the “TIN Interpolation” tool in QGIS 3.10, the output raster file doesn’t keep the pixel size I specify. For example if I specify a pixel size of 1.0m, the output file actually has a pixel size around 0.99m. The pixels also aren’t perfectly square sometimes. Has anyone else experienced this problem or discovered a solution?

I have pasted below example screenshots of two parameter values, and the properties of the output files I get.

Overall for this example I want to get an output raster with 500 rows and 100 columns, pixel size 1.0m. It’s impossible to enter this in the parameters because when I change one value, another changes. e.g. when I enter a pixel size of 1.0m, the ‘Rows’ parameter updates to 500 and the ‘Columns’ parameter updates to 101. If I change the ‘Columns’ parameter to 100, the ‘Rows’ parameter automatically changes to 495 and the pixel size changes to 1.0101.

enter image description here

enter image description here

enter image description here

enter image description here

One Answer

Had the same issue. Try exporting the TIN-ed layer and manually defining the extent, making sure that the North, East, South, and West values are divisible by the pixel size, in this case 5m

enter image description here

Then define the resolution as the required pixel size. Hopefully this does the trick.

enter image description here

Answered by Agamemenon on December 2, 2020

Add your own answers!

Related Questions

Contour Lines exported as raster in Illustrator

1  Asked on July 17, 2021 by rheesuspieces


Clipping ENVI files loses information in header (.hdr) file

0  Asked on July 17, 2021 by fernando-romero-galvan


Adding values into new fields with PyQGIS

1  Asked on July 16, 2021 by juanjo-valero


Getting R to recognize buffer around las file

1  Asked on July 16, 2021 by jessieelliott


White sides at marker popup

1  Asked on July 16, 2021 by organic88


What is priority in mapconfig_for_cars.xml of osm2pgrouting?

1  Asked on July 16, 2021 by bimo-aji-widyantoro


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir