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
Clip to DEM - enhancement request #167
Comments
Have you tried "Clip DEM with polygon layer"? |
Yes, I've tried that, but there are two admittedly minor issues:
|
Another hacky thing you can do is to use the 'Raster>Fill nodata...' tool. If you set a search distance it will interpolate to fill gaps in your DEM but also produce a buffer zone along the outside edge of your elevation source. That keeps ThreeJS from rendering any no data points along the edge as 0. |
In modern versions you can clip the whole scene to a layer's extent. This might fix this, if your layer is rectangular. |
Hi, This is not a NoData problem. Has anyone solved this problem with the new version ? |
The canvas extent is used to generate the surface on which the image is draped. If the DEM does not fill the canvas, the region beyond the DEM is treated as 0. This is a real problem if the DEM is well above sea level, such as this one with minimum elevation 2740M.
Offsetting the elevation (using vertical shift) doesn't help - it just moves the "apron" to negative values.
The solution requires the user to adjust the canvas so that it has the same aspect ratio as the DEM and then to scale the view so the DEM exactly fills the canvas. Setting Vertical shift to auto then gives this:
It would be nice to automatically trim to the DEM extent if it is less than the canvas extent.
The text was updated successfully, but these errors were encountered: