Catalonia: What do Spain's many flags mean?

The independence bid by Catalonia has seen a surge of flags being bought by people by way of showing their political views.

So what are Spain's flags and what do they mean?

28 October 2017