I love the multiple options presented here. Is it a specific dog? If yes, does their owner know? If not, talk to the owner, if so, talk to the police - with video of the dogs actions.
Also, check out this thread: Self-defense against a dog, @CoonDockCountry. It may give you additional ideas.