oh? how many of those interactions were you intentionally trespassing with the intent to either capture or kill the dogs owners?
dogs dont know anything about uniforms. they read body language and smell hormones, pheromones, etc. it sounds like you work with dogs, so surely you know it is significantly important to approach unfriendly, angry, or anxious dogs WITHOUT a focused, anxious intent expecting violence - like a cop would, breaking into someone's yard.