I am still new to QGIS. I have seen several tutorials but they seem to be concerned with earlier versions.

The problem I have is that my heat map obscured any map beneath. I can see why this is, the places that are distant from points of data are still being rendered with white (or whatever the leftmost colour is on the colour ramp)

What I need to achieve is:

(1) have the geographical map show through under the heat map layer (2) tighten up the heat map "blobs" to look less wishy-washy.

enter image description here

  • For anyone interested I just found one way to do it. Clicking on the colour ramp, then select the colour on the far left. Then alter its opacity bar (the bottoms slider on the right) – LostInSpace Sep 11 '19 at 7:55

It looks like your heatmap is a raster-layer, isn't it (heatmaps can be rendered from point-layers as well)? A more elegant way to achieve transparency here: in the layer properties, go to transparency, select white (or any other background-color) to transparent. Use the add values tool to select the color you want to be transparent directly from the image (or add add values manually). You can add as many colors as you wish to be transparent.

You might want to use layer blending modes (layer properties, symbolisation tab, blending modes) to make your background map to be visible (show through) where your heatmap "peaks" are - try e.g. blending-mode multiply and adjust brightness, saturation, contrast.

| improve this answer | |
  • Babel, I am not entirely sure here if my heat map is a raster layer or not (that's how much of a beginner I am!). It was generated from a layer of CSV values, then by choosing Heatap rather than the default 'Single Symbol'. If a vector heat map were possible, something like a weather map's isobars I would be very interested in that. – LostInSpace Sep 11 '19 at 13:52
  • If you created the heatmap from from CSV values, that means you have a point-layer that has rendering-style "heatmap" - it's thus a vector-layer, not a raster layer, but rendered in a raster-like style. In this case, however, most of my suggestions don't work the same way - transparency-tab e.g. does not exist in the layer properties. You can still set a global layer-transpyrency, use different layer-blending modes etc. Also try different color-ramps and just set transparency manually to the colors you want to suppress (as you suggested) – babel Sep 11 '19 at 14:26
  • Ah I see by selecting DISCRETE rather than continuous for heatmaps does 'isobars'. Good stuff – LostInSpace Sep 11 '19 at 14:27
  • If you want to create a raster-layer heatmap, there are different interpolation tools - check the toolbox for "heatmap" or "interpolation" (algorithms for inverse distance wight, kerndel density estimation etc. – babel Sep 11 '19 at 14:33
  • See also this video for a critical approach to heatmaps: media.ccc.de/v/… – babel Sep 11 '19 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.