The heavy snow has caused avalanches , trapping many people , including local shepherds and their livestock .