Tuesday, 6 November 2018

style - Inverted shading with polygons in QGIS 2.8


Is there a way to modify the style of a poygon .shp file so that everything except the polygon is rendered as shaded?


EDIT: see these images if you have trouble understanding. I am going for the effect in the second image.


inside shading outside shading



Answer



Yes.



You just have to do change the style of the polygon from "Single Symbol" to "Inverted polygons".


Here you can see a polygon with a solid fill using the "single symbol" style. polygon with single symbol solid fill style with a small transparency


The top left of the style tab in the properties window for the polygon layer is where you change it to "inverted polygons". how to change it to inverted polygons stlye in QGIS


Then you can hit OK and see it in the map. polygon displayed in QGIS using the inverted polygons style


It's fun to experiment with other polygon "simple fills" such as shapeburst. an inverted polygons styled polygon using a shapeburst symbol fill in QGIS


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