Catalan has always wanted independance. Remember Andora was a part of Spain once.
But this vote is a bit of a farce. Madrid say it is illegal and have boat loads of police ready to raid every polling station and shut it down. You cant compare it with anything as it is a part of a country that...