Bug report #17558

QGIS 3D view does not interpret DEM no-data values

Added by Jeremy Palmer over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:Martin Dobias
Category:3D
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25455

Description

I have a DEM layer with a no-data = -9999. When I load this in the QGIS 3D view it doesn’t seem to interpret the no data values, even though it’s set in the layer raster properties. See attached image for result.

Here’s the dataset I used in testing: https://www.dropbox.com/s/oobnqgbexf7n4ps/lds-wellington-lidar-1m-dem-2013-GTiff.zip?dl=1

qgis3d-no-data.jpg (220 KB) Jeremy Palmer, 2017-11-26 07:07 PM

Associated revisions

Revision 2f19d629
Added by Martin Dobias over 2 years ago

[3d] Respect no-data values from DEMs in terrain generator (fixes #17558)

History

#1 Updated by Martin Dobias over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi over 2 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF