Monday 23 September 2019

layouts - Selecting different colors for touching polygons in random color ramp in QGIS?


I am making a map of Africa in QGIS. The colors selection is randomly, but I need to make sure there are no two similar colors for polygons that are touching each other lake Egypt and Sudan.


enter image description here


I have tried to change the setting in the color ramp selection, but it did not yield any results. Is there a way to set the setting so there will not be two similar colors one next to each other?



Answer



In qgis 2.99 there is the topological coloring processing tool that give you exactly that (it add a column so after using it you could use your data in earlier version of qgis)


enter image description here



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...