Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I somehow define "transparent" color for values higher than 32000 in raster layer? See the style dialog:

enter image description here

share|improve this question
up vote 2 down vote accepted

You sure can. Double click on that colour icon and set its alpha value

enter image description here

If you would like gradually change it over a range, or fade it in and out, you can use the new alpha colour ramp support

enter image description here

See Alpha in QGIS colour ramps. Oh yeah! for a example. It's simply a matter of defining a new colour ramp but setting which values you want transparent

share|improve this answer
Thanks Nathan! But I am lost in alpha channels, I tried to use them once in GIMP but never understood them, sorry... can you please give me example how to set 100% transparent (invisible) color? – Tomas Jul 20 '13 at 22:29
You just have to set the alpha value to 0 – Nathan W Jul 20 '13 at 22:36
Nathan, I don't have the "alpha channel" field in the dialogue! – Tomas Jul 20 '13 at 22:41
You might need to update your qgis dev version. – Nathan W Jul 20 '13 at 22:53
Nathan, really? I have version 1.9.0-Master, which is quite new - newer than is the one provided normally for new users. What is qgis dev and where can I find its version? I don't see it in Help > About. – Tomas Jul 20 '13 at 23:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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