Is there way to color on the outside of polygons like this? I have tried to use the inverted polygon style in QGIS but it didn't work.

enter image description here

  • 1
    What went wrong ? I think inverted polygon style is definitely the answer to your question ... as Ed mentioned the Mask plugin is using this style to achieve masking (of selected objects) ... – snaileater Sep 13 '17 at 16:27
  • Use the Geometry Checker plugin to check the validity of your polygon's geometry. If the geometry is invalid QGIS doesn't know where the outside of the polygon is. – csk Sep 14 '17 at 16:40
up vote 4 down vote accepted

I am not sure what was going wrong with inverted polygon style, but a here is a polygon sample to show how to do it:

enter image description here

Go to Layer Properties -> Style -> Change Single Symbol to Inverted polygons

enter image description here

Notice I used the same color in your question because you said how to color the outside polygon with this specific color.

Here is the output:

enter image description here

I'm not aware of another stylistic way to achieve that effect (if inverted pgons is not working), however, you could download the 'mask' plugin (https://plugins.qgis.org/plugins/mask/) which will automatically create an exterior mask around a selected polygon. It creates a new memory polygon layer that you can style however you want.

  • Make huge vector polygon over extend and clip two layer – nagib Sep 13 '17 at 17:26
  • That's what the mask plugin does. – Ed Rollason Sep 14 '17 at 9:59

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.