Bug report #18768
Nodata issue with TIN interpolation's cubic method
Status: | Feedback | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | Analysis library | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 26655 |
Description
I've just spotted an interesting issue with the TIN interpolation code.
With the TIN interpolation "linear" method, the rendering is fine (tin-linear.png), but with the "cubic" method, the code inserts 0 values instead of nodata until it hits the first non-nodata value (see the black part at the top of tin-cubic.png).
Marco, you are our only hope ;) I've looked into the code, but couldn't get my way through it.
History
#1
Updated by Mathieu Pellerin - nIRV about 7 years ago
- File test-data.zip added
Here's a simple test dataset. To replicate the above screenshot, use the "temp" field against a TIN interpolation alg using the cubic method.
#2
Updated by Marco Hugentobler almost 7 years ago
Hi Mathieu
Oh, that code is still in use? Most parts of the interpolation code are older than the QGIS project and not maintained anymore. I think you should replace it with a newer library for TIN/IDW interpolation.
#3
Updated by Giovanni Manghi about 6 years ago
- Status changed from Open to Feedback
Please check if this issue is still valid on QGIS 3.4.5 or 3.6.