Un-select the categories you don't want to see in the Layers panel.
Export image. Repeat for next category.
Or set up an atlas in the print composer, and filter by category.
Use the Minimum bounding geometry
tool to generate a polygon that encloses all points in each category.
Set up an atlas in the print composer using the bounding geometry as the coverage layer.
Return to the map canvas. Open the style settings for the point layer, and change the style from Categorized to Rule-based. The existing categories will be converted into rules-based categories, with rules like "category" = 0
. Change each rule to the equivalent of if("category"=@atlas_pagename ,"category" = 0, null)
. This will display only the points that match the current atlas page. Important: Delete the ELSE
category.
Once you have all your rules set up, preview the atlas in the print composer, and flip through the pages to make sure the correct points display on each page.
- Export the atlas.
Note: these instructions create atlas pages that are centered and zoomed in on the atlas points in each category. If you want pages that are identical in extent, follow these steps to create an atlas layer.
1a. Create a new polygon layer and call it 'atlas_layer'. Add a polygon that covers the entire extent that you want to export in each image.
1b. Copy and paste the extent polygon until you have as many polygons as categories of point.
1c. Add an attribute field to the atlas layer, of the same type as the point categories. Call the field "category" and fill it with the same values as the point categories. Proceed from step 2, using this layer for the atlas.