One of the neighbors lets his dog pee on my mailbox post when they do their morning walk. It chaps my behind, but, for me, its really not a fight worth picking. I make do with daydreams involving replacing the plastic mailbox post with a bare and bright metal one that's insulated from the ground. Then a fence charger would be hooked up and the sidewalk wetted with some extra salty salt water to give it a really good ground potential. Bet that's the last mailbox that little so and so would pee on!
The Dude can only abide so much and for so long.
I'm right on the cusp of being one of those "get offa' my lawn" types, but, shoot, dogs will mark every vertical surface they can get to. It just doesn't bother me like the other end of their business.
At the end of the day, let's remember that the animals on a leash are just doing what they're allowed to do. It's the owner that needs the shock, not the dog.