-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use native raster API in QgsGridFileWriter #60320
Conversation
Not sure if this should be backported. |
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
1e76b8a
to
9516a74
Compare
Thanks for taking care of this issue! I think it's actually a bug: the algorithms allow to specify any output layer format (e.g. GeoTIFF), however the content of the output file is incorrect since it is not in the specified layer format. So I think this fix should be backported. Alternatively, I think the algorithms' output layer parameter in the GUI should list the ASCII grid format only and the algorithm should emit an exception if called with a different output layer format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement!!
Description
Update
QgsGridFileWriter
class used to save interpiolation results to use QGIS raster API. This allows to save interpolation results into any GDAL-supported format, not only as ASCII grid.Fixes #56653.