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

Global map shading fails when the terrain DEM is a reprojected raster #53291

Closed
2 tasks done
nirvn opened this issue May 31, 2023 · 0 comments · Fixed by #53502
Closed
2 tasks done

Global map shading fails when the terrain DEM is a reprojected raster #53291

nirvn opened this issue May 31, 2023 · 0 comments · Fixed by #53502
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers

Comments

@nirvn
Copy link
Contributor

nirvn commented May 31, 2023

What is the bug or the crash?

Reprojected raster layers representing elevation surface fail to draw global map shading content onto the map canvas.

Steps to reproduce the issue

  1. Create a blank project
  2. Add a DEM raster layer (CRS != pseudo mercator)
  3. Open the project properties, insure that the project CRS matches the raster layer and set the project terrain to that layer
  4. Add an XYZ openstreetmap layer on top of the DEM raster layer
  5. Activate [x] global map shading, notice the shading is drawn on the map canvas
  6. Open the project properties, switch the CRS to pseudo mercator, apply
  7. Notice the shading fails to draw

GIF:
Peek 2023-05-31 09-02

Versions

QGIS dev (3.31)

Supported QGIS version

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

New profile

  • I tried with a new QGIS profile

Additional context

No response

@nirvn nirvn added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 31, 2023
@agiudiceandrea agiudiceandrea added the Symbology Related to vector layer symbology or renderers label Jun 1, 2023
nirvn added a commit to nirvn/QGIS that referenced this issue Jun 19, 2023
HughKelley pushed a commit to HughKelley/QGIS that referenced this issue Jun 20, 2023
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! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants