A police officer is walking a dog on a leash near a road.