Monday 25 July 2016

How to make a multi color map with one shapefile layer in QGIS?


I am working with a shapefile layer of the world. All the countries are in the Attribute table each one in a different row. I tried to make each polygon in a different color so the countries will be in a different color, but it did not work.enter image description here


In the Africa map I save each polygon separately and upload into a new QGIS. This method takes a lot of time. What would a better and faster method be?


enter image description here




Answer



You may right-click on the layer in the Layers Panel and go to Properties >> Style dialog.


Then, choose Categorized, set the field that stores the name of the countries and click the Classify button:


enter image description here


Finally, click the Apply button for applying the changes and you will see this:


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