23
votes
Accepted
Hillshading makes crater-like depressions look elevated?
It may surprise you to find that most people likely do perceive your hillshaded DEM as containing depressions, however, this is not an uncommon experience. Here is the reason why. Ever since the ...
20
votes
Accepted
Hillshade results look too grainy
I think you are using Geographic CRS not Projected CRS. Usually this hillshade output is due to you are not using a projected DEM such as UTM projection with a meter unit. You need first to reproject ...
15
votes
Accepted
Remove border lines of SRTM tiles rendered as hillshade
SRTM tiles (3601 px * 3601 px in this case) have 1-pixel overlaps in between. When you apply transparency (or reduced opacity) to your hillshade layer, such overlapping pixels stand out. You may have ...
13
votes
Hillshade shows grid texture artifacts
The problem is because the DTM has a high-resolution pixel size when data (in my opinion) doesn't have the same resolution is some areas.
For example, direct hillshade raster:
Check pixel values (...
12
votes
How can I get a blurred Hillshade effect in QGIS?
You can find Hillshade in menu Raster --> Analysis --> DEM (Terrain models)... or in processing toolbox Hillshade.
Blurry effect can be achieved by changing resample method in Style tab in ...
10
votes
Using processing.runandload in QGIS 3
I think with the new QGIS 3.0, it is much easier to incorporate the input parameters of an algorithm into a dictionary which can then be called using:
processing.runAndLoadResults()
which is the ...
10
votes
Accepted
Blocky SRTM hillshade in QGIS
Your screenshot depicts the classic blocky "herringbone" pattern resulting from applying a Nearest Neighbor resampling to raster elevation data. The solution is to instead apply either a ...
9
votes
Accepted
Using processing.runandload in QGIS 3
I followed @Joseph directions and it helps me to see another visions. I opened processing toolbox in QGIS and complete missing parameters. Here is the last version:
import processing
rasterLyr = ...
9
votes
Accepted
Merging hillshade / DEM data into color relief single geotiff with QGIS and GDAL
gdal_calc.py is a good tool to perform mathematical operations and functions on raster images. The gamma and overlay functions are fairly simple to write and you can string together some temporary ...
8
votes
Accepted
Making elevation contours of raster smoother using QGIS
In my case, I have a DEM with continue values, going from 100 to 103 meters. The spatial resolution is 0.25 x 0.25 degrees, defined in EPSG:4326. The DEM is styled with a discrete color ramp with ...
7
votes
Accepted
How can I get the original DEM from a hillshade raster (GeoTiff)?
There isn't. When one generates a hillshade raster, the height information is transformed into slope information, and that into a hypothetical illumination information. It is meant to mimick how the ...
7
votes
How to create an "arcgis-style" hillshade?
The key to the ESRI hillshade layer is the multidirectional hillshading, according to their blog: https://www.esri.com/arcgis-blog/products/arcgis-living-atlas/mapping/introducing-esris-next-...
7
votes
Accepted
How to colorize QGIS hillshades without including black tones?
You can't directly use the DEM + style options to generate hillshade + custom colour ramp as try to you do.
You need to generate a hillshade raster (use raster tools >hillshade or the processing ...
7
votes
Having layers on top of hillshade in QGIS
Lowering the opacity of your fill colour might be sufficient.
Otherwise, you could try changing the layer blending mode to Overlay.
With this method, you might need to experiment with the colour to ...
6
votes
Accepted
Hillshade not displaying correctly in ArcGIS Pro?
You are probably generating your hillshade from a surface model that is referencing a geographic coordinate reference system like WGS84. Re-project your data into a Cartesian coordinate reference ...
6
votes
Making elevation contours of raster smoother using QGIS
There are several tools that exist in qgis to smooth contour lines as opposed to smoothing the raster itself , including vector->geometry->simplify, the vector geometry tool "smooth", and the GRASS ...
6
votes
How to create an "arcgis-style" hillshade?
I highly recommend the Batch Hillshader plugin for QGIS by PANOImagen (GitHub).
It generates a three light exposure composite using the methodology outlined in this paper:
Ref.: Gantenbein, C. (2012):...
6
votes
Accepted
JPEG compress hillshade
It turns out you cant JPEG compress a raster which has data type Float32.
It is working when I convert it to type Byte with the -ot flag:
gdal_translate -ot Byte -co COMPRESS=JPEG -co TILED=YES /home/...
5
votes
How to create hillshade models every hour for a zone with GDAL
As a guide on how to start:
This is a paper describing the Sun Position Algorithm, and this is a python module implementing the SPA for pretty much everything that you could do with it, including the ...
5
votes
QGIS Hillshade Too Dark
Your resulting images are the typical look of a vastly over-exaggerated Z factor.
Your Z factor is way too high, what you are basically saying is "for 1 horizontal step, take 11000 steps in elevation"...
5
votes
How to create an "arcgis-style" hillshade?
To complete other answers note that most very good hillshade seem to be created using a mix of of GIS and non GIS tool (ie. 3d rendering or image traitement tools) or some "hillshade only" specific ...
4
votes
How to convert 4band RGB/A GeoTiff to 1band Gray GeoTiif?
Given a grayscale conversion algorithm, gdal_calc is able to convert an RGB(A) GeoTIFF to a grayscale one (Credits to Jukka Rahkonen).
For instance:
gdal_calc.py -R input.tif --R_band=1 -G input.tif -...
4
votes
Accepted
Should I use my DEM or ortho file to create my Hillshade layer?
Short answer would be : have a try, you'll see what happen ;)
To be more explicit : you need to understand what is hillshading. Hillshading (as in shade from a hill) is a way to recreate some ...
4
votes
Accepted
How to Save as in 1 GeoTIFF file the hillshade raster and colored raster layer in QGIS 3.4.4?
If your purpose is for visualization as a rendered image, then you can use Export Map to Image from File -> Import/Export -> Export Map to Image
Then, use Calculate from Layer and select the ...
4
votes
Remove border lines of SRTM tiles rendered as hillshade
As described by @Kazuhito, the tiles should be combined into a virtual raster. Their method is performed within QGIS. If you have a large number of tiles you may prefer to do this from the ...
4
votes
Accepted
Hillshade function calculation: ValueError: Received a NULL pointer
The error message that you get indicates that there is something wrong with your input dataset. I think this is because there are formatting and syntax errors in your code. I have edited your script ...
4
votes
Displaying raster layer in QGIS without any formatting
Instead of using Photoshop, you can fix the problem directly on QGIS.
Hillshade rendering (or any other raster rendering) happens individual layer by layer, as each layer know nothing about their ...
4
votes
Digital elevation model versus hillshade for creation of cross-section In ArcMap
If I understand you correctly, the DEM contains the values (elevation) that you want to use to create your cross sectional visualizations to show faults or fractures in the terrain. You may want to ...
4
votes
SRTM hillshade looks weird in QGIS
.hgt SRTM files are in a geographic coordinate system (WGS84 EPSG:4326). Reproject them to an appropriate projected coordinate system that uses metres as the horizontal unit.
Alternatively, if you ...
3
votes
QGIS procedure for Multidirectional, oblique-weighted, shaded-relief?
QGIS3 has a plugin (Batch Hillshader) to generate a three light exposure hillshade. The webpage is here: https://github.com/PANOimagen/batch_hillshader. It's in the official QGIS Plugins Repository.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hillshade × 186qgis × 66
dem × 54
arcgis-desktop × 46
raster × 31
gdal × 30
arcmap × 16
shaded-relief × 14
srtm × 10
slope × 8
gdaldem × 8
grass-gis × 8
r × 7
arcgis-10.2 × 7
qgis-3 × 6
geotiff-tiff × 5
spatial-analyst × 5
python × 4
cartography × 4
lidar × 4
coordinate-system × 3
pyqgis × 3
arcgis-10.0 × 3
arcgis-10.1 × 3
arcgis-pro × 3