A study of residents'perceptions and attitudes towards the tourism impact