Wednesday 4 September 2019

Four color theorem for QGIS? (4 colour)


I recently looked at some other posts relating to this topic but as far as I can tell there is currently not a working plugin or script for QGIS 2.0 to achieve a four color theorem for styling polygon vector data (it doesn't necessarily have to be 4 colors, just so that each neighboring polygon is a different color, though keeping it at a minimum number of 4-6 colors would be elegant).



Answer



Use the TopoColour plugin, which is already compatible with QGIS 2.x but is not yet available in the official repository:


https://github.com/nyalldawson/topocolour


Download the zip file and unzip it in the QGIS plugin directory:



  • Linux: ~/.qgis2/python/plugins

  • Windows: C:\Users\{username}\.qgis2\python\plugins



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