Sunday, 16 December 2018

cartography - Making bivariate colour ramp with QGIS?


Many recent maps I have seen have these neat two-way color gradients that can be used to color correlations between continuous estimates.


Here is an example is taken from a recent publication.


Christian Levers, Pieter J. Verkerk, Daniel Müller, Peter H. Verburg, Van Butsic, Pedro J. Leitão, Marcus Lindner, Tobias Kuemmerle - Drivers of forest harvesting intensity patterns in Europe. Elsevier. 1 March 2014 (access: http://dx.doi.org/10.1016/j.foreco.2013.12.030).



Example


I believe those gradients have been generated with ArcGIS 10.x and I was wondering how I could reproduce such color gradients with freely available GIS tools (or at least those available on Linux)?


Happy to hear suggestions or code snippets.



Answer



Excellent answer by @Martin but it seems you have 2 attributes you want to have a colour gradient (Plantation Cover and Forest Harvesting Intensity). If I'm mistaken then I will remove this post. You could set up a Rule-based style, create a new rule, edit the symbol layer from a Simple Fill to a Gradient Fill. Create a filter for your attribute column and set your colours. Then repeat by adding another style rule:


Gradiant fill


Rule-based style


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...