5

I have 20 lines on one layer, and many of them overlap like a grid.

I have currently used the following:

[%'ROUTE #' || CASE WHEN $id = $atlasfeatureid THEN "Route #" END%]

When I use the atlas function to zoom to a specific line, it will still show the other lines within the zoom extent.

I only want the line that the atlas function is zooming to to be visible, but still allow me to flick through all 20 lines/atlas pages.

Is there any way to do this?

Martin Hügi
  • 3,612
  • 2
  • 22
  • 51
jarks
  • 51
  • 1
  • 4

1 Answers1

3

You can use a Rule-based style with the filter $id = @atlasfeatureid to hide the features that you are not interested in.

enter image description here

Ian Turton
  • 81,417
  • 6
  • 84
  • 185