Skip to content
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

Raster (TIF) - endless rendering with resampling bilinear and early resampling #56769

Closed
2 tasks done
pathmapper opened this issue Mar 8, 2024 · 3 comments
Closed
2 tasks done
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@pathmapper
Copy link
Contributor

pathmapper commented Mar 8, 2024

What is the bug or the crash?

Raster layer never gets rendered with resampling bilinear and early resampling:

image

Steps to reproduce the issue

  1. Drag'n'drop the test.zip into QGIS.
  2. In layer properties, change resampling to bilinear and check early resampling:
  1. -> endless rendering

Versions

QGIS version 3.37.0-Master QGIS code revision e5611c9
Qt version 5.15.3
Python version 3.10.12
GDAL/OGR version 3.9.0dev-d7aed6e0b0
PROJ version 8.2.1
EPSG Registry database version v10.041 (2021-12-03)
GEOS version 3.10.2-CAPI-1.16.0
SQLite version 3.37.2
PDAL version 2.3.0
PostgreSQL client version 14.10 (Ubuntu 14.10-0ubuntu0.22.04.1)
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.3 LTS
       
Active Python plugins
grassprovider 2.12.99
MetaSearch 0.3.6
processing 2.12.99
db_manager 0.1.20

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

It may be that the provided TIF is somehow corrupt, when exporting the raster layer as GeoTIFF there are no issues with the resulting file using resampling bilinear and early reampling.

@pathmapper pathmapper added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 8, 2024
@pathmapper pathmapper changed the title Raster (TIF) - endless rendering with resampling bilinear and early reampling Raster (TIF) - endless rendering with resampling bilinear and early resampling Mar 8, 2024
@elpaso
Copy link
Contributor

elpaso commented Mar 8, 2024

Upstream issue in GDAL. I'll file a bug report.

@pathmapper
Copy link
Contributor Author

Thanks @elpaso

@pathmapper
Copy link
Contributor Author

Fixed upstream (thanks!) in OSGeo/gdal#9428 / OSGeo/gdal#9438, fix available with GDAL 3.8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

2 participants