Voters in Spain's prosperous Catalonia region will be asked to choose in less than a month if they want to secede from Spain.