I am currently generating an atlas. I have four parts of a map, showed on each page. For the map I have a lot of polygons styled in different colours after category. Now I need to make a rulebased style, so I only get shown the relevant area of the map, on my atlaspage. So I use $id=@atlas_featureid. But when I use this rule, I can't get my categorized colours with me.
What is the right rule/expression to use?
This is my two options - I can't think of anything. Either type ind $id=@atlas_featureid on every label (which does not work) or do something in categorized - where no expressions work.